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. |
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 | 1 node. |
Data volume | Configure the following two data volumes:
Warning
|
Addon configuration | |
nvidia-device-plugin | (Required) The NVIDIA device driver. It allows use of management add-ons for GPUs in containers. |
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 enables VKE clusters to use the standard CSI implementation for Elastic Block Storage (EBS). |
prometheus-agent | (Required) Volcengine Managed Service for Prometheus (VMP) monitoring add-on collects the metrics data of the Kubernetes cluster to VMP. |
apmplus-opentelemetry-collector | (Required) Collect OpenTelemetry data and Prometheus metrics, and send them to APMPlus. |
apmplus-server-agent | (Required) Send in parallel the collection service and host monitoring data to APMPlus. |
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. 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 Chart version of deepseek-r1-w4afp8-sglang. We recommend you to select the latest version. |
Parameter configuration | The configuration method for deepseek-r1-w4afp8-sglang. 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 | Customize and select the namespace under the target cluster. |
Protocol | Read and understand the agreement before selecting it. |
Configuration item | Description |
Basic configuration | |
Namespace | Select the namespace of the deepseek-r1-w4afp8-sglang application template. This is associated with the services exposed 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 are using the API Gateway to expose the model service in the clusters, we recommend that you 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 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 | After deploying the deepseek-r1-w4afp8-sglang application template, associate it with the service whose name is in the format of <application name>-api-svc, and set the port number to 8080. |