Metrics-server: Differences between metrics-server repo and kube-state-metrics repo

Created on 2 May 2018  路  2Comments  路  Source: kubernetes-sigs/metrics-server

Maybe it's a stupid question but... what is the difference between this repo and kubernetes/kube-state-metrics (https://github.com/kubernetes/kube-state-metrics/) repo?

Most helpful comment

kube-state-metrics focuses on

...on the health of the various objects inside, such as deployments, nodes and pods.

metrics-server on the other hand implements the Resource Metrics API

To summarize in a sentence: kube-state-metrics exposes metrics for all sorts of Kubernetes objects. metrics-server only exposes very few metrics to Kubernetes itself (not scrapable directly with Prometheus), like node & pod utilization.

All 2 comments

kube-state-metrics focuses on

...on the health of the various objects inside, such as deployments, nodes and pods.

metrics-server on the other hand implements the Resource Metrics API

To summarize in a sentence: kube-state-metrics exposes metrics for all sorts of Kubernetes objects. metrics-server only exposes very few metrics to Kubernetes itself (not scrapable directly with Prometheus), like node & pod utilization.

Nice, thank you very much!
I was confused because kube-state-metrics name is similar to metrics-server,
Also, the metrics functionality look similar from my side... haha

Now I understand it perfectly!

Was this page helpful?
0 / 5 - 0 ratings