On Wednesday, August 2, 2017, <rgoncal...@gmail.com> wrote: > 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,
No, a replication controller will control the number of pods, not containers in a pod or something. As also, labels are per pod, not containers. Does it make sense now? :) -- 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.