Skip to content

Instantly share code, notes, and snippets.

@zparnold
zparnold / one_liner.sh
Last active June 21, 2025 06:24
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