Add SchedulerPopFromBackoffQ feature gate for KEP-5142

This commit is contained in:
Maciej Skoczeń 2025-03-03 10:19:08 +00:00
parent af3b4cd57a
commit 8d4eaa024d
3 changed files with 17 additions and 0 deletions

View File

@ -632,6 +632,13 @@ const (
// which improves the scheduling latency when the preemption involves in. // which improves the scheduling latency when the preemption involves in.
SchedulerAsyncPreemption featuregate.Feature = "SchedulerAsyncPreemption" SchedulerAsyncPreemption featuregate.Feature = "SchedulerAsyncPreemption"
// owner: @macsko
// kep: http://kep.k8s.io/5142
//
// Improves scheduling queue behavior by popping pods from the backoffQ when the activeQ is empty.
// This allows to process potentially schedulable pods ASAP, eliminating a penalty effect of the backoff queue.
SchedulerPopFromBackoffQ featuregate.Feature = "SchedulerPopFromBackoffQ"
// owner: @atosatto @yuanchen8911 // owner: @atosatto @yuanchen8911
// kep: http://kep.k8s.io/3902 // kep: http://kep.k8s.io/3902
// //

View File

@ -660,6 +660,10 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
{Version: version.MustParse("1.32"), Default: false, PreRelease: featuregate.Alpha}, {Version: version.MustParse("1.32"), Default: false, PreRelease: featuregate.Alpha},
}, },
SchedulerPopFromBackoffQ: {
{Version: version.MustParse("1.33"), Default: true, PreRelease: featuregate.Beta},
},
SchedulerQueueingHints: { SchedulerQueueingHints: {
{Version: version.MustParse("1.28"), Default: false, PreRelease: featuregate.Beta}, {Version: version.MustParse("1.28"), Default: false, PreRelease: featuregate.Beta},
{Version: version.MustParse("1.32"), Default: true, PreRelease: featuregate.Beta}, {Version: version.MustParse("1.32"), Default: true, PreRelease: featuregate.Beta},

View File

@ -1149,6 +1149,12 @@
lockToDefault: false lockToDefault: false
preRelease: Alpha preRelease: Alpha
version: "1.32" version: "1.32"
- name: SchedulerPopFromBackoffQ
versionedSpecs:
- default: true
lockToDefault: false
preRelease: Beta
version: "1.33"
- name: SchedulerQueueingHints - name: SchedulerQueueingHints
versionedSpecs: versionedSpecs:
- default: false - default: false