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
Remove unused containerRuntime field from CDI spec
This change removes the unused containerRuntime field from the CDI spec
to simplify the initial integrations with runtimes. This field can be
added in an updated spec version if required.
Signed-off-by: Evan Lezar <[email protected]>
*`containerRuntime` (array of string, OPTIONAL) indicates that this CDI specification targets only a specific container runtime.
149
-
If this field is indicated, the container runtime MUST use the one that matches its name if non exists it should use the one that does not indicate any `containerRuntime` value.
150
-
Possible values (not an exhaustive list): docker, podman, gvisor, lxc
151
-
152
145
#### CDI Devices
153
146
154
147
The `devices` field describes the set of hardware devices that can be requested by the container runtime user.
@@ -203,8 +196,6 @@ The `containerEdits` field has the following definition:
203
196
*`timeout` (int, OPTIONAL) is the number of seconds before aborting the hook. If set, timeout MUST be greater than zero. If not set container runtime will wait for the hook to return.
204
197
205
198
## Error Handling
206
-
* Two or more files with identical `kind` values and identical `containerRuntime` field.
207
-
Container runtimes should surface this error when any device with that `kind` is requested.
208
199
* Kind requested is not present in any CDI file.
209
200
Container runtimes should surface an error when a non existent kind is requested.
210
201
* Device (not device node) Requested does not exist.
0 commit comments