-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Update to Kubernetes 1.7.2 and fluent-bit 0.12.0 - Certificate validation error #367
Comments
It's related to filter_kubernetes where it requires valid certificates when connecting to the API server. We just got a PR with an enhancement where it makes this validation optional, it's coming as part of 0.12.1 release. |
FYI: 0.12.1 is already available: http://fluentbit.io/announcements/v0.12.1/ to get rid of the TLS cert problem you can specify tls.verify off in your Kubernetes filter. |
Awesome. Will check Monday! |
@DonMartin76 did |
Haven't gotten around to testing it yet :-( Will come back with info soon. |
@edsiper Thanks for the fix, I tested it and it works, the error is no longer reproducible with 0.12.1 and |
2/3 confirmations so closing this issue as fixed. If you face any problem again please comment it out so we can reopen it. |
[error] [io_tls] flb_io_tls.c:305 X509 - Certificate verification failed, e.g. CRL, CA or signature check my versrion is 0.14.0 |
@edsiper I ran into the same issue with v1.0.5 after a bit of digging I figured out the default kubernetes config linked in the docs don't make sense. |
Hi,
We updated our Kubernetes cluster to 1.7.2 recently (running via Rancher 1.6.6), and needed to do some adaptions for fluent-bit to discover the logs, and during that we also updated fluent-bit to version 0.12.0. This caused the following error in the fluent-bit logs:
This seems to be related to your updating
mbedtls
from 2.4.2 to 2.5.1 for release 0.12.0, but I can unfortunately not tell whether this is something which should render an error, or if it's something that is not a problem usually. I will also not rule out that it's Rancher related, and/or that the Rancher certificates are not correctly created when the cluster was initially set up. On different cluster (one provisioned from scratch usingacs-engine
on Azure), the issue did not occur.The issue occurs when fluent-bit tries to access the Kubernetes API. Reverting fluent-bit to 0.11.17 resolves the issue, it starts to work again, and logs are yet again forwarded.
Any ideas? Is an option to ignore certificate validation errors an option?
Best regards,
Martin
The text was updated successfully, but these errors were encountered: