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 7f697ec + 39efa7b commit 70acc47Copy full SHA for 70acc47
content/en/docs/reference/kubectl/cheatsheet.md
@@ -266,6 +266,7 @@ kubectl expose rc nginx --port=80 --target-port=8000
266
kubectl get pod mypod -o yaml | sed 's/\(image: myimage\):.*$/\1:v4/' | kubectl replace -f -
267
268
kubectl label pods my-pod new-label=awesome # Add a Label
269
+kubectl label pods my-pod new-label- # Remove a label
270
kubectl annotate pods my-pod icon-url=http://goo.gl/XXBTWq # Add an annotation
271
kubectl autoscale deployment foo --min=2 --max=10 # Auto scale a deployment "foo"
272
```
0 commit comments