Hi team, Does fluentbit support `hot loading` the ...
# fluent-bit
y
Hi team, Does fluentbit support
hot loading
the configuration files? For example, if I modified the
Port
value in outputs.conf as below, will fluentbit auto detect the change, or will it take effect until the service is restarted?
Copy code
[OUTPUT]
        Name          http
        Match         *
        Host          10.85.37.241
        Port          9000 <======
h
if you are deploying on Kube, there is a reloader container that detects the config change then it sends a signal to reload the Flb service .. so using a different port than default does not impact it
p
Helm charts can just use the checksum annotation to do this as well, no need for reloader. That's not a hot reload though in either case, it starts a new container for the new config.
Hot reload is supported if you check the docs
🙏 1
y
looked into the doc, the reloading seems to involve some manual work using curl. Is there an automatic way to do this?
To clarify my testing scenario, I am running Fluent Bit on a Kubernetes cluster and looking for a way to automatically restart the Fluent Bit pod after its configuration is changed. If fluent bit can auto reload the configuration change without restart, that will be even better
p
The helm chart already supports it, you can look at that if you want
There's reloader too
y
thanks, Pat, that's awesome