You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/04/20 19:53:02 UTC

[GitHub] [airflow] jonathonbattista opened a new issue #8479: Add InitContainers for KubernetesExecutor

jonathonbattista opened a new issue #8479:
URL: https://github.com/apache/airflow/issues/8479


   **Description**
   
   Allow the KubernetesExecutor to spawn an Init or Sidecar Container in the Worker Pod before running the DAG.
   
   **Use case / motivation**
   
   Since the KubernetesExectuor overrides the container command, we need to be able to run some logic to config the Worker Pod's environment before running the DAG.  i.e. Pull environment-specific files.
   
   Currently, we are doing this at the DAG-level which is not ideal and we don't want to do this when building the Docker image and manage environment-specific Docker images.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] jedcunningham closed issue #8479: Add InitContainers for KubernetesExecutor

Posted by GitBox <gi...@apache.org>.
jedcunningham closed issue #8479:
URL: https://github.com/apache/airflow/issues/8479


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] jonathonbattista commented on issue #8479: Add InitContainers for KubernetesExecutor

Posted by GitBox <gi...@apache.org>.
jonathonbattista commented on issue #8479:
URL: https://github.com/apache/airflow/issues/8479#issuecomment-639064141


   Any update on this?
   
   It would be super useful to be able to run custom logic before the worker pod runs!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] jedcunningham commented on issue #8479: Add InitContainers for KubernetesExecutor

Posted by GitBox <gi...@apache.org>.
jedcunningham commented on issue #8479:
URL: https://github.com/apache/airflow/issues/8479#issuecomment-822948277


   @jonathonbattista, this is now possible with [pod_template_file](https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#pod-template-file).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #8479: Add InitContainers for KubernetesExecutor

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #8479:
URL: https://github.com/apache/airflow/issues/8479#issuecomment-616773518


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org