What is the difference between kube-state-metric and metricbeat

Hi Team,

I would like to know the difference between kube-state-metric and metricbeat.

I have EFK stack installed in k8s cluster. I would like to get metrics from containers, pod, cpu usage.

Which tools is suggested for my requirement?

Thanks,
Kasim Shaik

Hi @kasim123!

kube-state-metrics is a project under Kubernetes umbrella and provides cluster wide metrics over http APIs. Metricbeat can work together with kube-state-metrics in order to collect these metrics and ship them to Elasticsearch.

Having said these, I would point you to running-metricbeat-on-kubernetes and metricbeat-module-kubernetes.

With these you will be able to monitor metrics from containers, pod, cpu usage etc

C.

Thanks for the reply. I already deployed metricbeat using helm chart. Where should I change to enable kubernetes metrics?

Thanks,
Kasim Shaik

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.