Kubernetes Daemonset's mounted volumes show no logs/not collecting data

4/4/2018

Context:

  1. We have multiple applications running on k8 cluster. (1.7.12-gke.1 master version)
  2. Of which some important application dockers say app1, app2,. are storing some important logs at /home/services/<application_name>/logs/
  3. We are have Elastic Search - Fluentd - Kibana setup with Daemonset config collecting STDOUT and STDERR logs from the default example at EFK stack gitrepo.

Issue:

I have tried to mount /home/services in my daemonset pods and added a custom fluentd config using configMaps. I can see that /home/services/app1, /home/services/app2 folders are getting created but no log files are see in daemonset pods.

I have openresty nginx as one of those app's, which generating logs but I can't see in Kibana.

Please help !!

One related document I found - did not help me much. * https://medium.com/@joatmon08/application-logging-in-kubernetes-with-fluentd-4556f1573672

-- Sampath
fluentd
google-kubernetes-engine
kubernetes
logging
openresty

0 Answers