If you look at the redis-master.yaml, there's a pod with the following labels:
redis-controller.yaml describes a replication controller with selector:
redis-sentinel-controller.yaml describes a replication controller with
Both replication controller selectors will match the first POD labels. Unless
I'm misunderstanding something, here we have two replication controllers
fighting for the same pod. This "arrangement" is convenient for setting up a
redis cluster, because initially we have to set one redis instance as master
explicitly. After that the cluster will take care of electing a new master if
You received this message because you are subscribed to the Google Groups
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.