Created
February 5, 2021 16:16
-
-
Save LordBastor/39de0352e5962d0c52c44f38c297145d to your computer and use it in GitHub Desktop.
This file contains 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 prefect.storage import Azure | |
from prefect.run_configs import KubernetesRun | |
import os | |
azure_store = Azure(container="prefect") | |
kubernetes_run = KubernetesRun( | |
image=os.environ.get("IMAGE_URL"), | |
job_template_path=os.environ.get("JOB_TEMPLATE_PATH", "./job_template.yaml"), | |
labels=["prefect"], | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment