kubectl补全报错-bash: _get_comp_words_by_ref: command not found 在安装完kubernetes后,发现使用kubectl命令补全报错 -bash: _get_comp_words_by_ref: command not found 解决方法: yum install -y bash-completion source /usr/share/bash-completion/bash_completion 就可以补全