You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
I tried Kubernetes Cluster Monitoring but the prometheus dashboard http://localhost:9090/targets didn't
shown any data.
Checking the prometheus logs with kubectl logs prometheus-prometheus-0 prometheus -n monitoring shows a lot of erros like
level=error ts=2018-10-17T14:04:45.759210034Z caller=main.go:212 component=k8s_client_runtime err="github.com/prometheus/prometheus/discovery/kubernetes/kubernetes.go:178: Failed to list *v1.Service: services is forbidden: User \"system:serviceaccount:monitoring:prometheus-operator\" cannot list services in the namespace \"kube-system\""
level=error ts=2018-10-17T14:04:45.761409432Z caller=main.go:212 component=k8s_client_runtime err="github.com/prometheus/prometheus/discovery/kubernetes/kubernetes.go:177: Failed to list *v1.Endpoints: endpoints is forbidden: User \"system:serviceaccount:monitoring:prometheus-operator\" cannot list endpoints in the namespace \"kube-system\""
Looks like some verbs have to be added to the ClusterRole prometheus-operator.
Anyone with the same error?
The text was updated successfully, but these errors were encountered:
I tried Kubernetes Cluster Monitoring but the prometheus dashboard http://localhost:9090/targets didn't
shown any data.
Checking the prometheus logs with
kubectl logs prometheus-prometheus-0 prometheus -n monitoring
shows a lot of erros likeLooks like some verbs have to be added to the ClusterRole prometheus-operator.
Anyone with the same error?
The text was updated successfully, but these errors were encountered: