kubernetes自动补全
作者:
文茶君 | 来源:发表于
2022-01-03 21:51 被阅读0次root@i-f1or71kf:~# apt-get install bash-completion
Reading package lists... Done
Building dependency tree
Reading state information... Done
bash-completion is already the newest version (1:2.8-1ubuntu1).
bash-completion set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
root@i-f1or71kf:~#source /usr/share/bash-completion/bash_completion
root@i-f1or71kf:~# source <(kubectl completion bash)
root@i-f1or71kf:~# echo "source <(kubectl completion bash)" >> ~/.bashrc
本文标题:kubernetes自动补全
本文链接:https://www.haomeiwen.com/subject/znjfcrtx.html
网友评论