fluent-operator icon indicating copy to clipboard operation
fluent-operator copied to clipboard

help request: Can you please help us enabling fluent-watcher for fluent-bit

Open btalakola opened this issue 11 months ago • 3 comments

Describe the issue

HI Team, Deployed fluent-bit using fluent-operator. But if there are any configurational changes, just fluent-bit-config secret is getting updated but those changes are not effective unless we manually restarted fluent-bit pods. Tried adding hotReload flag in ClusterFluentBit customresource. It is not working. Can you please help us how to enable/configure fluent-watcher for fluent-bit?

Also one more concern, if we restart the fluent-bit daemonset using "kubectl rollout restart daemonsets fluent-bit -n , it is not actually restarting all the replicas. It is just restarting only one replica. Can you please confirm is this expected behaviour?

How did you install fluent operator?

No response

Additional context

No response

btalakola avatar Feb 22 '25 15:02 btalakola

What fluent-bit image are you using?

Regarding the DaemomSet issue -- please see your other issue which already has a reply: https://github.com/fluent/fluent-operator/issues/1479

joshuabaird avatar Feb 23 '25 18:02 joshuabaird

I deployed fluent-bit using fluent-operator with latest version v3.2.0. It internally used fluent-bit version 3.1.7 image: repository: "ghcr.io/fluent/fluent-operator/fluent-bit" tag: "3.1.7"

Thanks, Bharathi.

btalakola avatar Feb 24 '25 08:02 btalakola

@joshuabaird could you please help me out using fluent-watcher? I tried using it from the below configuration which seems to be not working.

Fluent-watcher

command: ["/fluent-bit/bin/fluent-bit-watcher"]
# custom command line arguments.
args:
- "-c=/fluent-bit/etc/fluent-bit.conf"
- "-watch-path=/fluent-bit/etc"

Is there anything that I am missing?

btalakola avatar Mar 17 '25 15:03 btalakola