Skip to content

Commit 6f2376d

Browse files
committed
containerd: enable cdi mode
Signed-off-by: Jingwei Wang <[email protected]>
1 parent c09e3e9 commit 6f2376d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/containerd/containerd-config-toml_k8s_nvidia_containerd_sock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ address = "/run/containerd/containerd.sock"
2121
[plugins."io.containerd.grpc.v1.cri"]
2222
device_ownership_from_security_context = {{default false settings.kubernetes.device-ownership-from-security-context}}
2323
enable_selinux = true
24+
enable_cdi = true
2425
# Pause container image is specified here, shares the same image as kubelet's pod-infra-container-image
2526
sandbox_image = "localhost/kubernetes/pause:0.1.0"
2627
{{#if settings.container-runtime.max-container-log-line-size}}

0 commit comments

Comments
 (0)