美文网首页
Kubernetes kubectl自动补全配置

Kubernetes kubectl自动补全配置

作者: 极简架构 | 来源:发表于2024-01-22 17:44 被阅读0次
# kubectl自动补全
source <(kubectl completion bash) # set up autocomplete in bash into the current shell, bash-completion package should be installed first.
echo "source <(kubectl completion bash)" >> ~/.bashrc # add autocomplete permanently to your bash shell.

https://kubernetes.io/docs/reference/kubectl/cheatsheet/

相关文章

网友评论

      本文标题:Kubernetes kubectl自动补全配置

      本文链接:https://www.haomeiwen.com/subject/fdoyodtx.html