Skip to content

Instantly share code, notes, and snippets.

@claudiosteuernagel
Created March 27, 2020 02:40
Show Gist options
  • Save claudiosteuernagel/bf7b3927418fa94bfe542dd34a77c27e to your computer and use it in GitHub Desktop.
Save claudiosteuernagel/bf7b3927418fa94bfe542dd34a77c27e to your computer and use it in GitHub Desktop.
kubectl get pods --all-namespaces | grep Evicted | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment