Skip to content

Conversation

ArangoGutierrez
Copy link
Collaborator

No description provided.

.. code-block:: console
$ 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
$ 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
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot

This comment was marked as outdated.

@ArangoGutierrez
Copy link
Collaborator Author

cc @sjug

Copy link

Documentation preview

https://nvidia.github.io/cloud-native-docs/review/pr-235

@sjug
Copy link

sjug commented Aug 21, 2025

Hey @ArangoGutierrez thanks for the update. I think that the libnvidia-container repo is also wrong? I tried some different RHEL versions but some docs showed it as:

https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo

That being said, I don't know what is correct.

@ArangoGutierrez
Copy link
Collaborator Author

https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo

Thanks @sjug I have updated the PR, please take a look

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the documentation for NVIDIA GPU support with device edge by modernizing the installation and configuration steps. The changes reflect updates to NVIDIA's repository URLs and tooling configuration.

  • Updates NVIDIA container toolkit repository URL to use the stable branch instead of a specific RHEL version
  • Adds CDI mode configuration for the NVIDIA Container Toolkit
  • Updates file paths to use the manifests.d directory structure and changes the device plugin source URL

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@sjug
Copy link

sjug commented Aug 21, 2025

/lgtm

Thanks @ArangoGutierrez!

Copy link
Collaborator

@chenopis chenopis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

.. code-block:: console
$ curl -s -L https://nvidia.github.io/libnvidia-container/rhel8.7/libnvidia-container.repo | sudo tee /etc/yum.repos.d/libnvidia-container.repo
$ curl -s -L https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo | sudo tee /etc/yum.repos.d/libnvidia-container.repo
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Does it make sense to link to the official docs instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think is a question for @chenopis

.. code-block:: console
$ 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
$ 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.d/nvidia-device-plugin/nvidia-device-plugin.yml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Instead of doing this, does it make sense to generate a YAML file using helm template?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think no.
Why: This documentation page is for Microshift users, and they might not have helm installed on their hosts. I understand Helm is our official deployment method, but this is a corner case we are documenting for a platform (user base) that don't use Helm

$ sudo mkdir -p /etc/microshift/manifests
$ sudo mkdir -p /etc/microshift/manifests.d/nvidia-device-plugin
#. The device plugin runs in privileged mode, so you need to isolate it from other workloads by running it in its own namespace, ``nvidia-device-plugin``. To add the plugin to the manifests deployed by MicroShift at start time, download the configuration file and save it at ``/etc/microshift/manifests/nvidia-device-plugin.yml``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This paragraph refers to a different path than the actual code block below.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line updated

Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants