kubectl label

From wikieduonline
Revision as of 06:26, 16 March 2023 by Newworld3 (talk | contribs)
Jump to navigation Jump to search

kubectl label Update labels on resources (k8.io)

kubectl label --help
kubectl label pods my-pod new-label=awesome_label 
kubectl label nodes <node-name> <label-key>=<label-value>
kubectl label
error: one or more resources must be specified as <resource> <name> or <resource>/<name>
kubectl label namespace default istio-injection=enabled
namespace/default labeled
Related: Install Istio

Related terms

Activities

See also

Advertising: