Closed smallc2009 closed 5 months ago
We can see the Kubernetes Events messages in Standout and ElasticSearch respectively.
Stdout
Elasticsearch
We can see the Kubernetes Events messages in Standout and ElasticSearch respectively.
Great, thanks @smallc2009
What this PR does / why we need it:
This PR is to support Fluent Bit Kubernetes Event Input Plugin and allow to retrieve these events as logs. Doc: https://docs.fluentbit.io/manual/pipeline/inputs/kubernetes-events
Which issue(s) this PR fixes:
Fixes #1001
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.:
To use
kubernetes_events
input plugin, list permission is required to retrieve the events from API server. Therefore the ClusterRole has been updated. User need to addrbacRules
in FluentBit configuration to grant the Fluent Bit ServiceAccount the ability to list Kubernetes events.Below is an example configuration.