Created
June 26, 2020 18:53
-
-
Save lauralorenz/7cc01c8d674a64643b5a1fd7d59c25ce to your computer and use it in GitHub Desktop.
A flow using the DaskKubernetesEnvironment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dask_flow import flow | |
from prefect.environments.storage import Docker | |
from prefect.environments import DaskKubernetesEnvironment | |
flow.storage = Docker(registry_url="gcr.io/execution-layer-demo/flows") | |
flow.environment = DaskKubernetesEnvironment() | |
flow.register('execution-layer-demo') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment