Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ECS] [request]: ECS Service replacement update should retrieve desiredCount from current Service #1214

Open
m1n9o opened this issue Jan 6, 2021 · 0 comments
Labels
ECS Amazon Elastic Container Service Proposed Community submitted issue

Comments

@m1n9o
Copy link

m1n9o commented Jan 6, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request
The DesiredCount property should be retrieved from current ECS Service when replacement update without desiredCount specified.

Which service(s) is this request for?
ECS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
issue-493
We found the optional desiredCount already released one month ago. We already tested two scenarios in above link which works well.
However, here is another situation:

  1. An ECS service is running with desiredCount equals to 5.
  2. Replacement update was triggered when we apply new CFN without desiredCount specified.
  3. New ECS service was created, but the desiredCount go back to 1 automatically.
    Ideally, the new ECS service should keep the same desiredCount as previous service after update.

Are you currently working around this issue?
In our case, the desiredCount is mandatory which can not be ignored. Before update, we will retrieve desiredCount from current ECS service. If we want to leverage optional desiredCount, we need to set a value for it to keep the size all the time. Which is not optional actually.

@m1n9o m1n9o added the Proposed Community submitted issue label Jan 6, 2021
@mreferre mreferre added the ECS Amazon Elastic Container Service label Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ECS Amazon Elastic Container Service Proposed Community submitted issue
Projects
None yet
Development

No branches or pull requests

2 participants