We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e98eec1 + 49682e9 commit 91afacfCopy full SHA for 91afacf
content/en/docs/reference/kubectl/cheatsheet.md
@@ -273,6 +273,7 @@ kubectl get pod mypod -o yaml | sed 's/\(image: myimage\):.*$/\1:v4/' | kubectl
273
274
kubectl label pods my-pod new-label=awesome # Add a Label
275
kubectl label pods my-pod new-label- # Remove a label
276
+kubectl label pods my-pod new-label=new-value --overwrite # Overwrite an existing value
277
kubectl annotate pods my-pod icon-url=http://goo.gl/XXBTWq # Add an annotation
278
kubectl annotate pods my-pod icon- # Remove annotation
279
kubectl autoscale deployment foo --min=2 --max=10 # Auto scale a deployment "foo"
0 commit comments