You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "dimohammed328 (via GitHub)" <gi...@apache.org> on 2024/11/22 15:41:48 UTC

[I] xCom Templating for init_containers in KubernetesPodOperator [airflow]

dimohammed328 opened a new issue, #44289:
URL: https://github.com/apache/airflow/issues/44289

   ### Description
   
   We should be able to specify the `image`, `cmd`, `args`, etc. fields of init containers as xCom templates. Currently this is not supported.
   
   ### Use case/motivation
   
   In our dags, we need a pod to have init containers with the image and command of those containers determined dynamically at runtime. Having the ability to pass these from upstream xComs and be able to template them into the PodOperator would be useful here.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: commits-unsubscribe@airflow.apache.org.apache.org

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


Re: [I] xCom Templating for init_containers in KubernetesPodOperator [airflow]

Posted by "eladkal (via GitHub)" <gi...@apache.org>.
eladkal commented on issue #44289:
URL: https://github.com/apache/airflow/issues/44289#issuecomment-2833384786

   They are listed as templated fields. Please clarify what exactly is missing
   
   https://github.com/apache/airflow/blob/cb295c351a016c0a10cab07f2a628b865cff3ca3/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/pod.py#L246-L267


-- 
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: commits-unsubscribe@airflow.apache.org

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


Re: [I] xCom Templating for init_containers in KubernetesPodOperator [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #44289:
URL: https://github.com/apache/airflow/issues/44289#issuecomment-2896114083

   This issue has been closed because it has not received response from the issue author.


-- 
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: commits-unsubscribe@airflow.apache.org

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


Re: [I] xCom Templating for init_containers in KubernetesPodOperator [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #44289:
URL: https://github.com/apache/airflow/issues/44289#issuecomment-2494054288

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
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: commits-unsubscribe@airflow.apache.org

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


Re: [I] xCom Templating for init_containers in KubernetesPodOperator [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #44289: xCom Templating for init_containers in KubernetesPodOperator
URL: https://github.com/apache/airflow/issues/44289


-- 
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: commits-unsubscribe@airflow.apache.org

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


Re: [I] xCom Templating for init_containers in KubernetesPodOperator [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #44289:
URL: https://github.com/apache/airflow/issues/44289#issuecomment-2870385884

   This issue has been automatically marked as stale because it has been open for 14 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author.


-- 
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: commits-unsubscribe@airflow.apache.org

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