Skip to content

bug: Configuring fluent-watcher #1503

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 Mar 17, 2025 · 1 comment
Open

bug: Configuring fluent-watcher #1503

btalakola opened this issue Mar 17, 2025 · 1 comment

Comments

@btalakola
Copy link
Contributor

Describe the issue

HI Team, I deployed fluent-bit using fluent operator v3.3.0. In case of any configuration change, the changes are not effective unless if we restart the fluent-bit pods manually. Tried using fluent-watcher with the below changes in values.yaml.

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

With these chagnes, the configurational changes are not effective unless with a manual restart. Can you please let me know if I am missing anything?

To Reproduce

Incorporated fluent-watcher with the below changes:

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"

The configurational changes should be effective without a manual restart of fluent-bit pods.

Expected behavior

The configurational changes should be effective without a manual restart of fluent-bit pods with fluent-watcher

Your Environment

- Fluent Operator version: v3.3.0 on a k8s cluster.

How did you install fluent operator?

No response

Additional context

No response

@cw-Guo
Copy link
Collaborator

cw-Guo commented Mar 18, 2025

from my understanding, you don't need to configure command and args, the fluent-bit-watcher will automatically enable the file watcher feature.

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