Kubernetes example not working

Hey,

if I try the standard Kubernetes example of filebeats,
I get this error:

Error: failed to prepare subPath for volumeMount "config" of container "filebeat"

Does anyone have a solution to this problem?
Thank you!

filebeat: 6.2.4
Kubernets: v1.9.3

Hi @Jonas_Scherer,

I think you are hitting a bug in Kubernetes that popped up recently, more details here: https://github.com/kubernetes/kubernetes/issues/61076.

They suggest to mount the full configmap and then take the file from there. Upgrading to 1.9.5 should fix the issue too

Best regards

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