Cloud/Kubernetes

Kubernetes Pod 위치 조회

퐁스 2019. 10. 17. 10:22
kubectl get pod -o wide

이게 기본형

kubectl get pod -n [namespace] -o=custom-columns=NAME:.metadata.name,STATUS:.status.phase,NODE:.spec.nodeName

이렇게 하면 조금 더 간략하게 보는거 able