KubernetesCommand
Add a Label
Type this command
kubectl label pods my-pod new-label=awesomeAdds a label to a pod.
The Kubernetes command to add a label is kubectl label pods my-pod new-label=awesome.
kubectl label pods my-pod new-label=awesomekubectl label pods my-pod new-label=awesomeAdds a label to a pod.
Run kubectl label pods my-pod new-label=awesome.
Run kubectl label pods my-pod new-label=awesome.
Type it in the terminal or command-line interface used by Kubernetes.
Yes. The command text is the same on both platforms when the tool is installed.