Skip to content

Commit 686eefe

Browse files
authored
Merge pull request #40447 from Tariqs/patch-2
Add cheat sheet entry: remove annotation from pod
2 parents f3771f8 + 7c707e9 commit 686eefe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/en/docs/reference/kubectl/cheatsheet.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ kubectl get pod mypod -o yaml | sed 's/\(image: myimage\):.*$/\1:v4/' | kubectl
271271
kubectl label pods my-pod new-label=awesome # Add a Label
272272
kubectl label pods my-pod new-label- # Remove a label
273273
kubectl annotate pods my-pod icon-url=http://goo.gl/XXBTWq # Add an annotation
274+
kubectl annotate pods my-pod icon- # Remove annotation
274275
kubectl autoscale deployment foo --min=2 --max=10 # Auto scale a deployment "foo"
275276
```
276277

0 commit comments

Comments
 (0)