# Filebeat as DaemonSet in k8s cluser

**URL:** https://discuss.elastic.co/t/filebeat-as-daemonset-in-k8s-cluser/295821
**Category:** Beats
**Tags:** filebeat
**Created:** [January 31, 2022, 10:39am UTC](https://discuss.elastic.co/t/filebeat-as-daemonset-in-k8s-cluser/295821 "2022-01-31T10:39:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![morb](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@morb](https://discuss.elastic.co/u/morb)
#### Post date: [January 31, 2022, 10:39am UTC](https://discuss.elastic.co/t/filebeat-as-daemonset-in-k8s-cluser/295821/1 "2022-01-31T10:39:39Z")

</div>

Hi  
So I'm using helm to deploy filebeat on k8s cluster.  
I using bitami helm chart  
daemonset:

# Annotations to apply to the daemonset

annotations: {}

# additionals labels

labels: {}  
affinity: {}

# Include the daemonset

enabled: true

# Extra environment variables for Filebeat container.

envFrom:

# - configMapRef:

# name: config-secret

extraEnvs:

# - name: MY\_ENVIRONMENT\_VAR

# value: the\_value\_goes\_here

extraVolumes:  
  
# - name: extras  
# emptyDir: {}  
extraVolumeMounts:  
  
# - name: extras  
# mountPath: /usr/share/extras  
# readOnly: true  
hostNetworking: false

# Allows you to add any config files in /usr/share/filebeat

# such as filebeat.yml for daemonset

When I install it in the cluster there is only pods in the same namespaces and nodes  
How I can deploy it in all nodes and namespaces ?

---

<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: [February 28, 2022, 12:40pm UTC](https://discuss.elastic.co/t/filebeat-as-daemonset-in-k8s-cluser/295821/2 "2022-02-28T12:40:10Z")

</div>

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