pod一直处于 “Terminating” 状态, 无法删除;
[root@master k8s-prometheus-grafana]# kubectl get pod -n kube-system|grep Terminating
prometheus-69ff5c684c-nwm9f 0/1 Terminating 0 23h
强制删除pod
[root@master k8s-prometheus-grafana]# kubectl delete pod prometheus-69ff5c684c-nwm9f --force --grace-period=0 -n kube-system
warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
pod "prometheus-69ff5c684c-nwm9f" deleted