Yoichi Iwaki created AIRFLOW-4778:
-------------------------------------
Summary: Improve get_logs for KubernetesPodOperator
Key: AIRFLOW-4778
URL: https://issues.apache.org/jira/browse/AIRFLOW-4778
Project: Apache Airflow
Issue Type: Improvement
Components: operators
Affects Versions: 1.10.3, 1.10.2
Reporter: Yoichi Iwaki
Assignee: Yoichi Iwaki
Current KubernetesPodOperator's get_logs option has following weaknesses:
- It gets only 10 lines of logs from the end.
- Because it reads logs when the pod starts, you may not get the last log lines.
The following improvements fixes these weaknesses:
- Add `tail_lines` parameter to set the number of log lines.
- Modify to read the logs when the pod finishes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)