Skip to content

Conversation

@fdemiane
Copy link
Contributor

The KubernetesPodOperator is duplicating logs when they are interrupted. When calling _client.read_namespaced_pod_log, we were passing an outdated since_seconds: we were not using the latest captured timestamp when computing since_seconds.

closes: #33498

@boring-cyborg boring-cyborg bot added area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels Aug 18, 2023
@eladkal
Copy link
Contributor

eladkal commented Aug 21, 2023

@fdemiane is it ready for review?

@fdemiane fdemiane marked this pull request as ready for review August 22, 2023 11:54
@fdemiane
Copy link
Contributor Author

@fdemiane is it ready for review?

@eladkal Yes, I just converted it from a draft PR, thanks.

Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks pretty good +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

KubernetesPodOperator duplicating logs when they are being interrupted

5 participants