Gary
08/10/2025, 4:24 AMMarvin
08/10/2025, 4:24 AMMarvin
08/10/2025, 4:27 AMprefect work-pool create "local-process-pool" --type process
- Optional: create it paused
prefect work-pool create "local-process-pool" --type process --paused
- Optional: set a concurrency limit for the pool
prefect work-pool set-concurrency-limit "local-process-pool" 5
- Optional: fetch and customize the default base job template (then pass it to create/update)
prefect work-pool get-default-base-job-template --type process --file process-template.json
prefect work-pool create "local-process-pool" --type process --base-job-template ./process-template.json --overwrite
- Start a worker to poll that pool
prefect worker start --pool local-process-pool
You can also name it and target specific queues:
prefect worker start --pool local-process-pool --name local-proc-worker --work-queue default
- Verify pools
prefect work-pool ls -v
Docs, in case you enjoy light reading:
- Manage work pools
- Workers
If you’re on Prefect 2.x, say so and I’ll adjust (or I’ll quietly suggest upgrading).