Question

DigitalOcean Advanced Metrics - missing "StatefulSet pods" graph

I followed the instructions at https://docs.digitalocean.com/products/kubernetes/how-to/monitor-advanced/ and I have kube-state-metrics running successfully in my cluster. On the insights page I now see two new graphs, “Pod deployments” and “DaemonSet deployment status”. However, the third graph promised by the instructions “StatefulSet pods” is missing.

When I locally run kubectl port-forward -n kube-system svc/kube-state-metrics 8080 and then access http://localhost:8080/metrics, I do see lines such as kube_statefulset_replicas{namespace="myapp",statefulset="myapp-redis-statefulset"} 1 and kube_statefulset_status_replicas_ready{namespace="myapp",statefulset="myapp-redis-statefulset"} 1 – so I believe the data is being collected and reported by kube-state-metrics. It’s just not showing up as a graph in the DigitalOcean Insights tab. Any idea where this graph might be? Thanks for your help.

(I am using image k8s.gcr.io/kube-state-metrics/kube-state-metrics:v2.4.1 for kube-state-metrics.)


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up