grafana / kubernetes-app

A set of dashboards and panels for kubernetes.
https://grafana.com/plugins/grafana-kubernetes-app
Apache License 2.0
401 stars 149 forks source link

prometheus without kube_* metric #32

Open gabrielfsousa opened 6 years ago

gabrielfsousa commented 6 years ago

my prometheus does not have kube_* metric

what prometheus should i install ?

or is the kubernetes version, i have 1.10.5

spritian commented 5 years ago

+1... also having this issue.

martinpestoni commented 5 years ago

Same issue with kubernetes 1.11.0

TimLiu1 commented 5 years ago

the same to me, how to resolve it, very very need help

TimLiu1 commented 5 years ago

help...help...help...help

andre-lx commented 4 years ago

I got the same issue.

In my case, this was related to the permissions of the kube-state-metrics and the kubernetes itself.

You can check this repository that contains all the configurations, and files to get the pluggin up and running: https://github.com/andre-lx/grafana-prometheus-exporters

At the time, I think that the issue was related to the clusterole, in order to have access to kubernetes: https://github.com/andre-lx/grafana-prometheus-exporters/blob/master/manifests_monprivate/prometheus/kube-state-metrics/rbac.yaml

This file, was copied from the kube-state-metrics repository, and include all the metrics, so please be careful before use it.