echo "source <(kubectl completion bash)" >> ~/.bashrc 顺便也把linux bash 命令行也进行补全了 yum install -y bash-completion
echo "source <(kubectl completion bash)" >> ~/.bashrc 顺便也把linux bash 命令行也进行补全了 yum install -y bash-completion