Bạn xoá mãi mà pod vẫn Terminating
https://stackoverflow.com/questions/35453792/pods-stuck-in-terminating-status
1 | kubectl delete pod <PODNAME> --grace-period=0 --force --namespace <NAMESPACE> |
01 | kubectl get all -n kubecost |
02 | NAME READY STATUS RESTARTS AGE |
03 | pod/kubecost-cost-analyzer-7dffb5d5bc-ndptf 0/3 Terminating 0 6d17h |
04 | pod/kubecost-cost-analyzer-bd4f46559-s6f2d 3/3 Running 0 22h |
05 | pod/kubecost-grafana-7cf6f7bc85-m67tp 3/3 Running 0 22h |
06 | pod/kubecost-kube-state-metrics-99bb8c55b-ctl8w 1/1 Running 0 22h |
07 | pod/kubecost-prometheus-server-5cd576bbf7-4blpz 2/2 Running 0 22h |
08 | pod/kubecost-prometheus-server-c8cd6c64f-rwx6z 0/2 Terminating 0 6d17h |
09 |
10 | kubectl delete pod/kubecost-prometheus-server-c8cd6c64f-rwx6z --grace-period=0 --force --namespace kubecost |