https://prefect.io logo
a

Alexander Belikov

08/19/2022, 8:39 AM
Concerning the latest changes in versions >2.0.4 : previously agents were able to find and place flows into queues by tags. From version > 2.0.4 the doc says queue names are used instead. Specifically here (https://docs.prefect.io/concepts/deployments/) it s said:
Copy code
A deployment additionally enables you to:
- Assign a work queue name to delegate deployment flow runs to work queues.
But in the deployment section there is no info on how to declare a queue to be associated with a deployment. Could you please clarify?
o

Oscar Björhn

08/19/2022, 8:43 AM
prefect deployment build --your-usual-arguments-and-such --work-queue "my-work-queue" should do it!
a

Alexander Belikov

08/19/2022, 8:43 AM
ok, I think I got it :
thank you!
👍 1
j

Jenny

08/19/2022, 8:51 AM
Hi @Alexander Belikov - one extra note - if you've got a deployment you already created and want to change the work queue you can also do that from the UI: https://www.loom.com/share/e554b3f1cab149d2a0fd2534ee930484
a

Alexander Belikov

08/19/2022, 8:53 AM
thanks, Jenny!
4 Views