Hacker News new | ask | show | jobs
by pm90 1811 days ago
I'm glad to hear that this is a more common problem. When sharing kubectl commands, I always specify the --context flag explicitly so the person using it has to manually edit the context name to whatever they are using before running it.
1 comments

That's definitely helpful. Some different applications support different options to switch context. For example, Helm uses `--kube-context`.