Skip to content

Commit 3d96d2a

Browse files
authored
Merge pull request #4487 from elezar/kep4009-add-proposal-section
KEP-4009: Adding a proposal section
2 parents d942c93 + 255a002 commit 3d96d2a

File tree

1 file changed

+7
-2
lines changed
  • keps/sig-node/4009-add-cdi-devices-to-device-plugin-api

1 file changed

+7
-2
lines changed

keps/sig-node/4009-add-cdi-devices-to-device-plugin-api/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- [Summary](#summary)
66
- [Motivation](#motivation)
77
- [Goals](#goals)
8+
- [Proposal](#proposal)
89
- [Design Details](#design-details)
910
- [Test Plan](#test-plan)
1011
- [Prerequisite testing updates](#prerequisite-testing-updates)
@@ -92,6 +93,10 @@ Resource Allocation (DRA) based implementation.
9293
* Allow Device Plugin authors to forward device requests to CRI runtimes as a CRI field.
9394
* Allow Device Plugin authors to use CDI to define the modifications required for containerised environments.
9495

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+
95100
## Design Details
96101

97102
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.
205210
- Components depending on the feature gate: kubelet
206211
- [x] Pass CDI devices to the kubelet over the new field in the device plugin API
207212
- Will enabling / disabling the feature require downtime of the control
208-
plane?
213+
plane?
209214
No.
210215
- Will enabling / disabling the feature require downtime or reprovisioning
211216
of a node?
@@ -236,7 +241,7 @@ when the feature is enabled, and silently ignored if the feature is disabled.
236241
###### How can a rollout or rollback fail? Can it impact already running workloads?
237242

238243
The failure of the kubelet would mean that fields from new device allocations
239-
will not be processed.
244+
will not be processed.
240245

241246
However, CDI device themselves are only interpereted at container start.
242247
Existing containers that were started with support for CDI devices will not be

0 commit comments

Comments
 (0)