kube-stat-metrics is not working when only master node is running in a cluster

2/20/2020

I am monitoring Kubernetes cluster ( which is deployed using kubeadm ) with grafana and Prometheus.

I am facing some difficulty with kube-state-metrics that is when I up the only master node then I am seeing kube-state-metrics down in Prometheus targets but when I up the one node then kube-state-metrics is up in Prometheus target.

Another interesting part here is when I up only master node I see one kube-state-meterics pod is up and running in kube-system namespace but I am unable to access the metrics.

Am I missing anything in understanding kube-state-metrics?

Please help me out.

-- user8142010
grafana
kube-state-metrics
kubernetes
prometheus

0 Answers