k8s命令自动补齐
yum install bash-completion -y
source /usr/share/bash-completion/bash_completion
source <(kubectl completion bash)
kubectl completion bash >/etc/bash_completion.d/kubectl
文章来源:https://www.cnaaa.net,转载请注明出处:https://www.cnaaa.net/archives/6939