kubernetes 명령어 모음
AWS 2022. 2. 6. 02:02

Pod 현재 네임스페이스의 pods 리스트 kubectl get pods 모든 네임스페이드 대상 pods 리스트 kubectl get pods --all-namespaces 현재 네임스페이스와 상세 정보 kubectl get pods -o wide kube-system 네임스페이스 pods kubectl get -n kube-system pods -a my-pod 대상 yaml 출력 kubectl get pod my-pod -o yaml pod 상세 정보 kubectl describe pod/ ex) kubectl describe pod/weave-net-2hn7s -n kube-system List all pods with labels kubectl get pods --show-labels List r..