개발/Kubernetes
kubectl tip
bitofsky
2022. 5. 25. 20:37
alias k=kubectl
source <(k completion bash)
complete -F __start_kubectl k
> k get namespaces
와 같이 단축어와 단축어에서 autocomplete를 쓸 수 있다.