Skip to content

Conversation

@AutomationDev85
Copy link
Contributor

Overview

We faced the issue that the base container of a OPD which was stated by the KubernetesPodOperator was OOM killed but the KubeEvent did not show any thing regarding this. We have also the Pod deletion active and so it was hard to find the root cause for this issue. The idea is now to also read the Container states of the Pod and write into the log do have easier debugging possibility.

Details of change:

  • Add function to read the container states and write into the log
  • Execute the function during failure handling

@boring-cyborg boring-cyborg bot added area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels Aug 22, 2025
@AutomationDev85 AutomationDev85 changed the title KubernetesPodOperator logs pod and container state after error occurred [KubernetesPodOperator] logs pod and container state after error occurred Aug 22, 2025
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

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

Nice!

@potiuk potiuk merged commit 11a077f into apache:main Aug 22, 2025
86 checks passed
mangal-vairalkar pushed a commit to mangal-vairalkar/airflow that referenced this pull request Aug 30, 2025
…ed (apache#54828)

Co-authored-by: AutomationDev85 <AutomationDev85>
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.

2 participants