k8s自动补全功能
k8s命令:kubectl 自动补全功能yum install -y bash-completionsource /usr/share/bash-completion/bash_completionsource <(kubectl completion bash)echo "source <(kubectl completion bash)" >> ~/.bashrc
·
k8s命令:kubectl 自动补全功能
yum install -y bash-completion
source /usr/share/bash-completion/bash_completion
source <(kubectl completion bash)
echo "source <(kubectl completion bash)" >> ~/.bashrc
更多推荐
已为社区贡献6条内容
所有评论(0)