Created
August 15, 2017 08:32
-
-
Save stibi/3297c4ad3f773b63690490a7d6b76ec6 to your computer and use it in GitHub Desktop.
List pods not in "Running" state
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl get pod -o jsonpath='{.items[?(@.status.phase!="Running")].metadata.name}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment