https://prefect.io logo
Title
u

2j

11/07/2022, 3:18 AM
Hi all! Iā€™m assessing prefect2 as a potential job orchestration solution. We have a mixture of python / non-python jobs packaged via Docker and we run on k8s. It seems like flows consisting of https://docs-v1.prefect.io/api/latest/tasks/kubernetes.html#runnamespacedjob best suits my needs, but is there a similar concept in prefect 2? Or is prefect2 not really the right tool to orchestrate arbitrary dockerized jobs?
m

Mathijs Carlu

11/07/2022, 9:57 AM
Reusable tasks in prefect 2 are divided in prefect collections which you can find under integrations on the prefect 2 docs. Although there is no Kubernetes collection listed, I happen to know there was actually created a repository for this. However, this repository does not contain any code at the moment (which probably is the reason it's not listed). There is an open pull request for the jobs tasks from the 1.0 though, so it seems you'll have to wait for that to be accepted. Or contribute yourself if you would need some other functionality šŸ˜‰
u

2j

11/07/2022, 3:18 PM
@Mathijs Carlu Ty for pointing me to this!
šŸ‘ 1