yum install -y bash-completionsource /usr/share/bash-completion/bash_completionsource <(kubectl completion bash)echo "source <(kubectl completion bash)" >> ~/.bashrc
Kubernetes 命令补全
原文:https://www.cnblogs.com/vincenshen/p/9545201.html