-
Notifications
You must be signed in to change notification settings - Fork 4k
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
AWS: Decrease current size only once #2296
AWS: Decrease current size only once #2296
Conversation
8b4968d
to
b6bd06c
Compare
@johanneswuerbach: GitHub didn't allow me to assign the following users: piontec. Note that only kubernetes members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
It looks good to me. hold for a while and see if @piontec has other options. |
/lgtm |
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: losipiuk The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Sorry for the delay, yes, it was definitely OK to merge. |
CA 1.14 #2296 Cherry-pick
CA 1.13 #2296 Cherry-pick
CA 1.15 #2296 Cherry-pick
Deleting a placeholder instance introduced in #2235 seems to decrease the in-memory ASG size twice, once in the deletion loop itself and once in
decreaseAsgSizeByOneNoLock
, which callssetAsgSizeNoLock
and also updates thecurSize
This is actually not causing issues yet, as the ASG cache is force refreshed after a deletion now
autoscaler/cluster-autoscaler/cloudprovider/aws/aws_manager.go
Lines 283 to 284 in c3c9fc1
I still added a test to confirm that deleting placeholders actually works as expected.
//cc @piontec