diff --git a/content/en/docs/reference/kubectl/cheatsheet.md b/content/en/docs/reference/kubectl/cheatsheet.md index 3eaeb17ca9..319cd216f4 100644 --- a/content/en/docs/reference/kubectl/cheatsheet.md +++ b/content/en/docs/reference/kubectl/cheatsheet.md @@ -39,6 +39,11 @@ complete -F __start_kubectl k source <(kubectl completion zsh) # setup autocomplete in zsh into the current shell echo "[[ $commands[kubectl] ]] && source <(kubectl completion zsh)" >> ~/.zshrc # add autocomplete permanently to your zsh shell ``` +### A Note on --all-namespaces + +Appending `--all-namespaces` happens frequently enough where you should be aware of the shorthand for `--all-namespaces`: + +```kubectl -A``` ## Kubectl context and configuration