Krystian
03/18/2025, 1:46 PMMarvin
03/18/2025, 1:46 PMcontainer_create_kwargs for a specific deployment in a work pool, you can specify these overrides in the job_variables section when creating a deployment. This can be done either in the prefect.yaml file or through the job_variables argument of a Python flow.deploy method.
Here's a concise way to achieve this:
1. Using `prefect.yaml`: Add the desired overrides under the deployments.work_pool.job_variables section.
2. Using Python: When deploying your flow, use the job_variables argument to specify the overrides.
For more detailed customization, you can explore the advanced options available in the Prefect UI or CLI for creating or editing a work pool. This can be useful if your infrastructure supports a high degree of customization.
For more information, you can refer to the Prefect documentation on work pools.Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by