You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Xinbin Huang (Jira)" <ji...@apache.org> on 2019/12/11 20:33:00 UTC

[jira] [Commented] (AIRFLOW-6225) Better Logging for the K8sPodOperator

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

Xinbin Huang commented on AIRFLOW-6225:
---------------------------------------

Hi [~dimberman], what is the progress on this ticket right now? I wonder if I can help or contribute on working this ticket.

> 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)