Kubernetes 101 : Acquring an "orphan" pod by a replicaSet.
Then we create the pod using the below command:
we also create a replicaSet for two replicas of the "nginx" pods, with the label selector : "app: nginx":
Then we create our replicaSet using the below command:
We can check the state of our replicaSet using the below command:
We can see that our replicaSet has two replicas of a pod.
We check the pods using the below command:
Comments