-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
fix: disable SchedulerQueueingHints feature flag by default #122289
Conversation
Please note that we're already in Test Freeze for the Fast forwards are scheduled to happen every 6 hours, whereas the most recent run was: Tue Dec 12 22:21:49 UTC 2023. |
@sanposhiho: GitHub didn't allow me to request PR reviews from the following users: kubernetes/sig-scheduling-approvers. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. 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. |
0786bd6
to
1e5f23e
Compare
/sig scheduling |
LGTM label has been added. Git tree hash: 2d338f8273d497d4ef6526c89610f1b6208a1bfa
|
/milestone v1.29 |
/hold There are unit tests that assume the gate is enabled. The minimal change is to enable the gate specifically for those tests: func TestPriorityQueue_MoveAllToActiveOrBackoffQueue(t *testing.T) {
c := testingclock.NewFakeClock(time.Now())
logger, ctx := ktesting.NewTestContext(t)
ctx, cancel := context.WithCancel(ctx)
defer cancel()
m := makeEmptyQueueingHintMapPerProfile()
+ defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.SchedulerQueueingHints, true)() func TestRequeueByPermitRejection(t *testing.T) {
+ defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.SchedulerQueueingHints, true)() |
LGTM from 1.29 Release Team, per the discussion in https://kubernetes.slack.com/archives/C2C40FMNF/p1702438650646789 |
1e5f23e
to
3b8f25d
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, sanposhiho 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 |
/lgtm |
LGTM label has been added. Git tree hash: f47771b4b06efe66b6bfae8b0265e0606ae77d72
|
@liggitt Thanks.
Added |
/lgtm |
Talked with @liggitt, we'll cherry-pick this for v1.28. |
/lgtm LGTM for quick fix, but seems we need to do more work later like in |
Better to open an issue to track that. |
thanks @sanposhiho |
…122289-upstream-release-1.28 Automated cherry pick of #122289: fix: disable SchedulerQueueingHints feature flag by default
What type of PR is this?
/kind bug
/priority critical-urgent
/triage accepted
What this PR does / why we need it:
disable the feature gate of SchedulerQueueingHints by default.
We discussed at slack:
https://kubernetes.slack.com/archives/C2C40FMNF/p1702438650646789
And decided we'll make the feature gate for QHint disable by default. (Actually, there was a discussion of disablement for this before because we observed a memory consumption issue: #120622)
#122284 reinforces that idea. We'll make it enable by default once all issues here + memory consumption issue are addressed.
Which issue(s) this PR fixes:
Temporal fix for #122284
Special notes for your reviewer:
/cc @kubernetes/sig-scheduling-approvers
/cc @kerthcet
/cc @liggitt
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: