Add_kubernetes_metadata without access to docker mountPaths?

It's my first time trying to use the add_kubernetes_metadata processor to include pod labels. Based on some examples I've seen, it looks like it's a requirement to mount e.g. /var/lib/docker/containers via the mountPath volume directive.
My issue is that I'm on a shared kubernetes cluster, and it appears I'm prohibited from using mountPath in my cluster. I want to make sure I'm barking up the right tree here though...

Can someone confirm if it is indeed required to mount one or more host docker paths to be able to forward pod metadata in a kubernetes cluster.? To clarify, I'm using filebeat when run as a pod in kubernetes. Thanks.

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