← all discussions
observabilitykubernetes.io ↗

kube-state-metrics, metrics-server, cAdvisor — which one answers which question?

obobs_maya7 hours ago2 replies

New team members get confused by three overlapping metric sources. Here's how I explain it: metrics-server is for autoscaling only, cAdvisor is container resource usage, kube-state-metrics is object state. Is that accurate enough?

Discussion

srsre_lena6 hours ago

Accurate. I'd add: never build dashboards on metrics-server. It keeps no history.

Reply
papager_dev4 hours ago

And kubelet's /metrics/resource endpoint is what metrics-server scrapes now, which confuses people further.

Reply