You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "josh-fell (via GitHub)" <gi...@apache.org> on 2023/03/08 21:13:33 UTC

[GitHub] [airflow] josh-fell commented on issue #29973: Template container_resources of KubernetesPod

josh-fell commented on issue #29973:
URL: https://github.com/apache/airflow/issues/29973#issuecomment-1460883304

   @Atlaoui Trying to understand what's going on. Is this a documentation issue or are you saying that you are unable to pass a templated arg for `container_resources`?
   
   The `container_resources` parameter is a template field like you mentioned so your example _should_ work properly. Although, your important of the KubernetesPodOperator is quite outdated (pre-Airflow 2.0). Do you/have you tried installing the Kubernetes provider package (latest is apache-airflow-providers-cncf-kubernetes==5.1.1) and updating the operator import to `airflow.providers.cncf.kubernetes.operators.kubernetes_pod import KubernetesPodOperator`?


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