Beta feature/resource | 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. | |
EIC | EIC | A high-performance distributed KV Cache service launched by the Volcano Engine storage team for LLM inference. |
Configuration item | 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 | Same availability zone as the High-Performance Compute Cluster. |
Instance type | Select ecs.hpcpni3ln, the GPU Accelerated specification. Ensure you already obtained permission for trial of the beta version. |
High Performance Computing Cluster | Select the HPC cluster you created. |
Number of nodes | 2 nodes. |
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 the parameter topology-manager-policy and its value best-effort. |
Addon configuration | |
nvidia-device-plugin | (Required) The NVIDIA device driver. It allows use of management add-ons for GPUs in containers. |
rdma-device-plugin | (Required) The add-on manages RDMA network interface cards (NICs) and enables pod containers to use RDMA devices. |
apig-controller | (Required) API Gateway controller provides the AI Gateway capability of cloud-native, which can complete the intelligent load balancing of the inference traffic according to different policies. |
csi-ebs | (Required) It allows VKE clusters to use the standard Container Storage Interface (CSI) of TOS. |
prometheus-agent | (Required) Volcengine Managed Service for Prometheus (VMP) monitoring add-on collects the monitoring metrics data of the Kubernetes cluster to VMP. |
apmplus-opentelemetry-collector | (Required) Collect OpenTelemetry data and Prometheus metrics, and send them to Application Performance Management Plus (APMPlus). |
apmplus-server-agent | (Required) Send the collection service and host monitoring data to APMPlus in parallel. |
cr-credential-controller | (Recommended) It can pull Container Registry (CR) images without passwords, which simplifies deployment operations. |
keda | (Recommended) The event-driven autoscaler based on Kubernetes completes the autoscaler tasks of the inference service 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 |
VKE cluster | Select the created VKE cluster. |
Storage type | Select DRAM. |
Enable RDMA | Enable RDMA. |
Node | Select the nodes created during VKE cluster creation. |
DRAM | Set to 500 GiB. |
Network interface card | Set to eth1, eth2, eth3, eth4. |
Configuration item | Descriptio |
Orchestration template | |
Application template | Select the latest Chart version of leader-worker-set. |
Deployment environment | |
Cluster type | Keep the default value as Managed version. |
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 |
Orchestration template | |
Application template | Select the latest Chart version of deepseek-r1-sglang. |
Parameter configuration | Select the configuration method for deepseek-r1-sglang. If you need to enable EIC, click the edit icon to modify the values.yaml file based on the EIC-related parameters in the YAML file section below the table. |
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 in which the deepseek-r1-sglang application template is deployed. It is used to associate the service that is supposed to be exposed for its 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 are using 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 Round Robin. 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 is named in the pattern <application name>-api-svc and is associated with the application created based on deepseek-r1-sglang template, and then set the port number to 8080. |