Ouail Bendidi
05/15/2023, 7:20 AMinfra_overrides
in workers ?
We use a default config in an ECSTask
and override with the docker image we want to use, Not sure how to have the same with workers ?Ouail Bendidi
05/15/2023, 7:21 AMDeployment.build_from_flow(
name="manual",
flow=my_flow,
skip_upload=True,
apply=True,
load_existing=False, # always overwrite
infrastructure=ECSTask.load("default"),
infra_overrides={"image": "xxxx", "memory": "xxxx", "cpu": "xxxx"},
)
Jamie Zieziula
05/15/2023, 2:26 PMjob_image
to override the default image set on your work pool under the work_pool configuration of your deployment:
work_pool:
name: kubernetes-work-pool
job_variables:
image: your-image-here
Jamie Zieziula
05/15/2023, 2:27 PMOuail Bendidi
05/15/2023, 2:30 PMjob_variables
from the python API directly ?Jamie Zieziula
05/15/2023, 4:13 PM