## ReplicaSet 03 - Solution 1. Create a ReplicaSet with 2 replicas. Make sure the label used for the selector and in the Pods is "type=web" ``` cat >> rs.yaml < running_pods.txt ``` 4. Remove the label (type=web) from one of the Pods created by the ReplicaSet ``` kubectl label pod type- ``` 5. List the Pods running. Are there more Pods running after removing the label? Why? ``` Yes, there is an additional Pod running because once the label (used as a matching selector) was removed, the Pod became independant meaning, it's not controlled by the ReplicaSet anymore and the ReplicaSet was missing replicas based on its definition so, it created a new Pod. ``` 6. Verify the ReplicaSet indeed created a new Pod ``` kubectl describe rs web ```