명령어 | 설명 |
kubectl get pods | 현재 네임스페이스의 pods 리스트 |
kubectl get pods -all-namespaces | 모든 네임스페이드 pods 리스트 |
kubectl get pods -o wide | 현재 네임스페이스의 pods 상세 정보 |
kubectl get -n kube-system pods -a | kube-system 특정 네임스페이스 pods |
kubectl get pod test-pod -o yaml | test-pod의 yaml 출력 |
kubectl describe pod/<pod name> | 특정 pod 상세 정보 |
kubectl get pods --show-labels | 모든 pods의 라벨 정보 리스트 |
kubectl get pods -n <namespace> --watch kubectl get pods -n <namespace> -w |
특정 네임스페이스 pod의 진행 상황을 볼 수 있다. |
[Mac OS/쿠버네티스] 쿠버네티스 초기화 (0) | 2022.03.20 |
---|
댓글 영역