【发布时间】:2018-06-29 00:46:19
【问题描述】:
所以当我在 kubernetes 上部署 prometheus 时,我有 3 个名称空间,我在日志中看到了错误。它无法监控所有的命名空间。
错误:
\"system:serviceaccount:development:default\" cannot list endpoints at the cluster scope"
level=error ts=2018-06-28T21:22:07.390161824Z caller=main.go:216 component=k8s_client_runtime err="github.com/prometheus/prometheus/discovery/kubernetes/kubernetes.go:268: Failed to list *v1.Endpoints: endpoints is forbidden: User \"system:serviceaccount:devops:default\" cannot list endpoints at the cluster scope"
【问题讨论】:
标签: kubernetes prometheus