https://prefect.io logo
n

Natsume Kirito

02/15/2022, 4:37 PM
Can a flow with multi tasks be deployed as multi Kubernetes jobs, because each task has a different docker image?
k

Kevin Kho

02/15/2022, 4:41 PM
You can use the RunNamespacedJob task
Or way harder but you can look at this
n

Natsume Kirito

02/15/2022, 4:54 PM
The later one uses a Kubernetes job to communicate with the node's docker engine, then create a container and manage the container's lifecycle, it that right?
k

Kevin Kho

02/15/2022, 4:55 PM
Yeah but note you need the
dind-daemon
container setup like in the job template there. and then you mount the docker.
RunNamespacedJob
would be the easier alternative of course
4 Views