Created
October 5, 2019 02:33
-
-
Save zironycho/8c08e1a5d48eabbf4dfd7a33d9604d1f to your computer and use it in GitHub Desktop.
delete evicted pod in kubernetes
This file contains 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 po -A | grep Evicted | awk '{system ("kubectl -n " $1 " delete po " $2)}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment