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.
1 parent a0d41b7 commit 49682e9Copy full SHA for 49682e9
content/en/docs/reference/kubectl/cheatsheet.md
@@ -270,6 +270,7 @@ kubectl get pod mypod -o yaml | sed 's/\(image: myimage\):.*$/\1:v4/' | kubectl
270
271
kubectl label pods my-pod new-label=awesome # Add a Label
272
kubectl label pods my-pod new-label- # Remove a label
273
+kubectl label pods my-pod new-label=new-value --overwrite # Overwrite an existing value
274
kubectl annotate pods my-pod icon-url=http://goo.gl/XXBTWq # Add an annotation
275
kubectl autoscale deployment foo --min=2 --max=10 # Auto scale a deployment "foo"
276
```
0 commit comments