bash_completion source <(kubectl completion bash) echo "source <(kubectl completion bash)" >> ~/.bashrc 7 「安装kubernetes-dashboard