-
Notifications
You must be signed in to change notification settings - Fork 474
Drop MostFreeCapacity mode #5536
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
Drop MostFreeCapacity mode #5536
Conversation
|
Hi @lchrzaszcz. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
|
/ok-to-test |
|
Dropping MostFreeCapacity feature-gate was indeed the decision of discussions here: #5449 (comment). The change LGTM, I'm happy to approve when tests pass. cc @tenzen-y |
|
As I commented in #5449, I want to just move the MostFreeCapacity descriptin to Alternative section since we actually support the strategy in v0.12. So, It would be better to leave the description and the reason why we removed it in the v0.13. |
|
sgtm, I think the reason is code simplicity, while there are no use-cases. We haven't heard user feedback requiring it since was deprecated, and replaced by BestFit by default. |
| }, | ||
| }, | ||
| }, | ||
| "unconstrained; 6 pods fit into hosts scattered across the whole datacenter even they could fit into single rack; MostFreeCapacityFit": { |
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.
Similar "BestFit" test unconstrained; 6 pods fit into hosts scattered across the whole datacenter even they could fit into single rack; BestFit present.
| }, | ||
| }, | ||
| }, | ||
| "unconstrained; a single pod fits into each host; MostFreeCapacity": { |
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.
Similar "BestFit" test unconstrained; a single pod fits into each host; BestFit present.
| }, | ||
| enableFeatureGates: []featuregate.Feature{features.TASProfileMixed}, | ||
| }, | ||
| "block required; 4 pods fit into one host each; MostFreeCapacity": { |
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.
Similar "BestFit" test block required; 4 pods fit into one host each; BestFit present.
| }, | ||
| }, | ||
| }, | ||
| "host required; single Pod fits in the host; MostFreeCapacity": { |
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.
Similar "BestFit" test host required; single Pod fits in the host; BestFit present.
| Count: 1, | ||
| Values: []string{ | ||
| "b1", | ||
| "r2", |
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 rack is optimized in BestFit, so I had to change the expected result.
| }, | ||
| enableFeatureGates: []featuregate.Feature{features.TASProfileLeastFreeCapacity}, | ||
| }, | ||
| "rack required; multiple Pods fits in a rack; MostFreeCapacity": { |
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.
Similar "BestFit" test rack required; multiple Pods fit in a rack; BestFit present.
|
|
||
| enableFeatureGates: []featuregate.Feature{features.TASProfileMostFreeCapacity}, | ||
| }, | ||
| "block required; single Pod fits in a block; MostFreeCapacity": { |
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.
Similar "BestFit" test block required; single Pod fits in a block and a single rack; BestFit.
|
/lgtm |
|
LGTM label has been added. Git tree hash: 10601ec12420f80c46a6bb92b6c8d5870c2116ce
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lchrzaszcz, mimowo 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 |
tenzen-y
left a comment
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.
Overall LGTM, thank you
@lchrzaszcz could you open a follow-up PR?
| We will decide on the format of this field based on the feedback from the | ||
| customers on the MVP. | ||
|
|
||
| ### MostFreeCapacity algorithm |
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.
@lchrzaszcz Could you move | TASProfileMostFreeCapacity (deprecated) | MostFreeCapacity | MostFreeCapacity | MostFreeCapacity | table to here?
| | `WorkloadResourceRequestsSummary` | `false` | Alpha | 0.9 | 0.10 | | ||
| | `WorkloadResourceRequestsSummary` | `true` | Beta | 0.10 | 0.11 | | ||
| | `WorkloadResourceRequestsSummary` | `true` | GA | 0.11 | | | ||
| | `TASProfileMostFreeCapacity` | `false` | Deprecated | 0.11 | | |
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.
| | `TASProfileMostFreeCapacity` | `false` | Deprecated | 0.11 | | | |
| | `TASProfileMostFreeCapacity` | `false` | Deprecated | 0.11 | 0.13 | |
We should not remove this.
|
/release-note-edit |
|
This is actually action required change. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
According to the discussion in this PR: #5449, we have decided to drop the support for
MostFreeCapacitymode.This PR removes the
MostFreeCapacitymode from Kueue.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?