-
Notifications
You must be signed in to change notification settings - Fork 600
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
Autoscaler considers reserved and pending replicas #7027
Autoscaler considers reserved and pending replicas #7027
Conversation
aa5f8cd
to
bcd9382
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #7027 +/- ##
==========================================
- Coverage 77.89% 77.65% -0.24%
==========================================
Files 246 246
Lines 13214 13301 +87
==========================================
+ Hits 10293 10329 +36
- Misses 2400 2450 +50
- Partials 521 522 +1
☔ View full report in Codecov by Sentry. |
Signed-off-by: Pierangelo Di Pilato <[email protected]>
Signed-off-by: Pierangelo Di Pilato <[email protected]>
bcd9382
to
37bb493
Compare
Signed-off-by: Pierangelo Di Pilato <[email protected]>
Signed-off-by: Pierangelo Di Pilato <[email protected]>
Signed-off-by: Pierangelo Di Pilato <[email protected]>
Signed-off-by: Pierangelo Di Pilato <[email protected]>
Signed-off-by: Pierangelo Di Pilato <[email protected]>
Pending map[types.NamespacedName]int32 | ||
|
||
// ExpectedVReplicaByVPod is the expected virtual replicas for each vpod key | ||
ExpectedVReplicaByVPod map[types.NamespacedName]int32 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the naming is a bit inconsistent, but we can fix that afterwards (e.g. PendingVReplica...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matzew, pierDipi 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 |
* Autoscaler considers reserved and pending replicas Signed-off-by: Pierangelo Di Pilato <[email protected]> * Format / lint fix Signed-off-by: Pierangelo Di Pilato <[email protected]> * Simplify MAXFILLUP logic to get the expected replicas Signed-off-by: Pierangelo Di Pilato <[email protected]> * Fix state tests Signed-off-by: Pierangelo Di Pilato <[email protected]> * Log scheduling state Signed-off-by: Pierangelo Di Pilato <[email protected]> * Add grace period to scale down attempts Signed-off-by: Pierangelo Di Pilato <[email protected]> * Format Go code Signed-off-by: Pierangelo Di Pilato <[email protected]> --------- Signed-off-by: Pierangelo Di Pilato <[email protected]>
/cherry-pick release-1.11 |
/cherry-pick release-1.10 |
@pierDipi: new pull request created: #7216 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. |
@pierDipi: #7027 failed to apply on top of branch "release-1.10":
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. |
* Autoscaler considers reserved and pending replicas * Format / lint fix * Simplify MAXFILLUP logic to get the expected replicas * Fix state tests * Log scheduling state * Add grace period to scale down attempts * Format Go code --------- Signed-off-by: Pierangelo Di Pilato <[email protected]>
* Autoscaler considers reserved and pending replicas Signed-off-by: Pierangelo Di Pilato <[email protected]> * Format / lint fix Signed-off-by: Pierangelo Di Pilato <[email protected]> * Simplify MAXFILLUP logic to get the expected replicas Signed-off-by: Pierangelo Di Pilato <[email protected]> * Fix state tests Signed-off-by: Pierangelo Di Pilato <[email protected]> * Log scheduling state Signed-off-by: Pierangelo Di Pilato <[email protected]> * Add grace period to scale down attempts Signed-off-by: Pierangelo Di Pilato <[email protected]> * Format Go code Signed-off-by: Pierangelo Di Pilato <[email protected]> --------- Signed-off-by: Pierangelo Di Pilato <[email protected]>
* Autoscaler considers reserved and pending replicas * Format / lint fix * Simplify MAXFILLUP logic to get the expected replicas * Fix state tests * Log scheduling state * Add grace period to scale down attempts * Format Go code --------- Signed-off-by: Pierangelo Di Pilato <[email protected]> Co-authored-by: Pierangelo Di Pilato <[email protected]>
Fixes #6733
Signed-off-by: Pierangelo Di Pilato [email protected]