1. 下载 bash-completion安装包 yum install bash-completion -y 2.导入安装包 source <(kubectl completion bash) 3.敲命令 按tab自动带出命令