You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/04/23 16:44:00 UTC

[jira] [Commented] (AIRFLOW-2357) Use a persisten volume for the Kubernetes logs

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

ASF subversion and git services commented on AIRFLOW-2357:
----------------------------------------------------------

Commit e30a1f451aa5ec5aca4c886067ba8946a3d33395 in incubator-airflow's branch refs/heads/master from [~Fokko]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=e30a1f4 ]

[AIRFLOW-2357] Add persistent volume for the logs

The logs are kept inside of the worker pod. By
attaching a persistent
disk we keep the logs and make them available for
the webserver.

- Remove the requirements.txt since we dont want
to maintain another
  dependency file
- Fix some small casing stuff
- Removed some unused code
- Add missing shebang lines
- Started on some docs
- Fixed the logging

Closes #3252 from Fokko/airflow-2357-pd-for-logs


> Use a persisten volume for the Kubernetes logs
> ----------------------------------------------
>
>                 Key: AIRFLOW-2357
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2357
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Fokko Driesprong
>            Priority: Major
>             Fix For: 1.10.0
>
>
> Right now, when a pod exits, the log is lost forever because it is still in the container. By mounting a persistent volume we can easily fix this and this allows us to have logs on our local machines (minikube). In production you might want to write your logs to GCS/S3/etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)