multus-cni icon indicating copy to clipboard operation
multus-cni copied to clipboard

add support for Dynamic Resource Allocation

Open moshe010 opened this issue 1 year ago • 19 comments

Dynamic Resource Allocation was added to k8s 1.26 [1]. In k8s 1.27 we added PodResources API to expose the dynamic resources from kubelet.

This PR allow multus to get Dynamic Resource from the podResource API and pass it to CNI as DeviceID. To use this you will need k8s .127 with DynamicResourceAllocation and KubeletPodResourcesDynamicResources feature gates enabled.

[1] - https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/3063-dynamic-resource-allocation [2] - https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/3695-pod-resources-for-dra

moshe010 avatar Apr 24 '23 08:04 moshe010