If your business involves scenarios such as deep learning and high-performance computing, you can use TKE to support the GPU feature, which can help you quickly use a GPU container.
You can enable GPU scheduling in multiple ways:
You have logged in to the TKE console.
You can add a GPU node in either of the following ways:
Click Clusters in the left sidebar to go to the "Cluster Management" page.
Click Create a Node for the cluster in which the GPU instance is to be created.
On the "Select the Model" page, select GPU Model as the instance "Family" and select "GPU Compute GN2" as the "Model".
Complete the remainder of the process as instructed.
Note:
During CVM configuration, TKE automatically performs the initial processes such as GPU driver installation based on the selected model, and you can ignore the basic image.
Click Clusters in the left sidebar to go to the "Cluster Management" page.
Click Add Existing Node for the cluster in which an existing GPU instance is to be added.
On the "Select Nodes" page, select an existing GPU node and click Next.
Complete the remainder of the process as instructed.
Note:
During CVM configuration, TKE automatically performs the initial processes such as GPU driver installation based on the selected model, and you can ignore the basic image.
You can create a GPU service container in either of the following ways:
You can add a GPU field in the YAML file by using an application or kubectl command.
Was this page helpful?