跳至內容

Error: The sum of all container cpu values cannot be greater than the value of the task cpu

0

I'm trying to deploy a fargate service. In my taskdef.add_container definition i have cpu = 8192, memory_limit_mib = 32768 but when i deploy it i get the error as in the title.

已提問 3 年前檢視次數 3389 次

1 個回答
0
已接受的答案

Check the cpu configuration under container definition. Basically sum of all containers CPU should be less than the CPU limit defined for your task. https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html

AWS

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。