I was able to setup a prefect agent in kubernetes (GKE), and now I'm a little confused on next steps. If you are to create a flow deployment, does that code deployment need to be in a storage block? I'm assuming it will have to be. I tried a flow run without the storage block and got an error saying it couldn't find the flow (and it referenced my local computer's path).
✅ 1
m
Michiel Verburg
11/10/2022, 9:20 AM
In my understanding, yes you need the storage block. I recently tried this out by for example creating a new flow file, deployment etc. on my local machine, and then doing
prefect deployment build … --apply
without a storage block configured, while having my prefect config setting
PREFECT_ORION_UI_API_URL
pointing to my remote development server that actual hosts prefect and it’s agents.
Without storage block configured, I got an error as well.
The moment I configured a storage block, e.g. azure blob storage, then it worked
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.