Slackbot
07/15/2025, 6:02 AMMarvin
07/15/2025, 6:02 AMMarvin
07/15/2025, 6:03 AMprefect.yaml
, make sure to use names that exist in your environment.
Remember that you can create new work pools and work queues if needed using the Prefect UI or CLI commands. The most important thing is that the work pool and queue names in your prefect.yaml
match what's configured in your Prefect server.Amir Kamal
07/15/2025, 6:04 AMMarvin
07/15/2025, 6:04 AMMarvin
07/15/2025, 6:04 AMbash
prefect work-pool create "my-process-pool" --type process
2. Create a Docker pool:
bash
prefect work-pool create "my-docker-pool" --type docker
3. Create a Kubernetes pool:
bash
prefect work-pool create "my-k8s-pool" --type kubernetes
After creating the work pool, you can reference it in your prefect.yaml like this:
yaml
deployments:
- name: my-deployment
work_pool:
name: my-process-pool # Reference your newly created work pool here
work_queue: default # Optional: uses the default queue if not specified
Remember:
1. The work pool must exist before you can reference it in prefect.yaml
2. Each work pool type (process, docker, kubernetes, etc.) has different configuration options
3. Work pools can be managed through the UI if you prefer a visual interface
4. The default work queue is automatically created when you create a work pool
Would you like me to show you how to create a specific type of work pool or how to configure additional work pool settings?