kubernetes auto complete code example
Example: kubernetes auto complete
kubectl completion bash > ~/kubectl-completion.bash
# Add to ~/.bashrc
source ~/kubectl-completion.bash
# If on Windows 10 also add
alias kubectl='kubectl.exe'
kubectl completion bash > ~/kubectl-completion.bash
# Add to ~/.bashrc
source ~/kubectl-completion.bash
# If on Windows 10 also add
alias kubectl='kubectl.exe'