Skip to content

Commit 8d4eaa0

Browse files
committed
Add SchedulerPopFromBackoffQ feature gate for KEP-5142
1 parent af3b4cd commit 8d4eaa0

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

pkg/features/kube_features.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,13 @@ const (
632632
// which improves the scheduling latency when the preemption involves in.
633633
SchedulerAsyncPreemption featuregate.Feature = "SchedulerAsyncPreemption"
634634

635+
// owner: @macsko
636+
// kep: http://kep.k8s.io/5142
637+
//
638+
// Improves scheduling queue behavior by popping pods from the backoffQ when the activeQ is empty.
639+
// This allows to process potentially schedulable pods ASAP, eliminating a penalty effect of the backoff queue.
640+
SchedulerPopFromBackoffQ featuregate.Feature = "SchedulerPopFromBackoffQ"
641+
635642
// owner: @atosatto @yuanchen8911
636643
// kep: http://kep.k8s.io/3902
637644
//

pkg/features/versioned_kube_features.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,10 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
660660
{Version: version.MustParse("1.32"), Default: false, PreRelease: featuregate.Alpha},
661661
},
662662

663+
SchedulerPopFromBackoffQ: {
664+
{Version: version.MustParse("1.33"), Default: true, PreRelease: featuregate.Beta},
665+
},
666+
663667
SchedulerQueueingHints: {
664668
{Version: version.MustParse("1.28"), Default: false, PreRelease: featuregate.Beta},
665669
{Version: version.MustParse("1.32"), Default: true, PreRelease: featuregate.Beta},

test/compatibility_lifecycle/reference/versioned_feature_list.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,12 @@
11491149
lockToDefault: false
11501150
preRelease: Alpha
11511151
version: "1.32"
1152+
- name: SchedulerPopFromBackoffQ
1153+
versionedSpecs:
1154+
- default: true
1155+
lockToDefault: false
1156+
preRelease: Beta
1157+
version: "1.33"
11521158
- name: SchedulerQueueingHints
11531159
versionedSpecs:
11541160
- default: false

0 commit comments

Comments
 (0)