请稍等 ...
×

采纳答案成功!

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

prometheus 监控 kube-controller-manager 失败

老师好:
prometheus 监控 kube-controller-manager 失败,具体信息如下,麻烦老师帮忙分析一下,谢谢
1:prometheus 的Targets面板 kube-controller-manager显示error:
server returned HTTP status 403 Forbidden
图片描述2: kube-controller-manager 日志错误如下
E0623 05:00:59.765767 29872 resource_quota_controller.go:437] failed to sync resource monitors: [couldn’t start monitor for resource “crd.projectcalico.org/v1, Resource=networkpolicies”: unable to monitor quota for resource “crd.projectcalico.org/v1, Resource=networkpolicies”, couldn’t start monitor for resource “extensions/v1beta1, Resource=networkpolicies”: unable to monitor quota for resource “extensions/v1beta1, Resource=networkpolicies”, couldn’t start monitor for resource “monitoring.coreos.com/v1, Resource=prometheuses”: unable to monitor quota for resource “monitoring.coreos.com/v1, Resource=prometheuses”, couldn’t start monitor for resource “monitoring.coreos.com/v1, Resource=servicemonitors”: unable to monitor quota for resource “monitoring.coreos.com/v1, Resource=servicemonitors”, couldn’t start monitor for resource “monitoring.coreos.com/v1, Resource=alertmanagers”: unable to monitor quota for resource “monitoring.coreos.com/v1, Resource=alertmanagers”, couldn’t start monitor for resource “monitoring.coreos.com/v1, Resource=prometheusrules”: unable to monitor quota for resource “monitoring.coreos.com/v1, Resource=prometheusrules”]

正在回答

1回答

刘果国 2019-06-23 08:24:55

建议改成http吧,两个地方,kube-controller-manager.service和prometheus里面的配置。

0 回复 有任何疑惑可以回复我~
  • 提问者 慕盖茨2208877 #1
    已改为http解决此问题
    回复 有任何疑惑可以回复我~ 2019-06-23 16:45:28
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信