You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: DRA resource.k8s.io/v1 integration via draclient
Migrate Dynamic Resource Allocation from kubelet PodResources / v1alpha2-style usage to the stable resource.k8s.io/v1 API (Kubernetes 1.34+).
- Add pkg/draclient: fetch ResourceClaims and ResourceSlices, build pod resource map from device attributes (k8s.cni.cncf.io/deviceID, k8s.cni.cncf.io/resourceName) and ExtendedResourceClaimStatus
- Wire GetPodResourceMap into k8sclient; remove DRA path from kubeletclient
- RBAC: resourceclaims, resourceclaims/status, resourceslices (get, list) on multus ClusterRole
- Docs: DRA / NAD usage; tests for draclient and k8sclient
Co-authored-by: Sebastian Sch <sebassch@gmail.com>
Signed-off-by: Fred Rolland <frolland@nvidia.com>
Copy file name to clipboardExpand all lines: docs/how-to-use.md
+95-61Lines changed: 95 additions & 61 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -645,112 +645,139 @@ If you wish to have auto configuration use the `readinessindicatorfile` in the c
645
645
646
646
### Run pod with network annotation and Dynamic Resource Allocation driver
647
647
648
-
> :warning: Dynamic Resource Allocation (DRA) is [currently an alpha](https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/),
649
-
> and is subject to change. Please consider this functionality as a preview. The architecture and usage of DRA in
650
-
> Multus CNI may change in the future as this technology matures.
651
-
>
652
-
> The current DRA integration is based on the DRA API for Kubernetes 1.26 to 1.30. With Kubernetes 1.31, the DRA API
653
-
> will change and multus doesn't integrate with the new API yet.
654
648
655
-
Dynamic Resource Allocation is alternative mechanism to device plugin which allows to requests pod and container
656
-
resources.
649
+
Dynamic Resource Allocation is an alternative mechanism to device plugin which allows pods to request pod and container
650
+
resources dynamically.
657
651
658
-
The following sections describe how to use DRA with multus and NVIDIA DRA driver. Other DRA networking driver vendors
659
-
should follow similar concepts to make use of multus DRA support.
652
+
The following sections describe how to use DRA with Multus. DRA networking driver vendors should follow similar
0 commit comments