acoustic-parrot-22802
07/28/2025, 6:33 PMjolly-florist-66728
07/28/2025, 6:33 PM.with_overrides(container_image=...)
method. This allows you to specify a different image than the one set in the task decorator when triggering the workflow. For example:
@task(container_image="my-default-image")
def my_task():
...
@workflow
def wf():
my_task().with_overrides(container_image="my-custom-image:latest")
This feature is supported in Flytekit β₯1.15.0. Note that for some task types (e.g., map_task or certain plugins), there may be limitations or bugs, so always verify with your Flyte version and backend configuration. See the Flyte 1.15.0 release notes and related issue discussion for details.
Would you like a step-by-step example or troubleshooting tips for specific scenarios?
Sources:
- Flyte 1.15.0 release notes
- Task node overrides issue π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.acoustic-parrot-22802
07/28/2025, 6:35 PMjolly-florist-66728
07/28/2025, 6:35 PM.with_overrides(container_image=...)
are not fully supported at runtime. The override may only work at registration time, and only the last override is honored if used multiple times. For full support of dynamic image overrides at workflow execution, you need to upgrade to Flyte 1.15 or later. See issue #4543 and release notes.
Would you like more detail on possible workarounds or how to upgrade?
Sources:
- Task node overrides issue
- Flyte 1.15.0 release notes π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.acoustic-parrot-22802
07/28/2025, 6:37 PMjolly-florist-66728
07/28/2025, 6:37 PMPod
task config), you cannot dynamically override the container image at workflow execution time using .with_overrides(container_image=...)
. This override is only fully supported for standard tasks and pod templates starting in Flyte 1.15.0. In 1.14.5, the image set in the pod spec at registration is what will be used at runtimeβdynamic replacement is not supported for pod spec-based tasks. See issue #4543 and 1.15.0 release notes.
Would you like guidance on upgrading or alternative approaches for your use case?
Sources:
- Task node overrides issue
- 1.15.0 release notes π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.acoustic-parrot-22802
07/28/2025, 6:38 PMjolly-florist-66728
07/28/2025, 6:38 PMacoustic-parrot-22802
07/28/2025, 6:40 PMjolly-florist-66728
07/28/2025, 6:40 PM__imagename__
or similar in the pod spec or task config to dynamically set the image at workflow execution time. The image must be explicitly set at registration, and Flyte does not interpolate or replace such placeholders at runtime in this version. This feature is not mentioned in the official PodTemplate documentation or related issues.
Would you like more detail on how Flyte handles image resolution or on dynamic image options in newer versions?
Sources:
- Task node overrides issue π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.average-finland-92144
07/28/2025, 9:32 PMacoustic-parrot-22802
07/29/2025, 4:43 AM