kubernetes auto complete

Shell
kubectl completion bash > ~/kubectl-completion.bash

# Add to ~/.bashrc
source ~/kubectl-completion.bash
# If on Windows 10 also add
alias kubectl='kubectl.exe'
Source

Also in Shell: