Skip to content

Commit 0faebe3

Browse files
committed
DRA: Add DRAPrioritizedList feature gate for Prioritized Alternatives in Device Requests
1 parent ef1c659 commit 0faebe3

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

pkg/features/kube_features.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,14 @@ const (
201201
// is to move it into a separate KEP.
202202
DRAAdminAccess featuregate.Feature = "DRAAdminAccess"
203203

204+
// owner: @mortent
205+
// kep: http://kep.k8s.io/4816
206+
//
207+
// Enables support for providing a prioritized list of requests
208+
// for resources. The first entry that can be satisfied will
209+
// be selected.
210+
DRAPrioritizedList featuregate.Feature = "DRAPrioritizedList"
211+
204212
// owner: @pohly
205213
// kep: http://kep.k8s.io/4381
206214
//

pkg/features/versioned_kube_features.go

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

176+
DRAPrioritizedList: {
177+
{Version: version.MustParse("1.33"), Default: false, PreRelease: featuregate.Alpha},
178+
},
179+
176180
DynamicResourceAllocation: {
177181
{Version: version.MustParse("1.26"), Default: false, PreRelease: featuregate.Alpha},
178182
{Version: version.MustParse("1.32"), Default: false, PreRelease: featuregate.Beta},

0 commit comments

Comments
 (0)