xxxxxxxxxx
kubectl get pod -n namespace | grep Evicted | awk '{print $1}' | xargs kubectl delete pod -n namespace
xxxxxxxxxx
kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod
xxxxxxxxxx
kubectl get pod -n studytonight |grepEvicted |awk'{print $1}'|xargskubectl delete pod -n studytonight