for i in `kubectl get pod -A | grep Evicted | cut -f1 -d' '|uniq` do kubectl get pod -n $i | grep Evicted | awk '{print $1}' | xargs kubectl delete pod -n $i done