Khyaati Jindal
04/05/2023, 9:44 AMMarvin
04/05/2023, 9:45 AMcreate_work_pool
method, which takes the name
of the work pool and an optional description
as arguments. To create a new work queue in a work pool via the CLI, you can run the command prefect work-queue create "high-priority" --pool "my-pool"
. Work queues can be assigned to a work pool when building a deployment, by using the --pool
flag to specify the work pool, and the --queue
flag to specify the work queue. Agents can also be started to pick up flow runs from either the entire pool or from a specific queue, using the --pool
and --queue
flags respectively. Everything you need to know about Prefect, including the above mentioned information, can be found in the [Prefect Docs](https://docs.prefect.io/). There are also release notes and blog posts that can be found [on GitHub](https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md). I hope that this information helps you better understand work pools and work queues.