Migrate from grafana fluent-bit-plugin-loki to official fluent-bit #3435
Labels
kind:dependencies
Pull requests that update a dependency file
state:blocked
Something prevents this from being worked on
Component:
'logging'
Why this is needed:
Grafana helm chart for fluent-bit-plugin-loki get deprecated as fluent-bit now has a loki output plugin built-in
What should be done:
Migrate to the fluent-bit helm chart from fluent repo (https://github.com/fluent/helm-charts/tree/main/charts/fluent-bit) and use the fluent fluent-bit image instead of fluent-bit-plugin-loki from grafana
Implementation proposal (strongly recommended):
Implementation started on this branch https://github.com/scality/metalk8s/compare/improvement/bump-fluentbit
But it's stuck as it does not work as-is, fluent-bit get stuck and send nothing to Loki until we restart fluent-bit pods.
Not 100% sure but it seems to be linked to the fact that Loki is not available when fluent-bit get deployed initially, it seems to be related to fluent/fluent-bit#3328.
It may need some more investigation or to wait for a new fluent-bit version that may fix the issue we face here.
From fluent-bit logs, we have some logs talking about Loki output and then ... nothing, it's stuck and we have no log at all in Loki
If we restart fluent-bit pods then Logs start being sent to Loki
The text was updated successfully, but these errors were encountered: