Skip to content
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

Certificate error occurred while collecting kubernetes_events logs in Fluent Bit. #9922

Open
pandihao opened this issue Feb 6, 2025 · 0 comments

Comments

@pandihao
Copy link

pandihao commented Feb 6, 2025

Bug Report

Describe the bug

Certificate error occurred while collecting kubernetes_events logs in Fluent Bit.

To Reproduce

  1. Error log is as follows:

[2025/01/03 09:21:33] [error] [input:kubernetes_events:kubernetes_events.1] upstream connection initialization error
[2025/01/03 09:21:33] [error] [tls] certificate verification failed, reason: self-signed certificate (X509 code: 18)

  • Steps to reproduce the problem:

Expected behavior

  1. Fluent Bit is installed using Helm, and the content of the values.yaml file is as follows.

  inputs: |

    [INPUT]
        Name            kubernetes_events
        Tag             k8s_event
        kube_url        https://kubernetes.default.svc

Your Environment


kubernetes version:  Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.14", 
Linux version: centos7.9
fluent-bit appVersion :3.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant