Comment Comment by oftenwrong That's all fine, but why not use kubectl's excellent tab completion? kubectl delete pod <tab> and it lists the pods.For bash or zsh: source <(kubectl completion $(basename $SHELL)) parent oftenwrong 5 years ago
For bash or zsh: