容器查看非running状态pod

kubectl get pods -A --field-selector status.phase!=Running
kubectl get pods -A --field-selector=status.phase=Running
kubectl get pods -A --field-selector=status.phase=Error
kubectl get pods -A --field-selector=status.phase=Completed

posted @ 2026-02-13 15:22  MYQF晓星尘  阅读(2)  评论(0)    收藏  举报