# Metricbeat missing kubernetes pods metrics

**URL:** https://discuss.elastic.co/t/metricbeat-missing-kubernetes-pods-metrics/205417
**Category:** Beats
**Tags:** metricbeat
**Created:** [October 28, 2019, 8:05am UTC](https://discuss.elastic.co/t/metricbeat-missing-kubernetes-pods-metrics/205417 "2019-10-28T08:05:54Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Ivan\_Martos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ivan_martos/32/52690_2.png) [@Ivan\_Martos](https://discuss.elastic.co/u/Ivan_Martos)
#### Post date: [October 28, 2019, 8:05am UTC](https://discuss.elastic.co/t/metricbeat-missing-kubernetes-pods-metrics/205417/1 "2019-10-28T08:05:54Z")

</div>

Hey guys  
I need a bit of help with Metricbeat. I have Kubernetes (1.14) running in AWS EKS.  
Inside Kibana I can see metrics of Hosts, but when I switch to Kubernetes view, I can see all the pods, but no metrics for the pods. Values of all the metrics are 0.

My kube-state-metric is applied from [https://github.com/kubernetes/kube-state-metrics/tree/master/examples/standard](https://github.com/kubernetes/kube-state-metrics/tree/master/examples/standard)

---

<div class="post-metadata">

### Author: ![Ivan\_Martos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ivan_martos/32/52690_2.png) [@Ivan\_Martos](https://discuss.elastic.co/u/Ivan_Martos)
#### Post date: [October 28, 2019, 8:09am UTC](https://discuss.elastic.co/t/metricbeat-missing-kubernetes-pods-metrics/205417/2 "2019-10-28T08:09:48Z")

</div>

Here is the config of metricbeat  
[https://pastebin.com/3UMvVeEZ](https://pastebin.com/3UMvVeEZ)

Here are some of the most recent logs of metricbeat  
[https://pastebin.com/j1DtzHHS](https://pastebin.com/j1DtzHHS)

Here are the kube-state-metrics logs  
[https://pastebin.com/eUJiYt62](https://pastebin.com/eUJiYt62)

---

<div class="post-metadata">

### Author: ![Ivan\_Martos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ivan_martos/32/52690_2.png) [@Ivan\_Martos](https://discuss.elastic.co/u/Ivan_Martos)
#### Post date: [October 29, 2019, 11:13am UTC](https://discuss.elastic.co/t/metricbeat-missing-kubernetes-pods-metrics/205417/3 "2019-10-29T11:13:23Z")

</div>

I found the issue - AWS EKS does not have the port 10255 by default enabled

The documentation of Metricbeat should change, cause this port is recommended to use and it won't work for EKS

> <https://github.com/awslabs/amazon-eks-ami/issues/128>
>
> What happened:
> I have an EKS 1.10 cluster with worker nodes running 1.10.3 and everything is great. I decided to create a...

---

<div class="post-metadata">

### Author: ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)
#### Post date: [October 29, 2019, 11:22am UTC](https://discuss.elastic.co/t/metricbeat-missing-kubernetes-pods-metrics/205417/4 "2019-10-29T11:22:09Z")

</div>

Hi @Ivan_Martos 🙂

Thank you for posting the solution. We'll take a look at the docs 🙂

---

<div class="post-metadata">

### Author: ![Ivan\_Martos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ivan_martos/32/52690_2.png) [@Ivan\_Martos](https://discuss.elastic.co/u/Ivan_Martos)
#### Post date: [October 29, 2019, 11:24am UTC](https://discuss.elastic.co/t/metricbeat-missing-kubernetes-pods-metrics/205417/5 "2019-10-29T11:24:27Z")

</div>

cool. Can you pls ping me when the doc will be updated?  
thanks a lot

---

<div class="post-metadata">

### Author: ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)
#### Post date: [October 29, 2019, 11:31am UTC](https://discuss.elastic.co/t/metricbeat-missing-kubernetes-pods-metrics/205417/6 "2019-10-29T11:31:01Z")

</div>

Actually, I was wondering if EKS exposes the secure kubelet port at 10250?, if so I think you can grab the credentials that EKS sets up and configure that endpoint

---

<div class="post-metadata">

### Author: ![Matt\_Blair](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matt_blair/32/45160_2.png) [@Matt\_Blair](https://discuss.elastic.co/u/Matt_Blair)
#### Post date: [November 4, 2019, 8:29am UTC](https://discuss.elastic.co/t/metricbeat-missing-kubernetes-pods-metrics/205417/7 "2019-11-04T08:29:15Z")

</div>

Sorry if I missed something here. But it seems to me that the solution is prometheus specific. The solution is to enable https for the prometheus-operator. I am pretty confused what to do in this situation?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 2, 2019, 8:29am UTC](https://discuss.elastic.co/t/metricbeat-missing-kubernetes-pods-metrics/205417/8 "2019-12-02T08:29:31Z")

</div>

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