Difference between revisions of "Kubectl label"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 5: | Line 5: | ||
kubectl label [[namespace]] default [[istio]]-injection=enabled | kubectl label [[namespace]] default [[istio]]-injection=enabled | ||
+ | namespace/default labeled | ||
== Related commands == | == Related commands == |
Revision as of 11:21, 15 May 2020
This article is a Draft. Help us to complete it.
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 commands
kubectl annotate
kubectl get nodes --show-labels
Activities
See also
- Labels (Kubernetes)
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: