VK Cloud logo

DRA Driver for NVIDIA GPUs

Preparation steps

  1. Review the system requirements of the add-on to make sure you have enough resources to install it.
  2. (Optional) Perform manual scaling of worker node groups or set up automatic scaling.

Installing the add-on

The DRA Driver for NVIDIA GPUs add-on runs on worker nodes with GPUs, so only installation on dedicated nodes is available for it. To add worker nodes with GPUs to the cluster, first connect the Cloud GPU service.

  1. Prepare a dedicated worker node group for the add-on installation, if not done yet:

    1. Navigate to the VK Cloud management console.

    2. Select the project where the desired cluster is located.

    3. Go to the Kubernetes Clusters → Kubernetes Clusters section.

    4. Find the desired cluster in the list.

    5. Make sure the cluster has a dedicated worker node group with GPUs where the add-ons will be deployed.

      If there is no such group, add one.

    6. (Optional) If only processes that require GPU resources should run on the nodes with GPUs, apply a taint to this node group:

      • the NoSchedule effect;
      • the nvidia.com/gpu key;
      • the gpu value.
  2. Install the add-on:

    1. Navigate to the VK Cloud management console.

    2. Select the project where the desired cluster is located.

    3. Go to the Kubernetes Clusters → Kubernetes Clusters section.

    4. Click the name of the desired cluster.

    5. Go to the Add-ons tab.

    6. Click the Install button on the dra-driver-nvidia-gpu add-on card and click the Install add-on button.

    7. (Optional) Edit:

      • the selected version;

      • the application name;

      • the name of the namespace where the add-on will be installed;

      • the add-on configuration code.

    8. Click the Install add-on button.

      The add-on installation in the cluster will start. This process may take a long time.

  3. (Optional) Review the official documentation on working with the DRA driver for GPUs.

Editing the add-on configuration code during installation

The full add-on configuration code along with field descriptions is available on GitHub.

After editing the code, continue the add-on installation.

Was this article helpful?