Eivind Hyldmo
10/24/2023, 12:54 PMCannot 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 PMalex
10/24/2023, 2:00 PMprefect 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. ECSTask
block -> ECS work pool, KuberenetesJob
block -> Kubernetes work pool).