Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to reload fluent-bit.conf in running docker container. #4456

Closed
mahima145 opened this issue Dec 14, 2021 · 2 comments
Closed

Unable to reload fluent-bit.conf in running docker container. #4456

mahima145 opened this issue Dec 14, 2021 · 2 comments

Comments

@mahima145
Copy link

mahima145 commented Dec 14, 2021

Fluent-bit.conf file is updated dynamically every time the docker service should read it.
Isn't? Is it configuration issue?

Please help me this.

@mahima145 mahima145 changed the title Unable to reload fluent-bit.conf in running docker container. Fluent-bit.conf file is updating everytime the docker service should read it. Isn't? Is it configuration issue? Unable to reload fluent-bit.conf in running docker container. Dec 14, 2021
@patrick-stephens
Copy link
Contributor

No, it is not reloaded dynamically - Fluent Bit has to be restarted to pick up config changes.

There are options, e.g. provide a watcher entrypoint that launches Fluent Bit and watches for changes to the config then restarts Fluent Bit. This is what the Fluent operator image does for example: https://github.com/fluent/fluentbit-operator

@patrick-stephens
Copy link
Contributor

See #365 for the enhancement request and associated discussion.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants