KEP-5491: add DRAListTypeAttributes feature gate with Alpha

This commit is contained in:
Shingo Omura
2026-03-16 18:58:39 +09:00
parent 880a6dda4c
commit 81c0b9ce34
3 changed files with 21 additions and 0 deletions

View File

@@ -227,6 +227,14 @@ const (
// Enables support for providing extended resource requests backed by DRA.
DRAExtendedResource featuregate.Feature = "DRAExtendedResource"
// owner: @everpeace
// kep: http://kep.k8s.io/5491
//
// Enable list type attributes for DRA devices in ResourceSlice
// and extends ResourceClaim's matchAttribute/distinctAttribute
// semantics so that they can work with list type attributes.
DRAListTypeAttributes featuregate.Feature = "DRAListTypeAttributes"
// owner: @pravk03
// kep: https://kep.k8s.io/5517
//
@@ -1328,6 +1336,10 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
{Version: version.MustParse("1.36"), Default: true, PreRelease: featuregate.Beta},
},
DRAListTypeAttributes: {
{Version: version.MustParse("1.36"), Default: false, PreRelease: featuregate.Alpha},
},
DRANodeAllocatableResources: {
{Version: version.MustParse("1.36"), Default: false, PreRelease: featuregate.Alpha},
},
@@ -2369,6 +2381,8 @@ var defaultKubernetesFeatureGateDependencies = map[featuregate.Feature][]feature
DRAExtendedResource: {DynamicResourceAllocation},
DRAListTypeAttributes: {DynamicResourceAllocation},
DRANodeAllocatableResources: {DynamicResourceAllocation},
DRAPartitionableDevices: {DynamicResourceAllocation},

View File

@@ -59,6 +59,7 @@
| DRADeviceTaintRules | | | 1.35 | 1.36 | | | DRADeviceTaints | [code](https://cs.k8s.io/?q=%5CbDRADeviceTaintRules%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/kubernetes) [KEPs](https://cs.k8s.io/?q=%5CbDRADeviceTaintRules%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/enhancements) |
| DRADeviceTaints | :ballot_box_with_check: 1.36+ | | 1.331.35 | 1.36 | | | DynamicResourceAllocation | [code](https://cs.k8s.io/?q=%5CbDRADeviceTaints%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/kubernetes) [KEPs](https://cs.k8s.io/?q=%5CbDRADeviceTaints%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/enhancements) |
| DRAExtendedResource | :ballot_box_with_check: 1.36+ | | 1.341.35 | 1.36 | | | DynamicResourceAllocation | [code](https://cs.k8s.io/?q=%5CbDRAExtendedResource%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/kubernetes) [KEPs](https://cs.k8s.io/?q=%5CbDRAExtendedResource%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/enhancements) |
| DRAListTypeAttributes | | | 1.36 | | | | DynamicResourceAllocation | [code](https://cs.k8s.io/?q=%5CbDRAListTypeAttributes%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/kubernetes) [KEPs](https://cs.k8s.io/?q=%5CbDRAListTypeAttributes%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/enhancements) |
| DRANodeAllocatableResources | | | 1.36 | | | | DynamicResourceAllocation | [code](https://cs.k8s.io/?q=%5CbDRANodeAllocatableResources%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/kubernetes) [KEPs](https://cs.k8s.io/?q=%5CbDRANodeAllocatableResources%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/enhancements) |
| DRAPartitionableDevices | :ballot_box_with_check: 1.36+ | | 1.331.35 | 1.36 | | | DynamicResourceAllocation | [code](https://cs.k8s.io/?q=%5CbDRAPartitionableDevices%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/kubernetes) [KEPs](https://cs.k8s.io/?q=%5CbDRAPartitionableDevices%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/enhancements) |
| DRAPrioritizedList | :ballot_box_with_check: 1.34+ | | 1.33 | 1.341.35 | 1.36 | | DynamicResourceAllocation | [code](https://cs.k8s.io/?q=%5CbDRAPrioritizedList%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/kubernetes) [KEPs](https://cs.k8s.io/?q=%5CbDRAPrioritizedList%5Cb&i=nope&files=&excludeFiles=CHANGELOG&repos=kubernetes/enhancements) |

View File

@@ -587,6 +587,12 @@
lockToDefault: false
preRelease: Beta
version: "1.36"
- name: DRAListTypeAttributes
versionedSpecs:
- default: false
lockToDefault: false
preRelease: Alpha
version: "1.36"
- name: DRANodeAllocatableResources
versionedSpecs:
- default: false