jcozar
06/02/2021, 5:54 PMrun_task_kwargs in the ECSRun configuration definition.
• The arguments cpu and memory from the ECSRun configuration definition seems is not working. Even if I use valid values (cpu=256, memory=512) it creates the TaskDefinition using 1vcpu and 2GB RAM (I think it is the default configuration). I tried run_task_kwargs with the keyword overrides but it does not work neither. Do you know what I am doing wrong?
Thank you very much!!Kevin Kho
Kevin Kho
jcozar
06/02/2021, 7:58 PMjcozar
06/02/2021, 11:57 PMKevin Kho
jcozar
06/15/2021, 7:00 PMrun_task_kwargs is not used. Then, the mem and cpu override ithe values to the container, and therefore there is a task running in ECS consuming 1vcpu and 2GB, and a single container (the prefect flow) using just the overwritten values (i.e. 0.5vcpu and 1GB).
I think that it would be very useful if the cpu and mem values are used internally to create the task definition instead of modifying the container values, because it will be a task with just one container (the prefect flow). Am I wrong or missing something about it?
Thank you very much for your time!Mariia Kerimova
06/15/2021, 7:34 PMcontainerOverrides which according to AWS API run_task would set cpu/mem for container. Not sure where is the issue, let me try to run a few tests, and I'll get back to youBen Muller
06/27/2021, 4:57 AMjcozar
06/27/2021, 8:35 AMBen Muller
06/27/2021, 9:06 AMjcozar
06/27/2021, 10:27 AMjcozar
06/27/2021, 10:30 AMKevin Kho
jcozar
06/28/2021, 4:07 PMKevin Kho
jcozar
06/28/2021, 4:16 PM