老师好:
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”]