Hi Rodrigo. Thanks for answering.

Yes, you're right. I should not talk about the containers but pods.. let me 
give another example to clarify. Suppose we have the following resources:

----------------POD
apiVersion: v1
kind: Pod
metadata:
  labels:
    a: "1"
  name: sample-pod
spec:
  containers:
    - name: sample-test-pod
   ...
-------------RC
apiVersion: v1
kind: ReplicationController
metadata:
  name: sample-rc1
spec:
  replicas: 1
  selector:
    a: "1"
  ...
----------

After creating this two resources we have one single pod (sample-rc1 "adopts" 
existing pod...nice). But, if we create another replication controller with the 
same selector, changing only the rc name (ex. sample-rc2), another pod is 
launched. Didn't expect this second pod instance...

I know my scenario does not make much sense. However, in the tutorial mentioned 
above this happens and it's usage is at least reasonable.

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.

Reply via email to