File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,13 @@ version = 2
236
236
# enable_cdi enables support of the Container Device Interface (CDI)
237
237
# For more details about CDI and the syntax of CDI Spec files please refer to
238
238
# https://github.com/container-orchestrated-devices/container-device-interface.
239
- enable_cdi = false
239
+ # TODO: Deprecate this option when either Dynamic Resource Allocation(DRA)
240
+ # or CDI support for the Device Plugins are graduated to GA.
241
+ # `Dynamic Resource Allocation` KEP:
242
+ # https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/3063-dynamic-resource-allocation
243
+ # `Add CDI devices to device plugin API` KEP:
244
+ # https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/4009-add-cdi-devices-to-device-plugin-api
245
+ enable_cdi = true
240
246
241
247
# cdi_spec_dirs is the list of directories to scan for CDI spec files
242
248
# For more details about CDI configuration please refer to
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ func DefaultConfig() PluginConfig {
105
105
TolerateMissingHugetlbController : true ,
106
106
DisableHugetlbController : true ,
107
107
IgnoreImageDefinedVolumes : false ,
108
- EnableCDI : false ,
108
+ EnableCDI : true ,
109
109
CDISpecDirs : []string {"/etc/cdi" , "/var/run/cdi" },
110
110
DrainExecSyncIOTimeout : "0s" ,
111
111
EnableUnprivilegedPorts : true ,
You can’t perform that action at this time.
0 commit comments