参考文档 https://medium.com/@craignewtondev/how-to-fix-kubernetes-namespace-deleting-stuck-in-terminating-state-5ed75792647e
1. 输出要清理的namepsace
kubectl get namespace logging -o json > logging.json
2. 清空finalizers字段
"spec": { "finalizers": [ ] },
3. 替换namespace
kubectl replace --raw "/api/v1/namespaces/<your_namespace_here>/finalize" -f ./logging.json