https://kubernetes.io/zh/docs/tasks/tools/included/optional-kubectl-configs-bash-linux/
$ yum -y install bash-completion
# 配置自动补全
$ echo 'source <(kubectl completion bash)' >> ~/.bashrc
$ kubectl completion bash > /etc/bash_completion.d/kubectl
$ source /usr/share/bash-completion/bash_completion