Fargate service's desired count reset during update? #21615
Unanswered
silvervest
asked this question in
Q&A
Replies: 1 comment
-
I'm also interested in this one :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We recently had a deployment go wrong when a service that was updating as part of a deployment had the desired count reset to the minimum, due to the fact that the Service resource itself was replaced instead of updated. Previous updates to the service maintained the current desired count for the current load on the system, so we didn't expect this update to do the same and when it did our minimum (for overnight quiet period scale downs) wasn't enough to handle and we had a short outage.
The CDK docs note this, so we've used the default and not set manually.
```Default: - When creating the service, default is 1; when updating the service, default uses the current task number.`
This might be an obvious thing, but just checking if this could be a bug or just an implementation issue on our side? Anyone have an idea?
Beta Was this translation helpful? Give feedback.
All reactions