# MetricBeat - Kubernetes Daemonset

**URL:** https://discuss.elastic.co/t/metricbeat-kubernetes-daemonset/168625
**Category:** Elasticsearch
**Created:** [February 15, 2019, 5:44pm UTC](https://discuss.elastic.co/t/metricbeat-kubernetes-daemonset/168625 "2019-02-15T17:44:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Antony\_A](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@Antony\_A](https://discuss.elastic.co/u/Antony_A)
#### Post date: [February 15, 2019, 5:44pm UTC](https://discuss.elastic.co/t/metricbeat-kubernetes-daemonset/168625/1 "2019-02-15T17:44:54Z")

</div>

Hi,

I am relative new to elastic metricbeat. I have deployed the configmap for module and config with the metricbeat daemonset.

On the configmap\_module, I am trying to point to the localhost kubelet. Unfortunately I do not see any metrics on kibana for kubernetes pods. Any pointers on what I am missing?

Here is the yml.  
apiVersion: v1  
kind: ConfigMap  
metadata:  
name: metricbeat-daemonset-modules  
namespace: kube-system  
labels:  
k8s-app: metricbeat  
data:  
system.yml: |-  
- module: system  
period: 10s  
metricsets:  
- cpu  
- load  
- memory  
- network  
- process  
- process\_summary  
#- core  
#- diskio  
#- socket  
processes: ['.\*']  
process.include\_top\_n:  
by\_cpu: 5 # include top 5 processes by CPU  
by\_memory: 5 # include top 5 processes by memory

```
- module: system
  period: 1m
  metricsets:
    - filesystem
    - fsstat
  processors:
  - drop_event.when.regexp:
      system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)'

```

kubernetes.yml: |-  
- module: kubernetes  
metricsets:  
- node  
- system  
- pod  
- container  
- volume  
period: 10s  
host: ${NODE\_NAME}  
hosts: ["[https://localhost:10250](https://localhost:10250)"]  
#ssl.certificate\_authorities:  
# - /var/run/secrets/kubernetes.io/serviceaccount/ca.crt  
#ssl.certificate: /etc/kubernetes/pki/apiserver-kubelet-client.crt  
#ssl.key: /etc/kubernetes/pki/apiserver-kubelet-client.key

Thanks,  
Antony

---

<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: [March 15, 2019, 5:45pm UTC](https://discuss.elastic.co/t/metricbeat-kubernetes-daemonset/168625/2 "2019-03-15T17:45:01Z")

</div>

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