Kubernetes 命令补全

yum install -y bash-completion
source /usr/share/bash-completion/bash_completion
source <(kubectl completion bash)
echo "source <(kubectl completion bash)" >> ~/.bashrc
posted @ 2018-08-27 22:22  Vincen_shen  阅读(689)  评论(0编辑  收藏  举报