Channels
pacc-may-31-2023
prefect-ai
pacc-clearcover-june-12-2023
marvin-in-the-wild
data-ecosystem
geo-israel
pacc-june-14-2023
geo-japan
prefect-cloud
ppcc-may-16-2023
prefect-azure
prefect-docker
prefect-recipes
gratitude
geo-nyc
geo-bay-area
geo-boston
geo-london
geo-dc
geo-chicago
geo-berlin
geo-texas
geo-seattle
geo-colorado
prefect-community
data-tricks-and-tips
prefect-aws
prefect-gcp
introductions
find-a-prefect-job
prefect-dbt
random
events
ask-marvin
show-us-what-you-got
prefect-getting-started
prefect-integrations
prefect-contributors
best-practices-coordination-plane
announcements
prefect-server
prefect-ui
prefect-kubernetes
Powered by
Title
s
Slackbot
03/24/2023, 3:52 AM
This message was deleted.
c
Christopher Boyd
03/24/2023, 4:36 PM
Hi Preeti, 1. Deployments register all the configuration pieces (storage, infra, labels, scheduling etc.) You run this in advance, or as part of CI/CD, locally, or wherever. 2. Running a deployment creates a flow_run from said flow using all the parameters you defined in the deployment. Your agents pick up these flow_runs based on matching the labels. 3. We have a number of tutorials for docker, kubernetes, etc. that can walk through this _
https://docs.prefect.io/tutorials/
4. You can do it from CLI, Python API, rest API, or UI. a.
https://docs.prefect.io/api-ref/prefect/deployments/#prefect.deployments.run_deployment
b.
https://app.prefect.cloud/api/docs#tag/Deployments/operation/create_flow_run_from_deployme[…]es__workspace_id__deployments__id__create_flow_run_post
c.
https://docs.prefect.io/api-ref/prefect/cli/deployment/#prefect.cli.deployment.run
This page gives a good overview -
https://www.prefect.io/security/overview/
You run an agent in your cluster, you register your deployment, and you can start a flow_run wherever you want
#prefect-kubernetes
Join Slack