Chris McLennon created AIRFLOW-4861:
---------------------------------------
Summary: KubernetesPodOperator to print pod event logs when
reaching a completion state
Key: AIRFLOW-4861
URL: https://issues.apache.org/jira/browse/AIRFLOW-4861
Project: Apache Airflow
Issue Type: Improvement
Components: operators
Affects Versions: 1.10.3
Reporter: Chris McLennon
Assignee: Chris McLennon
Currently, when KubernetesPodOperators fail to launch the pod due to an error
on the Kubernetes side (e.g. Secret does not exist), it fails the pod and
Airflow logs report back that the pod failed to launch without further detail.
For Airflow users that do not have Kubernetes access or knowledge, this becomes
difficult to debug.
I'd like to have KubernetesPodOperators print the pod events when the operator
reaches a completion state. This will expose any errors on the Kubernetes side
before the pod is able to launch.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)