Skip to content

Instantly share code, notes, and snippets.

@zparnold
zparnold / one_liner.sh
Last active January 13, 2025 17:40
A simply script to delete all failed pods from Kubernetes
kubectl get pods --all-namespaces | grep Evicted | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod