본문 바로가기

Cloud/Kubernetes

Evicted난 Pod 한번에 지우기

kubectl get pods -A | grep Evicted | awk '{print $1" "$2}' | xargs kubectl delete pods -n