<@ULVA73B9P> How do I create a work pool on a self...
# ask-marvin
r
@Marvin How do I create a work pool on a self-hosted Prefect server using the most recent python SDK?
m
To create a work pool on a self-hosted Prefect server using the most recent Python SDK, you can use the Prefect CLI or REST API. Here's a concise guide: 1. Using Prefect CLI: You can create a work pool with the CLI command:
Copy code
bash
   prefect work-pool create <NAME>
Replace
<NAME>
with a unique name for the work pool. You can also specify optional parameters such as
--paused
,
--type
,
--set-as-default
, and
--base-job-template
. For more details, refer to the Prefect documentation on work pools. 2. Using Prefect REST API: You can also manage work pools via the Prefect REST API, which provides programmatic access to create and configure work pools. 3. Using Prefect UI: If you prefer a graphical interface, navigate to the Work Pools section in the Prefect UI and use the "+" button to create a new work pool. For more information on the available options and configurations, you can visit the work pools documentation. If you have any specific questions or need further details, feel free to ask!
👎 1