- Documentation
Volcengine Kubernetes Engine
Volcengine Container Instance
User guide
Creating an instance
GPU-accelerated computing instance
Create a GPU-accelerated instance by specifying a VCI specification.
GPU-accelerated computing instance
Create a GPU-accelerated instance by specifying a VCI specification.
Create a GPU-accelerated instance by specifying a VCI specification.
You can create VCIs by specifying VCI specifications. This topic mainly describes how to specify VCI specifications to create GPU-accelerated instances.
Usage limits
- When you create a GPU Accelerated instance, different configurations match different VCI instance specifications. For the detailed specification matching logic, see Instance specification normalization.
Prerequisites
- A VPC and its subnet have been created. For details, see Creating VPCs.
Creating instances by using Kubernetes
When you create a pod or a workload, including a Deployment, StatefulSet, Job, and CronJob, specify VCI specifications by adding an annotation.
The following table describes the annotation.
The following sample code shows how to create a Deployment.
tip
The GPU settings under Pod.spec.container[].resources must align with native Kubernetes capabilities and limitations.
- Use <vendor>.com/gpu to specify GPU resources.
- The limits option is required.
- Both limits and requests can be configured, but their values must be identical.
- If the requests option is left empty, Kubernetes will use the limits value as the requests value by default.
- GPU cannot be shared and overcommitted.
- The number of GPUs must be an integer.
Using the console
- Install the nvidia-device-plugin add-on in the VCI cluster. For details, see Installing add-ons.
- Basic information: Select Volcengine Container Instance for the Computing power type parameter.
- Container configuration: Configure GPU resources in the ResourceQuota section.
- Specify the parameter in the red box in the following figure. Set the GPU resource type parameter to Nvidia. Specify other parameters based on your business requirements.
tip
The mGPU resource type is not supported in VCI scenarios.
- Advanced settings: Configure the instance specifications in the VCI specification settings section. You can use the default instance family or specify a custom instance family.
- When you specify instance families, you can select multiple instance families of the same instance type. The priority is determined by the order in which they are selected (For parameter descriptions, see Specific specifications). If the higher-priority specification family has no available resources, the lower-priority specification family will be used to create instances.
-
Last updated: 2026.09.03 15:56:09