Summary
The user is seeking help with defining Docker image and pod template parameters in a workflow to use different Docker image versions for various runs. They mention a previous unsuccessful attempt and a bug related to resource requests in the UI. The user is facing an issue where the image in step2(var=out1).with_overrides(container_image=image)
is a promise type, while container_image
requires a string. They are asking if anyone has found a solution to this problem.
jielian.guo
<@U059JRRU36U> This https://flyte-org.slack.com/archives/CP2HDHKE1/p1726762118666299?thread_ts=1726679187.286569&cid=CP2HDHKE1|solution works well for me. See if you want to give it a try.
vitali.kaiser
Thanks for asking! I wanted to try out dynamic workflows, this may help. I keep you posted.
vitali.kaiser
I wondered if there is a way to define the docker image of as task as an parameter in a workflow. Or even better to define the pod_template (we also have a sidecar container that we want to specify) of a task on workflow level. Background is that we want to say: please use this version of the docker image (which has the software version that we want to test) in this specific run. Next run we want to execute another docker image (version of our software). What I tried is this, but this seems not to work:
jielian.guo
<@U059JRRU36U> do you find a way to make it work?
jielian.guo
I have the same issue. It is not working because image in step2(var=out1).with_overrides(container_image=image)
is in type of promise, but contrainer_image
wants a string.