Kubelet 문제로 Cronjob으로 생성한 Patch-istio-configmap이 엄청나게 많이 생성되고, Terminating되어 있는 상태이다...Kubelet 문제는 해결됐는데 Pod들이 아직도 이 상태로 머물러져있다.
이걸 어떻게 일일히 지우지..? 🤔

다행히 regex를 가지고 모든 파드를 지울 수 있었다.
kubectl get pods -n istio-system --no-headers=true | \
awk '/patch-istio-configmap/{print $1}'| \
xargs kubectl delete -n istio-system pod --grace-period 0 --force
반응형
'Kubernetes' 카테고리의 다른 글
NodeCreationFailure 해결 방법 (0) | 2022.11.22 |
---|---|
K8S Worker Node - Not Ready (0) | 2022.11.21 |
Failed to create pod sandbox: open /run/systemd/resolve/resolv.conf: no such file or directory (0) | 2022.05.24 |
Pod Scheduling에 대해서 알아보자 -2 (taint&toleration, cordon&drain) (0) | 2022.03.03 |
Pod Scheduling에 대해서 알아보자 - 1 [NodeSelector, affinity&antiaffinity] (0) | 2022.03.03 |