Skip to content

Commit 282683c

Browse files
Update edge/nvidia-gpu-with-device-edge docs
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
1 parent baf96a6 commit 282683c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

edge/nvidia-gpu-with-device-edge.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ The NVIDIA container toolkit supports the distributions listed in the `NVIDIA Co
142142
143143
$ sudo dnf install nvidia-container-toolkit -y
144144
145+
#. Set the NVIDIA Container Toolkit to use the CDI mode:
146+
147+
.. code-block:: console
148+
149+
$ sudo nvidia-ctk config --in-place --set nvidia-container-runtime.mode=cdi
145150
146151
#. The NVIDIA Container Toolkit requires some SELinux permissions to work properly. These permissions are set in three steps.
147152

@@ -191,7 +196,7 @@ The NVIDIA container toolkit supports the distributions listed in the `NVIDIA Co
191196
$ semodule_package --outfile nvidia-container-microshift.pp --module nvidia-container-microshift.mod
192197
193198
194-
F. Apply the policy:
199+
F. Apply the policy:
195200

196201
.. code-block:: console
197202
@@ -220,7 +225,7 @@ The deployment consists of adding manifests and a ``kustomize`` configuration to
220225

221226
.. code-block:: console
222227
223-
$ curl -s -L https://gitlab.com/nvidia/kubernetes/device-plugin/-/raw/main/deployments/static/nvidia-device-plugin-privileged-with-service-account.yml | sudo tee /etc/microshift/manifests/nvidia-device-plugin.yml
228+
$ curl -s -L https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/refs/heads/main/deployments/static/nvidia-device-plugin-privileged-with-service-account.yml | sudo tee /etc/microshift/manifests/nvidia-device-plugin.yml
224229
225230
#. The resources are not created automatically even though the files exist. You need to add them to the ``kustomize`` configuration. Do this by adding a single ``kustomization.yaml`` file in the ``manifests`` folder that references all the resources you want to create.
226231

0 commit comments

Comments
 (0)