DRA: Feature gate for Partitionable Devices

Co-authored-by: cici37 <cicih@google.com>
This commit is contained in:
Morten Torkildsen
2025-02-18 17:58:07 +00:00
committed by Cici Huang
parent 67bdb110b4
commit deaaa124a5
2 changed files with 18 additions and 0 deletions

View File

@@ -231,6 +231,14 @@ const (
// cause pods using them to stop. Users can decide to tolerate taints. // cause pods using them to stop. Users can decide to tolerate taints.
DRADeviceTaints featuregate.Feature = "DRADeviceTaints" DRADeviceTaints featuregate.Feature = "DRADeviceTaints"
// owner: @mortent, @cici37
// kep: http://kep.k8s.io/4815
//
// Enables support for dynamically partitioning devices based on
// which parts of them were allocated during scheduling.
//
DRAPartitionableDevices featuregate.Feature = "DRAPartitionableDevices"
// owner: @mortent // owner: @mortent
// kep: http://kep.k8s.io/4816 // kep: http://kep.k8s.io/4816
// //
@@ -1114,6 +1122,10 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
{Version: version.MustParse("1.33"), Default: false, PreRelease: featuregate.Alpha}, {Version: version.MustParse("1.33"), Default: false, PreRelease: featuregate.Alpha},
}, },
DRAPartitionableDevices: {
{Version: version.MustParse("1.33"), Default: false, PreRelease: featuregate.Alpha},
},
DRAPrioritizedList: { DRAPrioritizedList: {
{Version: version.MustParse("1.33"), Default: false, PreRelease: featuregate.Alpha}, {Version: version.MustParse("1.33"), Default: false, PreRelease: featuregate.Alpha},
}, },

View File

@@ -441,6 +441,12 @@
lockToDefault: false lockToDefault: false
preRelease: Alpha preRelease: Alpha
version: "1.33" version: "1.33"
- name: DRAPartitionableDevices
versionedSpecs:
- default: false
lockToDefault: false
preRelease: Alpha
version: "1.33"
- name: DRAPrioritizedList - name: DRAPrioritizedList
versionedSpecs: versionedSpecs:
- default: false - default: false