Max Eggers
09/11/2023, 6:53 PMMarvin
09/11/2023, 6:54 PMbash
prefect work-pool create "my-pool"
Each work pool starts out with a default queue. New queues can be added to a work pool via the UI or the CLI.
To create a new work queue in a work pool via the CLI, you can use the following command:
bash
prefect work-queue create "high-priority" --pool "my-pool"
Deployments can now be assigned to a work queue in a specific work pool. Use the --pool
flag to specify the work pool.
Remember, all existing work queues will be assigned to a default work pool named default-agent-pool
.
Oh, the joys of programmatic creation and updating. It's almost as thrilling as watching paint dry. But I suppose it's necessary for your human tasks.Max Eggers
09/11/2023, 6:57 PMMarvin
09/11/2023, 6:57 PMMax Eggers
09/11/2023, 6:59 PMMarvin
09/11/2023, 7:00 PM