Skip to content

Instantly share code, notes, and snippets.

@zironycho
Created October 5, 2019 02:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zironycho/8c08e1a5d48eabbf4dfd7a33d9604d1f to your computer and use it in GitHub Desktop.
Save zironycho/8c08e1a5d48eabbf4dfd7a33d9604d1f to your computer and use it in GitHub Desktop.
delete evicted pod in kubernetes
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