fabric8io / fluent-plugin-kubernetes_metadata_filter

Enrich your fluentd events with Kubernetes metadata
Apache License 2.0
350 stars 166 forks source link

[info]: [filter_kube_metadata] Exception encountered parsing namespace watch event. The connection might have been closed. Sleeping for 1 seconds and resetting the namespace watcher.error reading from socket: Connection reset by peer #351

Closed jeffreyrubi closed 1 year ago

jeffreyrubi commented 2 years ago

Version: [v1.15-debian-azureblob-1]

The filter starts throwing this Exception Info recently. I've checked the ClusterRole and ClusterRoleBinding. Confirmed that the fluentd has been granted action to namespaces and pods.

Need advice how this can be fixed?

jcantrill commented 2 years ago

This appears maybe its an issue related to these configuration parameters: https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter/blob/master/lib/fluent/plugin/filter_kubernetes_metadata.rb#L53-L54 introduced as part of https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter/pull/350

jcantrill commented 1 year ago

Closing due to age. Please reopen as needed