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?
j
Jim Crist-Harif
12/10/2020, 5:50 PM
No,
flow.run_config
is only used by flows executed with a prefect backend (cloud or server)
z
Zach
12/10/2020, 5:51 PM
Okay, so if I run it locally, it will just ignore the run_config?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.