-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Hi guys,
We recently started testing and using the plugin in_kubernetes_events, which is awesome by the way, and given that we were already using fluent-bit in DaemonSet mode to collect the logs from all our Kubernetes nodes, we updated the configuration file to include something like with its own output.
[INPUT]
Name kubernetes_events
Tag kubernetes_events
kube_url https://kubernetes.default.svc
DB /var/log/fluentbit-kubernetes-events.db
interval_sec 5
It worked out-of-the-box, just seen a slightly Pod CPU increase usage, which got us thinking if maybe we should deploy a separate fluent-bit in Deployment mode just for this plugin. Given that we just need one fluent-bit collecting Kubernetes events, it made sense.
The funny think is that we haven't seen event log duplication when using it as a DaemonSet, but we haven't seen either any recommendation in the documentation on how to run this specific plugin, or if there might be side effects if we have many fluent-bits using the in_kubernetes_events plugin.
Any general recommendation on this topic would be highly appreciate it.
Thanks!