F

Flyte enables you to build & deploy data & ML pipelines, hassle-free. The infinitely scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks. Explore and Join the Flyte Community!

Help with Docker image parameters

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.

Status
resolved
Tags
    Source
    #ask-the-community
      j

      jielian.guo

      9/19/2024
      v

      vitali.kaiser

      9/19/2024

      Thanks for asking! I wanted to try out dynamic workflows, this may help. I keep you posted.

      v

      vitali.kaiser

      9/11/2024

      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:

      j

      jielian.guo

      9/18/2024

      <@U059JRRU36U> do you find a way to make it work?

      j

      jielian.guo

      9/18/2024

      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.