Open AiRanthem opened 4 weeks ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign fei-guo for approval by writing /assign @fei-guo
in a comment. For more information see:The Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Attention: Patch coverage is 49.30876%
with 110 lines
in your changes missing coverage. Please review.
Project coverage is 49.39%. Comparing base (
0d0031a
) to head (378185c
). Report is 94 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Ⅰ. Describe what this PR does
Added an adaptive scheduling strategy to UnitedDeployment. During scaling up, if a subset causes some Pods to be unschedulable for certain reasons, the unschedulable Pods will be rescheduled to other partitions. During scaling down, if elastic allocation is used (i.e., the subset is configured with min/max), each partition will retain the ready Pods as much as possible without exceeding the maximum capacity, rather than strictly scaling down in reverse order of the Subset list.
Ⅱ. Does this pull request fix one issue?
fixes #1673
Ⅲ. Describe how to verify it
Use the yaml below to create a UD with subset-b unschedulable.
Ⅳ. Special notes for reviews