Saurabh Indoria
12/10/2021, 4:36 AMjob_spec.yaml
and modify the CPU section leaving the rest as it is?Kevin Kho
12/10/2021, 4:53 AMjob_spec.yaml
is used by the Environment code path here , so only relevant if you are below Prefect 0.14.0
Honestly, the easiest way to edit the CPU and Mem limits would be through the KubernetesRun
defined in your Flow. There is an example in this section. I say this is easier because if you modify the job_template
, it still needs to be in a place that is accessible by your agent, meaning it has to be stored in somewhere like S3 or in the container image.Saurabh Indoria
12/10/2021, 4:55 AM