mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 05:01:46 +00:00
DRA: Feature gate for Partitionable Devices
Co-authored-by: cici37 <cicih@google.com>
This commit is contained in:
committed by
Cici Huang
parent
67bdb110b4
commit
deaaa124a5
@@ -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},
|
||||||
},
|
},
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user