kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod
keyword="Evicted"
namespaces=`kubectl get namespaces | awk '{print $1}' | grep -v NAME`
for namespace in $namespaces
do
echo "cleaning $keyword pod in $namespace"
kubectl delete pod $(kubectl get pods -n $namespace | grep $keyword | awk '{print $1}') -n $namespace
done
k get po --all-namespaces