[ 
https://issues.apache.org/jira/browse/AIRFLOW-6225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16993879#comment-16993879
 ] 

Daniel Imberman commented on AIRFLOW-6225:
------------------------------------------

Hi [~xbhuang],

We just created this ticket yesterday and have not started working on it. If 
you would like to take on this ticket I would be glad to offer help wherever 
you need it :).

> Better Logging for the K8sPodOperator
> -------------------------------------
>
>                 Key: AIRFLOW-6225
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6225
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: operators
>    Affects Versions: 1.10.6
>            Reporter: Daniel Imberman
>            Assignee: Daniel Imberman
>            Priority: Minor
>             Fix For: 1.10.7
>
>
> If a user uses the k8sPodOperator and a pod dies, there's valuable info in 
> the {{kubectl describe pod}} that is NOT being reported in either airflow or 
> ES. We should determine if there is a better way to track that information in 
> airflow to bubble up to users who do not have direct k8s access.
>  
> Possible additions:
>  * getting all events for the pod 
> kubectl get events --field-selector involvedObject.name=\{pod_name}]
>  * having a delete mode such as "only_on_success"
>  * Adding a prestop hook to propagate exception information in cases of 
> failures



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to