Created
January 21, 2019 15:04
-
-
Save pcostesi/592cac7e0717f4ffd5e24e1282eef844 to your computer and use it in GitHub Desktop.
Clean up pods
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 pods --field-selector=status.phase!=Running --all-namespaces -o json | kubectl delete -f - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment