Joël Luijmes
12/08/2021, 9:28 AMLocalDaskExecutor
as my requirements for concurrency were low. However with this flow I want to use the real DaskExecutor
.
As I’m aware Prefect is capable of creating a temporal Dask cluster for the running flow (using KubeCluster
), but alternatively can use an existing deployed Dask cluster (or even dask gateway if I’m not mistaken).
Note, I’m running in Kubernetes, so adaptive scaling could be interesting.
Are there any guidelines / suggestions / experiences for using a temporal vs. static Dask cluster? Additionally, if I have Docker
as storage, how can I supply the correct image tag containing my modules/dependencies while registering the flow?Anna Geller
Joël Luijmes
12/08/2021, 9:38 AMprefect.context.image
🤓Anna Geller
FargateCluster(n_workers=n_workers, image=prefect.context.image)
Joël Luijmes
12/08/2021, 9:53 AMAnna Geller
stored_as_script
.Joël Luijmes
12/08/2021, 10:04 AM