Brady Mitchell
07/01/2025, 12:10 AMMarvin
07/01/2025, 12:11 AMMarvin
07/01/2025, 12:11 AMMarvin
07/01/2025, 12:13 AMbash
prefect work-pool create-type kubernetes
This will show you the default template that's used when creating a new Kubernetes work pool.
The base job template is customizable, allowing you to modify various aspects of the Kubernetes manifest used for job creation, such as:
- Resource requests and limits
- Volume mounts
- Environment variables
- Security contexts
- Node selectors
- Tolerations
If you need to make modifications to the template, you can do so either through the UI or programmatically via the Prefect API or Terraform.
For more detailed information about customizing Kubernetes workers and their templates, you can refer to the documentation at:
- https://docs-3.prefect.io/v3/how-to-guides/deployment_infra/kubernetes
- https://docs-3.prefect.io/v3/how-to-guides/deployment_infra/manage-work-poolsBrady Mitchell
07/01/2025, 12:16 AMBrady Mitchell
07/01/2025, 12:16 AMprefect work-pool get-default-base-job-template -t kubernetes -f default.json
found that while waiting for Marvin.