I've been playing with redis GUIs. I've managed to spin up a web-app called Redis-Commander on K8s. I use an init-container to run a script and inject a connection config file(json) into a specified directory via volumes so that it loads the redis instances automatically on launching the app.
I was also looking at another app called RedisInsight. The docs say you can add databases programmatically using their REST API. Been told I can use a sidecar to achieve this but I'm not sure how to go about it. How would you use the sidecar to achieve this? Is there a better method?
URL : /api/instance/ Method : POST Body Type: JSON Auth required : NO