Hi everyone, Is it possible to run part of a workl...
# ask-the-community
t
Hi everyone, Is it possible to run part of a worklow or a list of tasks in a single pod? I would like to use the caching mechanism for tasks but reduce the cost of starting a pod for each task. I have a task that i want to call up thousands of times, but it doesn't require a lot of computing time
d
hi @Tim Hebbeler have you checked Map Tasks? Your use case sounds like a fit https://docs.flyte.org/projects/cookbook/en/latest/auto/core/control_flow/map_task.html
t
But from what i read in the K8s Array plugin a pod is started for each instance in the array.
k
you want to reuse the same pod to run the other tasks, right?Flyte doesn’t support it yet.
t
yes, exactly
k
cc @Ketan (kumare3)
t
thank you both very much for the replies. Do you think it is enough to just adapt the k8s array plugin or are extensive changes necessary?
k
No so we have been thinking of this
@Dan Rammer (hamersaw) is almost done completely reengineering array/map tasks, this will give us the capability of reusing pods
We would Love to work with you if you can contribute
Ohh you want to call a 1000 times, I also think this is a good case for flytekit plugins
Backend flytekit plugin I mean
178 Views