redis-rb icon indicating copy to clipboard operation
redis-rb copied to clipboard

Resolve new sentinels ips if cloud nodes changed

Open OpakAlex opened this issue 1 year ago • 0 comments

Issue: If you use kubernetes redis chart: https://hub.docker.com/r/bitnami/redis/ with sentinels support and Preemptible google cloud nodes, then you will have issue when your nodes recreated, ip address changed, and then your redis connection stop working, also sidekiqs, etc.

Solution: Provide an resolver (lambda function) which can resolve new ip address by host name for sentinels nodes, and reset @sentinels variable for choose connection.

OpakAlex avatar Jul 19 '22 18:07 OpakAlex