kubectl label
Jump to navigation
Jump to search
kubectl label
Update labels on resources (k8.io)
Commands[edit]
kubectl label --help
kubectl label pods my-pod new-label=awesome_label
kubectl label nodes <node-name> <label-key>=<label-value>
kubectl label namespace default istio-injection=enabled
Examples[edit]
kubectl label namespace default istio-injection=enabled namespace/default labeled Related: Install Istio
Errors[edit]
kubectl label error: one or more resources must be specified as <resource> <name> or <resource>/<name>
Related terms[edit]
Activities[edit]
See also[edit]
Advertising: