Kubernetes 清除持续 Terminating 状态的Pods
强制删除所有Pods -- 谨慎使用
kubectl get pods -n ava-job | grep Error | awk '{print$1}'| xargs kubectl delete -n ava-job pods --grace-period=0 --force
强制删除所有Pods -- 谨慎使用
kubectl get pods -n ava-job | grep Error | awk '{print$1}'| xargs kubectl delete -n ava-job pods --grace-period=0 --force
It's not who you are underneath, it's what you do that defines you
Brick walls are there for a reason :they let us prove how badly we want things