Question
Change the label for one of the pod to env=uat and list all the pods to verify
Answer
Change:
Update pod nginx-dev3 with the label env and the value uat, overwriting any existing value:
kubectl label pod/nginx-dev3 env=uat --overwrite
Verify:
kubectl get pods --show-labels