0

In one of the Kubernetes deployment, the promtail runs as side car container and is responsible for watching the application log file on shared (emptyDir) Kubernetes volume. In particular scenario Promtail agent container starts before application container, hence do not find any file at configured path. Hence watcher stops and removes watch target. Is there any configuration available in promtail config to instruct watcher to wait for log files to become available or retry after some time ?

I search Grafana promtail documentation however couldn't find any options.

0 Answers0