Kubernetes - Use dynamic images for worker pods #33332
Unanswered
ralphotowo
asked this question in
Q&A
Replies: 1 comment
-
You can set it as usual for all configuration variables when you restart scheduler
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi There,
We have an implementation of Airflow using the Kubernetes Executor. We have a pipeline that builds custom docker images with our custom tools and dependencies using the airflow image as a base, the image is pushed to our internal registry and used for all pods that are created by Airflow. This is done using the following configuration:
Currently, our CI step continuously publishes images to the same
qa
tag however we'd like to stop doing that and use unique tags for every CI execution. Our CD tool, ArgoCD Image Updater is able to automatically update the triggerer, scheduler and webserver deployments but not the worker pods since they do not exist until they are required.We tried removing the
worker_container_repository
configuration in hopes that Airflow will default to the active images being used for the triggerer, scheduler or webserver but this doesn't work. Does anyone have any ideas on how to dynamically set the image tag of worker pods?Beta Was this translation helpful? Give feedback.
All reactions