##执行一下操作
yum -y install bash-completion
source /usr/share/bash-completion/bash_completion
source <(kubectl completion bash)
echo "source <(kubectl completion bash)" >> ~/.bashrc
##测试
标签:completionsource,补全,##,命令,K8s,bash From: https://www.cnblogs.com/xiao--bai/p/16775531.html