3 ms·
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
by pm90 5y 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.
- icythere 5y agoThat's definitely helpful. Some different applications support different options to switch context. For example, Helm uses `--kube-context`.