Passer au contenu

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.

demandé il y a 3 ans3,4 k vues

1 réponse
0
Réponse acceptée

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

répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.