Posts

Showing posts with the label kubectl

KB:Kubectl Cheatsheet

 https://kubernetes.io/docs/reference/kubectl/quick-reference/ 06/05/2025 kubectl Quick Reference This page contains a list of commonly used  kubectl  commands and flags. Note: These instructions are for Kubernetes v1.33. To check the version, use the  kubectl version  command. Kubectl autocomplete BASH source < ( kubectl completion bash ) # set up autocomplete in bash into the current shell, bash-completion package should be installed first. echo "source <(kubectl completion bash)" >> ~/.bashrc # add autocomplete permanently to your bash shell. You can also use a shorthand alias for  kubectl  that also works with completion: alias k = kubectl complete -o default -F __start_kubectl k ZSH source < ( kubectl completion zsh ) # set up autocomplete in zsh into the current shell echo '[[ $commands[kubectl] ]] && source <(kubectl completion zsh)' >> ~/.zshrc # add autocomplete permanently to your zsh shell FISH ...