can one agent run multiple work-queues in prefect ...
# prefect-community
h
can one agent run multiple work-queues in prefect 2.0
βœ… 1
a
I don’t think so, because when you start an agent, you need to pass the Work Queue identifier. With the following command, you can see all the available options to start an agent
Copy code
prefect agent start --help
πŸ™ 1
a
you don't need multiple work queues for one agent, because you can pass multiple criteria like multiple tags or deployments to your work queue
Think of a work-queue more like a filter selection and an agent that applies that filter when polling for work
πŸ‘ 1
h
i have different workques for deployment of different flows . each workqueue runs on a different node pool on gcloud
a
no, each agent runs on a different node pool -- work queue doesn't run anything, it's just a filter
that's why you don't need multiple work queues per agent - you can specify your filter criteria for an agent in a single work queue definition
h
@Anna Geller how can i deploy the agents using the given prefect-agent helm chart
a
we may provide more guidance on that in the future, but we don't have any tutorial to share as of now
h
thankyou @Anna Geller . just one more question . in the helm chart of prefect-agent can i give multiple workqueue names? because i have 4 workqueues ?
a
you can have as many work queues, agents and namespaces as you like πŸ˜„ no limits here