Hi all. According this tutorial (https://github.com/kubernetes/examples/tree/master/staging/storage/redis), replication controllers will "adopt" existing pods whose labels match the replication controller selector labels. The "adoption" is only used to count existing PODs. If it's required to launch a new POD, replication controller pod template will me used. (at least it's my interpretation).
However there's a behavior that's odd. If we create: 1. A pod P1 with two containers C1 and C2: labels: X=1, Y=2 2. A replication controller RC1 that controls the number of C1 replicas, with selector: X=1, replicas:1 3. A replication controller RC2 that controls the number of C2 replicas, with selector: Y=1, replicas:1 At the end we end up with P1 (contains one C1 and one C2) An extra container C2. (I didn't expected this container!) If we switch the order of step 2 and 3 above, we'll end up with an extra C1. Is this behavior correct? Am I missing something? Thanks for any help. Rui -- 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 kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.