# Filebeat: daemonset mounting /var/lib/kubelet/pods not seeing new pvc data

**URL:** <https://discuss.elastic.co/t/filebeat-daemonset-mounting-var-lib-kubelet-pods-not-seeing-new-pvc-data/220244>\
**Category:** Beats\
**Created:** [February 20, 2020, 5:59pm UTC](https://discuss.elastic.co/t/filebeat-daemonset-mounting-var-lib-kubelet-pods-not-seeing-new-pvc-data/220244 "2020-02-20T17:59:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patrick\_Lieberg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_lieberg/32/63060_2.png) [@Patrick\_Lieberg](https://discuss.elastic.co/u/Patrick_Lieberg)\
**Post date:** [February 20, 2020, 5:59pm UTC](https://discuss.elastic.co/t/filebeat-daemonset-mounting-var-lib-kubelet-pods-not-seeing-new-pvc-data/220244/1 "2020-02-20T17:59:23Z")

</div>

We have a filebeat daemonset in our kubernetes cluster and we have mount the /var/lib/kubelet/pods hostpath from the host node so we can collect log data stored on pvc's. When a new application pod comes online and a new pvc is attached to that pod, the pvc directory is visible in /var/lib/kubelet/pods on the filebeat daemonset pod on the applicable node, however, the data on that pvc is not visible. If we delete that pod and allow a new one to spin up in its place, the data is now visible.

Any easier way to make this data visible to the filebeat pod?

---

<div class="post-metadata">

**Author:** ![Patrick\_Lieberg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_lieberg/32/63060_2.png) [@Patrick\_Lieberg](https://discuss.elastic.co/u/Patrick_Lieberg)\
**Post date:** [February 23, 2020, 9:35pm UTC](https://discuss.elastic.co/t/filebeat-daemonset-mounting-var-lib-kubelet-pods-not-seeing-new-pvc-data/220244/2 "2020-02-23T21:35:49Z")

</div>

Bump

---

<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 22, 2020, 11:35pm UTC](https://discuss.elastic.co/t/filebeat-daemonset-mounting-var-lib-kubelet-pods-not-seeing-new-pvc-data/220244/3 "2020-03-22T23:35:53Z")

</div>

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