Matthias Roels02/17/2022, 1:07 PM
on your DeploymentSpec. When you use
, Prefect will create a Docker container for the flow run and will pull the flow from Orion backend. Similarly when you use
, Prefect will create a Kubernetes job for the flow run and at runtime will pull the flow from the backend. When you create a deployment, you can specify the flag
which is by default set to True. This means that by default, when you create a deployment, the flow text will be loaded from the flow location and stored on the Orion server instead of locally, which allows the flow to be compatible with all flow runners. So in short, by default when you create a deployment, Prefect will store the code in your Orion server, making the process much easier so that you don't need to worry about the storage as much as you had to in Prefect 1.0. Having said that, we are actively working on all that and the best way to stay up-to-date is to watch the #announcements channel and in the coming weeks you will see more updates on that for sure.
Matthias Roels02/17/2022, 2:06 PM
set to True, does that mean that your flow code gets uploaded to Prefect Cloud when using that offering?