https://prefect.io logo
#prefect-community
Title
# prefect-community
m

Matt

05/02/2020, 7:22 AM
Hi! First time trying this out. I got the server running locally. Can someone point me to instructions on how to connect to github? I would like to set it up so the first step is the pull the most recent code and executes that. I'm coming from Airflow so might be missing something so any help is appreciated!
j

Jeremiah

05/02/2020, 12:06 PM
Hi Matt, Prefect’s execution model is very different than Airflow’s; once you register a flow there’s no need to continually make source code available. Simply build the flow in a Python script (or CI/CD pipeline), call
flow.register()
to inform the server, and then Prefect Agents can pull and execute it. I recommend following the deployment tutorial here to get started!
m

Matt

05/02/2020, 11:39 PM
Hi Jeremiah! I followed that. I’m not using cloud though so how do I add multiple user agents and monitor them. And second, do you have instructions on deployment in parallel with a CICD pipeline?
k

Kyle Moon-Wright

05/04/2020, 7:37 PM
Hey @Matt, At this time, Agent management is a Prefect Cloud feature and is not available using Prefect Server. However you can always try it out by signing up for a free Scheduler account, which gives you full access to the Prefect Cloud offerings. Also, did you have any specific questions in terms of deploying in parallel to a CI/CD pipeline? We have some resources available, but these would be heavily dependent on the tools you are using, this one for example uses a Dask scheduler on a K8s cluster.