kubectl cheatsheet (OSX/Mac)
These k8s/helm/OSX install notes are reproduced from Rick Hightower profile with permission of Rick Hightower.
Shell completion is a must while you are learning Kubernetes.
kubectl: shell completion
Shell Autocompletion set up guide
In 2019, Apple announced that macOS Catalina would now use Zsh (Z Shell) as the default shell, replacing bash. The zsh extends Bourne shell has improvements with features of Bash, ksh, and tcsh.
Add autoload -Uz compinit; compinit; source <(kubectl completion zsh)
to .zshrc
if you are using bash still follow the instructions at shell Autocompletion set up guide just use the bash tab on that web page.