kubectl context 정보 가져오기

2025. 2. 22. 14:27k8s

kubectl config get-contexts

# 현재 설정정보 가져오기
kubectl config current-context

# context 변경
kubectl config use-context <context-name>

'k8s' 카테고리의 다른 글

registry 이전  (0) 2025.02.22
kubectl top 명령어 실행하기  (0) 2025.02.22
Worker node가 NotReady인 경우  (0) 2025.02.22
Worker node 생성  (0) 2025.02.22
Master node에 Pod 배포하기  (0) 2025.02.21