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
@@ -92,6 +93,10 @@ Resource Allocation (DRA) based implementation.
92
93
* Allow Device Plugin authors to forward device requests to CRI runtimes as a CRI field.
93
94
* Allow Device Plugin authors to use CDI to define the modifications required for containerised environments.
94
95
96
+
## Proposal
97
+
98
+
We propose a mechanism for device plugin authors to specify devices using Container Device Interface (CDI) names. The names of the requested devices are passed down as CRI fields to CRI runtimes which are ultimately responsible for making the requested devices accessible from a container.
99
+
95
100
## Design Details
96
101
97
102
This adds a repeated `CDIDevice` field to the exiting `ContainerAllocateResponse` returned as part of the
@@ -205,7 +210,7 @@ plugins are not expected to break.
205
210
- Components depending on the feature gate: kubelet
206
211
-[x] Pass CDI devices to the kubelet over the new field in the device plugin API
207
212
- Will enabling / disabling the feature require downtime of the control
208
-
plane?
213
+
plane?
209
214
No.
210
215
- Will enabling / disabling the feature require downtime or reprovisioning
211
216
of a node?
@@ -236,7 +241,7 @@ when the feature is enabled, and silently ignored if the feature is disabled.
236
241
###### How can a rollout or rollback fail? Can it impact already running workloads?
237
242
238
243
The failure of the kubelet would mean that fields from new device allocations
239
-
will not be processed.
244
+
will not be processed.
240
245
241
246
However, CDI device themselves are only interpereted at container start.
242
247
Existing containers that were started with support for CDI devices will not be
0 commit comments