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 2021/02/26 14:23:25 UTC

[GitHub] [airflow] HarryDunham commented on issue #12100: KubernetesPodOperator templating the image parameter

HarryDunham commented on issue #12100:
URL: https://github.com/apache/airflow/issues/12100#issuecomment-786677112


   After updating our deployment to Airflow `1.10.14`, we've found that this appears to be an issue related to airflow version `1.10.11`. For reference, pod events locally running on minikube with airflow version `1.10.11`:
   ```
   Events:
     Type     Reason         Age               From               Message
     ----     ------         ----              ----               -------
     Normal   Scheduled      16s               default-scheduler  Successfully assigned default/dummy-task-pod-0599a925b2bd40fdbf8e3779ce0ea2e9 to minikube
     Warning  InspectFailed  0s (x3 over 15s)  kubelet            Failed to apply default image tag "ACC_ID.dkr.ecr.REGION.amazonaws.com/IMAGE:{{ dag_run.conf.image_verison }}": couldn't parse image reference "ACC_ID.dkr.ecr.REGION.amazonaws.com/IMAGE:{{ dag_run.conf.image_verison }}": invalid reference format
     Warning  Failed         0s (x3 over 15s)  kubelet            Error: InvalidImageName
   
   ```
   versus pod events running on `1.10.14`:
   ```
   Events:
     Type    Reason     Age   From               Message
     ----    ------     ----  ----               -------
     Normal  Scheduled  27s   default-scheduler  Successfully assigned default/dummy-task-pod-62cdce6aa5654a7da4b5c9abfe8cf2ed to minikube
     Normal  Pulled     26s   kubelet            Container image "ACC_ID.dkr.ecr.REGION.amazonaws.com/IMAGE:IMAGE_VERSION" already present on machine
     Normal  Created    26s   kubelet            Created container base
     Normal  Started    26s   kubelet            Started container base
   ```
   Therefore, I assume this was fixed within `1.10.12` with the other breaking changes. So, I'm closing this issue.


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