Skip to content

Conversation

@AutomationDev85
Copy link
Contributor

Overview

During working with the KubernetesPodOperator we are missing the feature that the operator pushes xcom result also in the failed case.
Example_
If a Pod failed because of a business level issue but created xcom output, we would like to analyze the xcom output by a downstream task to report reason for failed business level issue.
So to enable these use case we would like to enable the KubernetesPodOperator with pushing the xcom also in the failed use case.

Details of change:

  • Cleanup function push XCOM_RETURN_KEY also in failed state of the pod.

@boring-cyborg boring-cyborg bot added area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels Jun 6, 2025
Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

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

I think this is good to merge. But I leave it un-merged for somebody else if there are other opinions.

@jscheffl jscheffl merged commit 1260d4c into apache:main Jun 10, 2025
77 checks passed
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.

3 participants