Skip to content

Make fluentbit livenessProbe more flexible #1628

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

Merged
merged 1 commit into from
Jun 5, 2025

Conversation

CharlieR-o-o-t
Copy link
Contributor

We still encounter hangs during logs reopen (on rotation), fluent reloads. Seems that it's related to issue: fluent/fluent-bit#5485

What we can do quick - is to analyze metrics of fluent (fluentbit_input_records_total) in livenessProbes and trigger pod restart if no logs on input during some time specified.

I want to be able to use not only http probe, but any definition possible for livenessProbe.

PR does not have breaking changes, yaml will be generated the same as in previous version.

@cw-Guo cw-Guo merged commit 94c0582 into fluent:master Jun 5, 2025
4 checks passed
@cw-Guo
Copy link
Collaborator

cw-Guo commented Jun 5, 2025

Thanks for contribution! @CharlieR-o-o-t

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

Successfully merging this pull request may close these issues.

2 participants