fabric8io / fluent-plugin-kubernetes_metadata_filter

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

fix #310. Handle case where there is no container_status #311

Closed jcantrill closed 2 years ago

jcantrill commented 2 years ago

This issue fixes #310 by handling the case where returned pod meta does not include container_status or other bit. (e.g. pod initializing)

@juliantaylor Care to review?

cc @alanconway @vimalk78

juliantaylor commented 2 years ago

tested patch with in the same tests from the issue (new pods, pending pods), no warnings and the metadata is filled correctly for running pods.