gpu-beta
Introduction
gpu-beta is a device management add-on that supports GPUs in containers. It supports only NVIDIA Tesla drivers.
Notes and Constraints
- If GPU nodes are used in the cluster, the gpu-beta add-on must be installed.
- The driver to be downloaded must be a .run file.
- Only Tesla drivers are supported, not GRID drivers.
- If the download link is a public network address, for example, https://us.download.nvidia.com/tesla/396.37/NVIDIA-Linux-x86_64-396.37.run, bind an EIP to each GPU node. For details about how to obtain the driver link, see Obtaining the Driver Link from Public Network.
- If the download link is an OBS URL, you do not need to bind an EIP to GPU nodes. For details about how to obtain the driver link, see Obtaining the Driver Link from OBS.
- Ensure that the NVIDIA driver version matches the GPU node.
- After the driver version is changed, restart the node for the change to take effect.
Installing the Add-on
- Log in to the CCE console and access the cluster details page. Choose Add-ons in the navigation pane, locate gpu-beta on the right, and click Install.
- Configure the driver link.
- Click Install.
Verifying the Add-on
After the add-on is installed, run the nvidia-smi command on the GPU node and the container that schedules GPU resources to verify the availability of the GPU device and driver.
cd /opt/cloud/cce/nvidia/bin && ./nvidia-smi
Container:
cd /usr/local/nvidia/bin && ./nvidia-smi
If GPU information is returned, the device is available and the add-on is successfully installed.

Obtaining the Driver Link from Public Network
- Log in to the CCE console.
- Click Create Node and select the GPU node to be created in the Specifications area. The GPU card model of the node is displayed in the lower part of the page. Figure 1 Viewing the GPU card model
- Visit https://www.nvidia.com/Download/Find.aspx?lang=en.
- Select the driver information on the NVIDIA Driver Downloads page, as shown in Figure 2. Operating System must be Linux 64-bit.
- After confirming the driver information, click SEARCH. A page is displayed, showing the driver information, as shown in Figure 3. Click DOWNLOAD.
- Obtain the driver link in either of the following ways:
- Method 1: As shown in Figure 4, find url=/tesla/396.37/NVIDIA-Linux-x86_64-396.37.run in the browser address box. Then, supplement it to obtain the driver link https://us.download.nvidia.com/tesla/396.37/NVIDIA-Linux-x86_64-396.37.run. By using this method, you must bind an EIP to each GPU node.
- Method 2: As shown in Figure 4, click AGREE & DOWNLOAD to download the driver. Then, upload the driver to OBS and record the OBS URL. By using this method, you do not need to bind an EIP to GPU nodes.
Obtaining the Driver Link from OBS
- Upload the driver to OBS and set the driver file to public read. For details, see Uploading a File.
- In the navigation pane on the OBS console, select Object Storage.
- In the bucket list, click a bucket name, and then the Overview page of the bucket is displayed.
- In the navigation pane, choose Objects.
- Select the target object and copy the driver link on the object details page.

Last Article: virtual-kubelet
Next Article: huawei-npu



Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.