Kubectl Change Context • Works 100%
So if you find yourself constantly typing -n my-namespace after every command, bake it into the context itself.
The terminal blinks. Then it whispers back: "deployment.apps/payment-gateway created." kubectl change context
kubectl config use-context <context-name> For example: So if you find yourself constantly typing -n