-
Notifications
You must be signed in to change notification settings - Fork 253
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
feature request: Add support for fluent-bit yaml configuration file mode #1008
Comments
@cw-Guo it's good to support the yaml configuration file, are you able to work on this? It'll be great if you can do this |
I will try to figure out how to support two modes at the same time |
That'll be great! |
It has been for a while since my initial feature request. A very simple proposal is as follows. Goal:
I am assuming that the difference between yaml config file and the classic config file is only the config format Implementation we can add a few new functions to generate yaml file when rendering. Some related files are as follows
We just need to create similar functions like the above ones to render the yaml config file. A new variable can be added to And a few more changes are also needed in the parser files
As is stated in the fluentbit official document, parser files are not support in yaml configuration, so that we can just attach the parser files in the classic format and inject it via command line option processors a few processors were added in the latest fluent-bit. @benjaminhuo Can you please review this proposal? |
@wanjunlei @adiforluls @wenchajun @Gentleelephant pls help to review the proposal |
Proposal looks okay to me. An edge case for you when implementing: There's an option to supply raw fluent-bit configuration for plugins that haven't been implemented as a type in the operator. What happens when users select yaml format config but supply custom plugin config in the old format? https://github.com/fluent/fluent-operator/blob/master/docs/best-practice/custom-plugin.md |
Is your feature request related to a problem? Please describe.
do we have a plan to add the operator support for the yaml configuration file mode for fluent bit? it will be nice to resolve back pressure (possibly) if the load is extremely high.
Describe the solution you'd like
Add support for fluent-bit yaml configuration file mode
Additional context
No response
The text was updated successfully, but these errors were encountered: