Check your current namespace:
kubectl set-context development --namespace=testing Need to repoint a context to a different cluster? You can do that without deleting and recreating it. kubectl set-context
Context "staging" modified. Now, any kubectl get pods will automatically show pods in the backend namespace. This is non-destructive; you can always override it with -n frontend when needed. You don't have to be using a context to modify it. To change the default namespace for the development context (even if you are currently in production ): kubectl set-context