Skip to content

Instantly share code, notes, and snippets.

@DSchmidtDev
DSchmidtDev / delete-evicted-pods.sh
Created April 27, 2018 10:42
Kubernetes delete evicted/failed pods
kubectl get pods --field-selector=status.phase=Failed -n <namespace> -o name | awk '{print $1}' | xargs kubectl delete