Skip to content

Commit 6894174

Browse files
authored
Merge pull request #32012 from bwolmarans/patch-1
--all-namespaces shorthand
2 parents a3660a0 + 2d69c47 commit 6894174

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ complete -F __start_kubectl k
3939
source <(kubectl completion zsh) # setup autocomplete in zsh into the current shell
4040
echo "[[ $commands[kubectl] ]] && source <(kubectl completion zsh)" >> ~/.zshrc # add autocomplete permanently to your zsh shell
4141
```
42+
### A Note on --all-namespaces
43+
44+
Appending `--all-namespaces` happens frequently enough where you should be aware of the shorthand for `--all-namespaces`:
45+
46+
```kubectl -A```
4247

4348
## Kubectl context and configuration
4449

0 commit comments

Comments
 (0)