Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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