Texonom
Texonom
/
Engineering
Engineering
/Hardware Engineering/Computer/Operating System/UNIX/Unix-like/Linux/Linux Strcutre/Linux Process/Linux Container/Container Orchestration/Kubernetes/Kubernetes CLI/kubectl/
kubectl config
Search

kubectl config

Creator
Creator
Seonglae Cho
Created
Created
2020 Jun 3 9:33
Editor
Editor
Seonglae Cho
Edited
Edited
2023 Nov 6 11:21
Refs
Refs
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.
How to switch namespace in kubernetes
https://stackoverflow.com/questions/55373686/how-to-switch-namespace-in-kubernetes
How to switch namespace in kubernetes
 
 
 

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Hardware Engineering/Computer/Operating System/UNIX/Unix-like/Linux/Linux Strcutre/Linux Process/Linux Container/Container Orchestration/Kubernetes/Kubernetes CLI/kubectl/
kubectl config
Copyright Seonglae Cho