reference CDI configuration details
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
This commit is contained in:
parent
e14dca4a40
commit
e22a7a3833
@ -223,6 +223,8 @@ version = 2
|
|||||||
enable_cdi = false
|
enable_cdi = false
|
||||||
|
|
||||||
# cdi_spec_dirs is the list of directories to scan for CDI spec files
|
# cdi_spec_dirs is the list of directories to scan for CDI spec files
|
||||||
|
# For more details about CDI configuration please refer to
|
||||||
|
# https://github.com/container-orchestrated-devices/container-device-interface#containerd-configuration
|
||||||
cdi_spec_dirs = ["/etc/cdi", "/var/run/cdi"]
|
cdi_spec_dirs = ["/etc/cdi", "/var/run/cdi"]
|
||||||
|
|
||||||
# 'plugins."io.containerd.grpc.v1.cri".containerd' contains config related to containerd
|
# 'plugins."io.containerd.grpc.v1.cri".containerd' contains config related to containerd
|
||||||
|
@ -322,6 +322,8 @@ type PluginConfig struct {
|
|||||||
// https://github.com/container-orchestrated-devices/container-device-interface.
|
// https://github.com/container-orchestrated-devices/container-device-interface.
|
||||||
EnableCDI bool `toml:"enable_cdi" json:"enableCDI"`
|
EnableCDI bool `toml:"enable_cdi" json:"enableCDI"`
|
||||||
// CDISpecDirs is the list of directories to scan for Container Device Interface Specifications
|
// CDISpecDirs is the list of directories to scan for Container Device Interface Specifications
|
||||||
|
// For more details about CDI configuration please refer to
|
||||||
|
// https://github.com/container-orchestrated-devices/container-device-interface#containerd-configuration
|
||||||
CDISpecDirs []string `toml:"cdi_spec_dirs" json:"cdiSpecDirs"`
|
CDISpecDirs []string `toml:"cdi_spec_dirs" json:"cdiSpecDirs"`
|
||||||
// ImagePullProgressTimeout is the maximum duration that there is no
|
// ImagePullProgressTimeout is the maximum duration that there is no
|
||||||
// image data read from image registry in the open connection. It will
|
// image data read from image registry in the open connection. It will
|
||||||
|
Loading…
Reference in New Issue
Block a user