列出所有不在运行中的 Pod
集群出问题时快速找出 Pending、Failed 等异常的 Pod;已完成的 Job(Succeeded)也会列出
kubectl get pods -A --field-selector=status.phase!=Running集群出问题时快速找出 Pending、Failed 等异常的 Pod;已完成的 Job(Succeeded)也会列出
kubectl get pods -A --field-selector=status.phase!=Running