k8s 命令自动补全

yum install -y bash-completion
source /usr/share/bash-completion/bash_completion
source <(kubectl completion bash)
echo "source <(kubectl completion bash)" >> ~/.bashrc

posted on 2019-10-14 14:04  studyphp  阅读(2842)  评论(0编辑  收藏  举报

导航