Kubectl: Context !new!
kubectl config set-context <context-name> --cluster=<cluster-name> --user=<user-name> --namespace=<namespace>
You’ve been looking at the development cluster the whole time, not staging. The pods in dev are fine because no one’s using them for real testing. Staging is on fire, but you’ve been staring at the wrong fireplace. kubectl context
Now you see crashing pods. You check logs. You find the bug. Alex thanks you. You finish your coffee — still warm enough. kubectl config set-context <
To switch between contexts, use the kubectl config use-context command: use the kubectl config use-context command: