Kubernetes kubectl自动补全配置
2024-01-22 本文已影响0人
极简架构
# kubectl自动补全
source <(kubectl completion bash) # set up autocomplete in bash into the current shell, bash-completion package should be installed first.
echo "source <(kubectl completion bash)" >> ~/.bashrc # add autocomplete permanently to your bash shell.