Deletar evicted pods
kubectl get pods -n NAMESPACE | grep Evicted | awk '{print $1}' | xargs kubectl delete pod -n NAMESPACE
ou
kgp | grep Evicted | awk '{print $1}' | xargs kubectl delete pod
Deletar pods em crash
kubectl delete pod -n NAMESPACE `kubectl get pods -n NAMESPACE | awk '$3 == "CrashLoopBackOff" {print $1}'`