Created
March 21, 2019 17:09
-
-
Save jwkicklighter/ef3ee8328c985380c77f03e59f45a04b to your computer and use it in GitHub Desktop.
Delete evicted kubernetes pods #k8s
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 --all-namespaces --field-selector 'status.phase==Failed' -o json | kubectl delete -f - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment