kubectl label nodes code example
Example 1: kubectl to show label of pod
kubectl get pods --show-labels
Example 2: kubectl to show label of pod
kubectl label pods labelex owner=michael
kubectl get pods --show-labels
kubectl label pods labelex owner=michael