File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
demo/clusters/kind/scripts Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -39,18 +39,21 @@ docker exec -it "${KIND_CLUSTER_NAME}-worker" bash -c "apt-get update && apt-get
3939
4040docker exec -it " ${KIND_CLUSTER_NAME} -worker" bash -c " \
4141 curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
42- && curl -s -L https://nvidia.github.io/libnvidia-container/experimental /deb/nvidia-container-toolkit.list | \
42+ && curl -s -L https://nvidia.github.io/libnvidia-container/stable /deb/nvidia-container-toolkit.list | \
4343 sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
4444 tee /etc/apt/sources.list.d/nvidia-container-toolkit.list \
4545 && \
4646 apt-get update \
4747 && apt-get install -y nvidia-container-toolkit"
4848
49- # We configure the NVIDIA Container Runtime to only trigger on the nvidia.cdi.k8s.io annotation and enable CDI in containerd.
49+ # We configure the NVIDIA Container Runtime to only trigger on the nvidia.cdi.k8s.io
50+ # annotation and enable CDI in containerd. --config-source=command obtains the
51+ # containerd base config dynamically from containerd itself, via
52+ # `containerd config dump`. See https://github.com/NVIDIA/nvidia-container-toolkit/pull/686
5053docker exec -it " ${KIND_CLUSTER_NAME} -worker" bash -c " \
5154 nvidia-ctk config --set nvidia-container-runtime.modes.cdi.annotation-prefixes=nvidia.cdi.k8s.io/ \
5255 && \
53- nvidia-ctk runtime configure --runtime=containerd --cdi.enabled \
56+ nvidia-ctk runtime configure --runtime=containerd --cdi.enabled --config-source=command \
5457 && \
5558 systemctl restart containerd"
5659
You can’t perform that action at this time.
0 commit comments