UD
08/08/2023, 1:44 PMalex
08/08/2023, 1:50 PMmy-pool is a prefect-agent typed work pool. prefect-agent work pools aren’t compatible with prefect deploy.
If you’d like to use prefect deploy, then you can create a different type of work pool for your flow to schedule runs in. If you leave work_pool unset in your deployment.yaml, the interactive CLI will help guide you through either selecting or creating a valid work pool.
If you want to use a prefect agent work pool, then you’ll need to use prefect deployment build and prefect deployment apply in order to register your deployment.UD
08/08/2023, 2:04 PMwork-pool is more preferred? Also can you specify what is the difference between prefect deploy & prefect deployment build & apply?alex
08/08/2023, 2:19 PMprocess work pool. It will run your flows in subprocesses on the same machine as your worker.
The configuration between the two commands is different. prefect deploy allows you to configure and register multiple deployments with a single command while prefect deployment build and prefect deployment apply work with only a single deployment. prefect deploy is also more interactive and can help guide your to a correct setup.