[k8s]tab 补全

k8s命令补全

yum install -y bash-*
\cp /etc/profile /etc/profile.bak
sed -i '2a source <(kubectl completion bash)' /etc/profile
source /etc/profile

END

posted @ 2020-08-11 23:11  LeoShi2020  阅读(337)  评论(0编辑  收藏  举报