<@ULVA73B9P> I need to override container_create_k...
# ask-marvin
k
@Marvin I need to override container_create_kwargs only for one deployment in work_pool
m
To override
container_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.