-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fluent-bit 3.0.7 breaks kubernetes filter when using tls.verify and Use_Kubelet #8959
Comments
We see the same issue and disabling |
This is also an issue with the "forward" output plugin. We are sending data from application hosts using fluent-bit to a cluster of servers running fluent-bit which we have called "aggregators" - which are used to apply some logic to the logs and ship them on to OpenSearch. In v3.0.7, the tls.verify breaks. Configuration[SERVICE] [INPUT] [OUTPUT] Logsfluent-bit[375133]: [2024/06/18 06:20:02] [error] [tls] error: unexpected EOF with reason: certificate verify failed Host and package infouname -a apt show fluent-bit apt show ca-certificates v3.0.6 works as expected. |
Bug Report
Describe the bug
If kubernetes filter is configured with tls.verify and Use_Kubelet is used, the requests to the k8s API will succeed but the requests to the node's kubelet will fail with tls errors.
To Reproduce
Use the kubernetes filter and enable
Use_Kubelet
Expected behavior
kubernetes filter works as before
Your Environment
Additional context
What seems to be happening is that the connection to the kubelet is using the address 127.0.0.1 and that address is not included in the kubelet's cert.
Disabling
tls.verify
solves the problem, but then the requests that go to the k8s api are not verified anymore.The text was updated successfully, but these errors were encountered: