Victor
08/28/2025, 2:32 PMNate
08/28/2025, 2:50 PMis there a no way to deploy a flow without attaching it to a worker pool?
.serve
is the only exception where a deployment doesn't need a work poolNate
08/28/2025, 2:50 PMso that I can keep adding more worker pool to provide more concurrent executions easily if a deployment is not associated with a particular pool.im not sure i understand the need here
Victor
08/28/2025, 3:03 PMVictor
08/28/2025, 3:04 PMNate
08/28/2025, 3:15 PMprefect worker start --pool some-pool
) somewhere in your environment
I tried deploying a flow without default worker pool but didnt work.deployments need a work pool, that is, deployments need a description of how the the flow run should execute (on kubernetes, as a subprocess etc) you can set concurrency in one or many places • on the deployment itself: only N flow runs of this deployment can run at once • on the work pool: only N flow runs scheduled to this work pool can run at once • on a work queue within a work pool
Victor
08/28/2025, 4:24 PMimage-creator
and video-creator
.
now I create a pool called remote-pool
and both deployments point to same default remote-pool
now since image creation is faster, I can set deployment concurrency to say 8 for image-creator
and no concurrency in video-creator.
now if I want to increate more concurrency slots under it as more people make videos, can I just add more workers here. each worker is a new server/client where task will execute. based on this client resources, how to set concurrency of a worker?
will this work? prefect worker start --pool "remote-pool" --work-queue "queue-1" --name "worker-1" --limit 6
remote-pool already exists, I want to increase capacity and new server has 6 cores. In ui, where can I see that this limit 6 is set properly?Victor
08/28/2025, 4:25 PMVictor
08/28/2025, 4:27 PM