-
Notifications
You must be signed in to change notification settings - Fork 300
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
Graduate MultiplePreemptions to Stable #3602
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
@@ -94,309 +94,6 @@ func TestClusterQueueUpdateWithFlavors(t *testing.T) { | |||
} | |||
} | |||
|
|||
func TestFitInCohort(t *testing.T) { |
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.
I can try to salvage these tests, if you think they're worth keeping. Let me know what you think, reviewers
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.
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.
I see, good question, the function is gone so we need to delete the tests for it, but maybe some of the low-level tests provide coverage for scenarios not handled by higher level tests.
Maybe you could run the following experiment: checkout main branch before this PR and generate coverage for TestFitInCohort, then checkout main and run coverage. check if there are any relevant branches which were covered before but now are missed.
6b91071
to
70af31c
Compare
Thank you for the cleanup. It basically means MultiplePreemptions is graduated to stable, so we should reflect that in the kube_features. cc @tenzen-y ? EDIT: what we typically do is we set the feature gate to stable, but keep it declared, so that users are not broken on upgrade if they have |
I think we shouldn't be cleaning up the logic while keeping the feature in Beta. I would be supportive of turning the PR into a feature which graduates the feature gate to stable. |
Yes, we should keep the feature gate for a while like 2 minor versions. |
@gabesaba please update it in kube_features, and just add a comment, "// remove in 1.12" |
70af31c
to
1b42425
Compare
Updated. Is feature_gate.GA correct, or should I leave that as beta? |
1b42425
to
4438459
Compare
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
Seeing scheduling simplified is awesome!
LGTM label has been added. Git tree hash: 600e9ddb73f0e66cf9466003bfcfdccc1af27e2f
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gabesaba, 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 |
/kind feature |
/release-note-edit
|
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Graduate MultiplePreemptions to stable, while cleaning up MultiplePreemptions=false branch. This simplifies the code base.
Which issue(s) this PR fixes:
Fixes #3601
Special notes for your reviewer:
Does this PR introduce a user-facing change?