I have configured redis-master/slave/sentinel using redis-ha and I would like to know how to access all the masters by querying the sentinel from client.
The following are my master-slaves-sentinel pods -
NAME READY STATUS RESTARTS AGE
my-redis-ha-server-0 2/2 Running 0 17m
my-redis-ha-server-1 2/2 Running 0 17m
my-redis-ha-server-2 2/2 Running 0 17m
I am successfully able to login to each of the pods and issue redis-cli cmds. However my requirement is obviously not to connect to individual pods but to get a list of all the masters from sentinels to which I can connect to. I do get the following cluster address to connect to but that is not working for some reason -
my-redis-ha.default.svc.cluster.local
Please help as I am new to helm charts.