|
| 1 | +--- |
| 2 | +weight: 20 |
| 3 | +--- |
| 4 | + |
| 5 | +# Installation |
| 6 | + |
| 7 | +## Prerequisites |
| 8 | + |
| 9 | +- **NvidiaDriver v565+** |
| 10 | +- **Kubernetes v1.32+** |
| 11 | +- **ACP v4.1+** |
| 12 | +- **Cluster administrator access to your ACP cluster** |
| 13 | +- **CDI must be enabled in the underlying container runtime (such as containerd)** |
| 14 | +- **DRA and corresponding API groups must be enabled** |
| 15 | + |
| 16 | +## Procedure |
| 17 | + |
| 18 | +### Installing Nvidia driver in your gpu node |
| 19 | +Prefer to [Installation guide of Nvidia Official website](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/) |
| 20 | + |
| 21 | +### Installing Nvidia Container Runtime |
| 22 | +Prefer to [Installation guide of Nvidia Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) |
| 23 | + |
| 24 | +### Downloading Cluster plugin |
| 25 | + |
| 26 | +:::info |
| 27 | + |
| 28 | +`Alauda Build of NVIDIA DRA Driver for GPUs` cluster plugin can be retrieved from Customer Portal. |
| 29 | + |
| 30 | +Please contact Consumer Support for more information. |
| 31 | + |
| 32 | +::: |
| 33 | + |
| 34 | +### Uploading the Cluster plugin |
| 35 | + |
| 36 | +For more information on uploading the cluster plugin, please refer to <ExternalSiteLink name="acp" href="ui/cli_tools/index.html#uploading-cluster-plugins" children="Uploading Cluster Plugins" /> |
| 37 | + |
| 38 | +### Installing Alauda Build of NVIDIA DRA Driver for GPUs |
| 39 | + |
| 40 | +1. Add label "nvidia-device-enable=pgpu-dra" in your GPU node for `nvidia-dra-driver-gpu-kubelet-plugin` schedule. |
| 41 | + ```bash |
| 42 | + kubectl label nodes {nodeid} nvidia-device-enable=pgpu-dra |
| 43 | + ``` |
| 44 | + :::info |
| 45 | + **Note: On the same node, you can only set one of the following labels: `gpu=on`, `nvidia-device-enable=pgpu`, or `nvidia-device-enable=pgpu-dra`.** |
| 46 | + ::: |
| 47 | + |
| 48 | +2. Go to the `Administrator` -> `Marketplace` -> `Cluster Plugin` page, switch to the target cluster, and then deploy the `Alauda Build of NVIDIA DRA Driver for GPUs` Cluster plugin. |
| 49 | + |
| 50 | +3. Verify result. You can see the status of "Installed" in the UI or you can check the pod status: |
| 51 | + ```bash |
| 52 | + kubectl get pods -n kube-system | grep "nvidia-dra-driver-gpu" |
| 53 | + ``` |
| 54 | + You should get results similar to: |
| 55 | + ``` |
| 56 | + nvidia-dra-driver-gpu-controller-675644bfb5-c2hq4 1/1 Running 0 18h |
| 57 | + nvidia-dra-driver-gpu-kubelet-plugin-65fjt 2/2 Running 0 18h |
| 58 | + ``` |
| 59 | + |
| 60 | +### Upgrading Alauda Build of NVIDIA DRA Driver for GPUs |
| 61 | + |
| 62 | +1. Upload the new version for package of **Alauda Build of NVIDIA DRA Driver for GPUs** plugin to ACP. |
| 63 | +2. Go to the `Administrator` -> `Clusters` -> `Target Cluster` -> `Functional Components` page, then click the `Upgrade` button, and you will see the `Alauda Build of NVIDIA DRA Driver for GPUs` can be upgraded. |
0 commit comments