Leoduv commented on PR #34633:
URL: https://github.com/apache/airflow/pull/34633#issuecomment-1934248208

   Hi @jedcunningham, sorry for dropping in like this but I was wondering why 
the decision was made to remove the pod template creation if the executor isn't 
the Kubernetes Executor.
   
   The 
[documentation](https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/stable/operators.html#kubernetespodoperator)
 does state that we do **not** need to have to use the KE for launching 
KubernetesOperator tasks. 
   
   That's the setup we have in our team (LocalExecutor in a scheduler deployed 
on k8s, sometimes launching KO tasks). Is there another way of making the pod 
template available ?
   
   (FYI it is possible that we are just in a niche use case because we are 
helm-templating our pod templates, so we can't just add them in the dag folder 
or something like that)
   
   ```yaml
   podTemplate: |
     {{- tpl ( readFile "pod-template.yaml" ) . | nindent 2 }}
   ```
   
   Keen on having your opinion on this is you have a few minutes to read this


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to