Beta features/resources | Product involved | Description |
hpcpni3ln instance optimized for High-Performance Computing based on GPU | The HPC instance, providing computing power. The Deepseek model has a large number of parameters and therefore requires a GPU instance with large memory, e.g., ecs.hpcpni3ln.45xlarge. | |
Capability of mounting nodes to local disks | You can configure the local disk mounting in the VKE cluster. |
Parameter | Description |
Cluster configuration | |
Kubernetes version | Select version v1.28 or later. |
Network model | Select VPC-CNI. |
Node pool configuration | |
Managed node pool | Enable managed node pool. |
Availability zone | The VKE cluster is deployed in the same availability zone as the HPC cluster. |
Instance type | Select the ecs.hpcpni3ln.45xlarge instance family of the High Performance Computing Optimized type that you applied for the beta trial. |
High Performance Computing Cluster | Select the HPC cluster you created. |
Number of nodes | 2 |
Data volume | Configure the following two data volumes:
Warning
|
Node labels | When you deploy the DeepSeek model by using VKE, you need to specify the RDMA usage mode by using node labels. Set the label key to vke.node.rdma.mode and the label value to shared. |
Kubelet configs | The non-uniform memory access (NUMA) affinity policy for RDMA devices needs to be configured by using custom parameters with the Kubelet when deploying DeepSeek model in the VKE. Select topology-manager-policy and set the value to best-effort. |
Addon configuration | |
nvidia-device-plugin | (Required) NVIDIA device driver, which is a management add-on that allows the use of GPU devices in containers. |
rdma-device-plugin | (Required) Management add-on for RDMA NICs, which enables pod containers to use RDMA devices. |
apig-controller | (Required) APIG controller, which works as a cloud-native AI gateway providing intelligent load balancing for inference traffic based on policies. |
csi-ebs | (Required) It allows VKE clusters to use the standard Container Storage Interface (CSI) of TOS. |
prometheus-agent | (Required) Monitoring add-on for Volcengine Managed Service for Prometheus (VMP), which collects and sends metrics of Kubernetes clusters to VMP. |
cr-credential-controller | (Recommended) It can pull images from Container Registry (CR) without passwords, which facilitates deployment process. |
keda | (Recommended) Event-driven autoscaler based on Kubernetes. It performs auto scaling for reference services based on complex metrics. |
vci-virtual-kubelet | (Recommended) It can deploy CPU-consuming workloads such as system add-ons by using Volcengine Container Instance (VCI), which eliminates the need for operation and maintenance (O&M) and does not occupy the computing resources of GPU nodes. |
Configuration item | Description |
Orchestration template | |
Application template | Select the latest Chart version of leader-worker-set. |
Name | Customize the application name according to the naming requirements prompted by the interface. |
Deployment environment | |
Cluster type | Keep the default value as Managed version. |
Cluster | Select the VKE cluster created in the Prerequisites. |
Namespace | Select a namespace under the target cluster. |
Protocol | Read and understand the agreement before selecting it. |
Configuration item | Description |
Orchestration template | |
Application template | Select the Chart version of deepseek-v3.1-sglang. We recommend that you select the latest version. |
Parameter configuration | Configure parameters for the application deployment. Click the Edit icon to view the configuration description of various parameters in the values.yaml file or edit the YAML file. |
Name | Customize the application name according to the naming requirements prompted by the interface. |
Deployment environment | |
Cluster | Select the VKE cluster created in Prerequisites. |
Namespace | Select a namespace under the target cluster. |
Protocol | Read and understand the agreement before selecting it. |
Configuration item | Description |
Basic configuration | |
Namespace | Select the namespace where you want to deploy the deepseek-v3.1-sglang application template. The namespace is used to associate the service exposed externally by the application. |
Ingress configuration | |
Ingress type | Select Cloud-native API gateway. |
APIG specification settings | |
Gateway specifications | You can select Automatically create, or select Use existing APIG instances. tip When you use the API Gateway to expose the model service in the clusters, we recommend you to configure the following parameters or features (some parameters can only be configured in the APIG console, and cannot be configured in the VKE console):
|
Backend upstream | We recommend that you set the Load balancing algorithm parameter to Poll. It is more applicable to the scenarios of upgrading back-ends if the back-end loads are approximately balanced. |
Listener configuration | |
Protocol | Select a protocol as needed. If HTTPS is selected, you need to configure the certificate as described in the document APIG Ingress. |
Forwarding configuration | |
Domain name | Fill in the Ingress domain name to be exposed. The A (Address) record of this domain name needs to be configured later with the public or private IP address generated when the Ingress is successfully created. |
Service | Select the service that was named in the pattern <application name>-api-svc and associated with the application created based on the deepseek-v3.1-sglang application template, and then set the port number to 8080. |