Beats can loose events when using kubernetes autodiscovery #17246
Labels
autodiscovery
containers
Related to containers use case
Team:Platforms
Label for the Integrations - Platforms team
OnUpdate() in kubernetes autodiscovery provider uses the ObjectMeta.DeletionTimestamp to determine if a stop event should be emitted. ObjectMeta.DeletionTimestamp is only present for deleted pods and when a pod runs to completion (eg. pods generated by conjobs), OnUpdate() will treat it as an update (stop/start) and emit a pod stop event disrespecting the CleanupTimeout and leading to early termination of running beats.
Fixed on #17223
/cc @blakerouse @exekias
The text was updated successfully, but these errors were encountered: