kubectl 설정 정보를 조회
kubectl config view
context (cluster) list
kubectl config get-contexts kubectl config current-context kubectl config use-context my-cluster-name
change namespace
kubectl config set-context --current --namespace=<namespace>
How to switch namespace in kubernetes
Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question. Provide details and share your research! Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our tips on writing great answers.
https://stackoverflow.com/questions/55373686/how-to-switch-namespace-in-kubernetes

Seonglae Cho