You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "wolvery (via GitHub)" <gi...@apache.org> on 2025/05/29 21:49:56 UTC

[D] AirflowFailException in KubernetesPodOperator [airflow]

GitHub user wolvery created a discussion: AirflowFailException in KubernetesPodOperator

Hello,
I have a question related to the Airflow Kubernetes Pod Operator:
How can I implement a solution to handle task failures?
I’m thinking of something similar to the AirflowFailException used in the PythonOperator, which would allow me to skip retries depending on the exception raised.

GitHub link: https://github.com/apache/airflow/discussions/51224

----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org


Re: [D] AirflowFailException in KubernetesPodOperator [airflow]

Posted by "wolvery (via GitHub)" <gi...@apache.org>.
GitHub user wolvery added a comment to the discussion: AirflowFailException in KubernetesPodOperator

Hey, for anyone looking for something similar, you can use skip_on_exit_code:
https://github.com/apache/airflow/pull/33702

GitHub link: https://github.com/apache/airflow/discussions/51224#discussioncomment-13322042

----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org