Ir para o conteúdo

How to update task definition with least interruption to the service?

0

I have an ECS service running tasks on Fargate. I have multiple tasks running for the service during the time I want to introduce a change in memory. Let's say currently they are 1GB but the latest definition will be 2GB memory. When I change the service to point to the new definition, it creates a new set of tasks, and then immediately kill the old tasks with the old definition. Is there a way to do it gracefully part of the task autoscaling life cycle?

Note that all my tasks health status showing as unknown. Did not give it so much thought, but would that be a reason or replacing all tasks for a new definition is expected?

AWS
ESPECIALISTA

feita há 2 anos312 visualizações

1 Resposta
1
Resposta aceita
AWS
ESPECIALISTA

respondido há 2 anos

ESPECIALISTA

avaliado há 2 anos

ESPECIALISTA

avaliado há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.