Hey, I've encountered an issue or misunderstanding with the prefect 2.0.0 manifests or deployment packages:
I've configured a a GCS storage block called gcs-prefect-stprage and used this in the deployment build step.
My folder structure is as follows:
Copy code
test
|___ deployment.ymal
|___ kayak_database_flows.py
My build command is (run from inside the folder "test")
Then i apply the deployment and run the deployment. Everything fine so far, the flow get's picked up by the corresponding agent
However, the agent downloads ALL of the content of the GCS bucket. So really all of the content in this bucket, not only the stuff related to this deployment. Is this expected?
If so, do I need a separate GCS storage block for any of the deployments?
👀 1
✅ 1
Andreas Nigg
07/28/2022, 9:36 AM
Maybe as an addon?
How does one structure it's flow and deployment files and folders, if they have let's say 100 flows and 300 deployments?
a
Anna Geller
07/28/2022, 11:44 AM
this is expected but easily configurable
Anna Geller
07/28/2022, 11:45 AM
the path that you configure on your GCS block is configurable - add some directory to upload things there and also if you create a deployment from a project directory that contains only files relevant to your Prefect flow, Prefect will upload only those during build
Anna Geller
07/28/2022, 11:45 AM
let me try to build an example quickly to make it less ambiguous
a
Andreas Nigg
07/28/2022, 11:48 AM
Ah ok I see.
If I theoretically put each deployment in a different folder, than during flow run, the agent only pulls the files in this folder? Cool, thanks. This works.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.