kubernetes-app icon indicating copy to clipboard operation
kubernetes-app copied to clipboard

prometheus without kube_* metric

Open gabrielfsousa opened this issue 7 years ago • 5 comments

my prometheus does not have kube_* metric

what prometheus should i install ?

or is the kubernetes version, i have 1.10.5

gabrielfsousa avatar Jun 26 '18 18:06 gabrielfsousa

+1... also having this issue.

spritian avatar Aug 28 '18 07:08 spritian

Same issue with kubernetes 1.11.0

martinpestoni avatar Sep 17 '18 12:09 martinpestoni

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

TimLiu1 avatar May 17 '19 08:05 TimLiu1

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

TimLiu1 avatar May 17 '19 08:05 TimLiu1

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.

andre-lx avatar Oct 14 '19 15:10 andre-lx