Zach
12/10/2020, 5:50 PMrun_config
for my flow like this:
with Flow("dask_flow_test", run_config=KubernetesRun()) as flow:
Then if I run it locally, will it create a kubernetes job?
If I don't want it to create a kuberentes job when I run it locally, should I instead set the run_config
to LocalRun
there, and then before I register the flow I can set it to KubernetesRun
instead?Jim Crist-Harif
12/10/2020, 5:50 PMflow.run_config
is only used by flows executed with a prefect backend (cloud or server)Zach
12/10/2020, 5:51 PMJim Crist-Harif
12/10/2020, 5:51 PMrun_config
, storage
, executor
), only flow.executor
is used by flow.run
, ther others are cloud/server only.Jim Crist-Harif
12/10/2020, 5:51 PM