zl程序教程

您现在的位置是:首页 >  工具

当前栏目

kubectl命令补全出错:kubectl ge-bash: _get_comp_words_by_ref: command not found

命令 not get by found Command Bash 出错
2023-09-11 14:15:39 时间

安装kubernets后,使用source <(kubectl completion bash)报错

kubectl ge-bash: _get_comp_words_by_ref: command not found

解决办法:

# yum install -y bash-completion

# source /usr/share/bash-completion/bash_completion

# source <(kubectl completion bash)

就可以完成补全了。