Preparing GPU Virtualization Resources
This section describes how you can plan and prepare basic software and hardware before using GPU virtualization.
Basic planning
Resource |
Version |
---|---|
Cluster |
v1.25.15-r7 or later |
OS |
Huawei Cloud EulerOS 2.0 |
System architecture |
x86 |
GPU |
T4 and V100 |
GPU driver |
470.57.02, 510.47.03, and 535.54.03 |
Container runtime |
containerd |
Add-ons |
The following add-ons must be installed in a cluster:
|
Procedure 1: Adding GPU Nodes to a Cluster and Labeling the Nodes
If there are GPU nodes that comply with the basic planning in your cluster, skip this procedure.
- Add nodes that support GPU virtualization to your cluster. For details, see Adding Nodes to On-Premises Clusters.
- Label the nodes with accelerator: nvidia-{GPU model}. For details, see Adding Labels/Taints to Nodes.
Figure 1 Labeling nodes that support GPU virtualization
Procedure 2: Installing the Add-ons
If the add-ons that comply with the basic planning have been installed in your cluster, you can skip this procedure.
If the driver version is changed, restart the node to apply the change.
- Log in to the UCS console and click the cluster name to access the cluster console. In the navigation pane, choose Add-ons. In the Add-ons Installed area, check whether Volcano and gpu-device-plugin have been installed.
- If Volcano is not installed, install it by referring to Volcano.
If gpu-device-plugin is not installed, install it by referring to gpu-device-plugin.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot