请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

helm安装prometheus之后

kubectl get all -o wide -n monitoring 查看状态
图片描述
图片描述
kubectl describe pod alertmanager-biquan-prometheus-promethe-alertmanager-0 -n monitoring 看不到这个pod的明显错误
图片描述

kubectl describe pod prometheus-biquan-prometheus-promethe-prometheus-0 -n monitoring其中有以下错误
图片描述

alertmanager和prometheus 的2个statefulset 状态也没有ready,describe里面也没有看到具体的错误信息,老师救命啊

正在回答 回答被采纳积分+3

2回答

提问者 慕标5630044 2019-12-07 18:14:27

已解决,发现之前用rancher部署了prometheus,后来停止rancher里的prometheus服务后,遗留了一个prometheus-operator的pod,删除整个rancher创建的prometheus命名空间就好了

0 回复 有任何疑惑可以回复我~
提问者 慕标5630044 2019-12-04 19:59:59

使用helm delete biquan-prometheus  删除所有插件时报了一些错


Error: deletion completed with 31 error(s): release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete; release "biquan-prometheus": object "" not found, skipping delete

上面图示中那几个not ready状态的资源都没有删除

0 回复 有任何疑惑可以回复我~
  • 使用git.imooc.com里提供的prometheus的chart试试。
    删除加上--purge ,实在不行手动删除一下
    回复 有任何疑惑可以回复我~ 2019-12-05 08:43:40
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信