Hi, i have been tried deploy redis HA in kubernetes environment like this:
But for sentinel Node we use services so application client connect to service name
These are Pod of redis
These are Services of redis
We use redis-sentinel-app service for connect to redis POD (Master and Slave)
We already refer to this link https://github.com/ServiceStack/ServiceStack.Redis#read-only-clients to use method GetClient for write operation and GetReadOnlyClient for read operation
then we try check server role using method GetServerRole for make sure we use correct role.
But why the log always show server role as master when use GetReadOnlyClient() method.
Is there something wrong with what we did?
We use ServiceStack.Redis.Core version 5.12.0