How to switch to another namespace? In other words how to change active namespace?
Answer
kubectl config set-context --current --namespace=some-namespace and validate with kubectl config view --minify | grep namespace:
OR
kubens some-namespace
kubectl config set-context --current --namespace=some-namespace and validate with kubectl config view --minify | grep namespace:
OR
kubens some-namespace