Cannot create a project-style deployment with work pool of type 'prefect-agent'.
? Why not? Is there no way to do deployments with
prefect-agent
with a
prefect.yaml
file?
Eivind Hyldmo
10/24/2023, 1:48 PM
There’s probably a good reason, I guess I’m still struggling a bit to understand some of the concepts
a
alex
10/24/2023, 2:00 PM
Hey @Eivind Hyldmo! Using
prefect deploy
with a
prefect-agent
work pool isn’t supported because Prefect agents rely on configuring storage and infrastructure blocks, which is not supported via a
prefect.yaml
file. A worker is equivalent to a infrastructure block + an agent, so we recommend picking a work pool type that matches the type of infrastructure block you were planning on using( e.g.
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.