File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
demo/clusters/kind/scripts Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,14 @@ docker exec -it "${KIND_CLUSTER_NAME}-worker" bash -c " \
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