multus-cni
multus-cni copied to clipboard
add support for Dynamic Resource Allocation
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