Maxime edfeed
01/10/2022, 7:23 PMMaxime edfeed
01/10/2022, 11:20 PMMaxime edfeed
01/11/2022, 4:19 AMworker.resources.limits.cpu=3
.
If it is the latter and it happens in the job pods that are dynamically spun up, you should be able to use extraEnv
on whichever pod launches them(IIRC, its the worker pods) supplying values for the following. Example:
worker:
extraEnv:
- name: JOB_MAIN_CONTAINER_CPU_REQUEST
value: "3"
- name: JOB_MAIN_CONTAINER_CPU_LIMIT
value: "4"
Maxime edfeed
03/17/2022, 4:37 PMJonathan Stacks
03/17/2022, 5:35 PMMaxime edfeed
03/17/2022, 6:09 PMJOB_POD_MAIN_CONTAINER_CPU_REQUEST: 20m
JOB_POD_MAIN_CONTAINER_CPU_LIMIT: 1
JOB_POD_MAIN_CONTAINER_MEMORY_REQUEST: 500Mi
JOB_POD_MAIN_CONTAINER_MEMORY_LIMIT: 2Gi
But my destination pod has container main with this resources :
Limits:
cpu: 1
memory: 2Gi
Requests:
cpu: 700m
memory: 1Gi
I will continue to investigate this, thank you for your help !Jonathan Stacks
03/18/2022, 6:12 PM