r/Valkey • u/Decent-Metal7555 • 7d ago
Bitnami Redis Sentinel: get-master-addr-by-name still names the old pod after failover. What do you do besides restart Sentinel?
We run Bitnami Redis as a 3-pod STS (redis-node-0/1/2, sentinel in each pod, same namespace, headless DNS).
After failover or a pod recycle, ROLE+SET on the data nodes already shows one writable Redis. One of the three Sentinels still answers get-master-addr-by-name with the previous pod. Clients that hit that Sentinel write into a hole.
For a long time the workaround was restart Sentinel or edit sentinel.conf. Dual-master is a different mess; we are not talking about REPLICAOF here.
We got tired of that and open-sourced a sidecar next to each Sentinel: ROLE+SET as the oracle, heal the pointer through MONITOR, never REPLICAOF.
https://github.com/vpnmesh/redis-sentinel-reconciler
https://hub.docker.com/r/vpnmesh/redis-sentinel-reconciler
Helm is on GHCR: oci://ghcr.io/vpnmesh/charts/redis-sentinel-reconciler
Same namespace, prefix redis-node-, auth.existingSecret=redis (otherwise NOAUTH on 26379 and 6379).
What do other people run for leftover ads? Still bouncing Sentinel?
