Skip to content

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

New issue

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

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

Already on GitHub? Sign in to your account

Open
btalakola opened this issue Feb 22, 2025 · 3 comments

Comments

@btalakola
Copy link
Contributor

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

@joshuabaird
Copy link
Collaborator

What fluent-bit image are you using?

Regarding the DaemomSet issue -- please see your other issue which already has a reply: #1479

@btalakola
Copy link
Contributor Author

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
Copy link
Contributor Author

@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?

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

No branches or pull requests

2 participants