Hacker News new | ask | show | jobs
by xnxn 2291 days ago
The parent comment is saying you can use `kubectl exec -it deploy/something` instead, and it will pick a pod for you. That landed in 1.15, IIRC.
2 comments

Ah, interesting. Unfortunately it works poorly with tab completion (i.e., not at all), so you still have to type the entire name of your deployment, even if there's only one in the context's namespace.
wait that's amazing -- have been waiting for this for years