-
Notifications
You must be signed in to change notification settings - Fork 769
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
CloneSet scale down schedule-failed pods firstly #1515
CloneSet scale down schedule-failed pods firstly #1515
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
if the partition is 50%, then it is reasonable to keep 10 running pods. However if the partition is absolute value, keeping 10 running pods will break the semantic meaning of partition. Is it ok for you to change the partition to percent form? |
Signed-off-by: 孙伟祥 <[email protected]>
288f9ad
to
344c29e
Compare
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1515 +/- ##
==========================================
- Coverage 49.21% 49.19% -0.03%
==========================================
Files 157 157
Lines 22604 22634 +30
==========================================
+ Hits 11125 11135 +10
- Misses 10268 10288 +20
Partials 1211 1211
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@veophi: PR needs rebase. 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. |
Why not upgra partition is absolute value,
Will extra 2 upgraded Pods rollback to current revision if we prefer scale down failed Pod? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Ⅰ. Describe what this PR does
In the scene:
when scaling down CloneSet from 20 to 10, we hope that 10 running Pods are reserved. Howerver, 10 current-revision pods will be reserved in current kruise version.
Ⅱ. Does this pull request fix one issue?
Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews