2 zones Redis-Sentinel configuration operator not set label master #1302
Unanswered
promaszewski
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi in operator v0.19.1. I set redis replication 2 zones confituration. zone 1 - one redis node zone 2 - two redis node
when i cordon kubenode in zone 2 end kill 2 pods redis-replication master and slave. Sentinel failover to zone-1 but operator don't change redis-role label and node-port to master doesn't work
127.0.0.1:26379> sentinel master ZUBD_REDIS
Labels: app=redis-replication │
│ apps.kubernetes.io/pod-index=0 │
│ controller-revision-hash=redis-replication-57cc957c97 │
│ redis-role=slave │
│ redis_setup_type=replication │
│ role=replication │
│ statefulset.kubernetes.io/pod-name=redis-replication-0 │
│ Annotations: argocd.argoproj.io/tracking-id: redis-operator:redis.redis.opstreelabs.in/RedisReplication:redis-operator/redis-replication │
│ cni.projectcalico.org/containerID: 1654beaa1111a3fedeb7c773c99c3b76c4fbbdc76ecb05e7ab33b5b737e0ac41 │
│ cni.projectcalico.org/podIP: 10.42.5.223/32 │
│ cni.projectcalico.org/podIPs: 10.42.5.223/32 │
│ redis.opstreelabs.in: true │
│ redis.opstreelabs.instance: redis-replication │
│ Status: Running │
│ IP: 10.42.5.223
Beta Was this translation helpful? Give feedback.
All reactions