lgov opened a new issue #11168:
URL: https://github.com/apache/airflow/issues/11168


   
   **Description**
   We use a docker image for a project with multiple pre-built starting scripts 
included. As part of the dag setup, we need to define which script to start 
(with the `cmd` parameter), and what the working directory for that script 
needs to be.
   
   In the Kubernetes Pod specification yaml file we use the `workingDir` key, 
but as far as I can see that can not be set in the `KubernetesPodOperator` 
initialization directly.
   
   **Use case / motivation**
   
   I like airflow to support our current Pod definition with all its features, 
without having to implement a work-around.
   
   Airflow devs have proposed `pod_template_file` as an alternative way to 
provide the Pod definition, but unfortunately that has a couple of (blocking 
for us) issues on its own.
   
   **Related Issues**
   
   Not that I could find.
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to