- Documentation
Volcengine Kubernetes Engine
Volcengine Container Instance
User guide
Creating an instance
GPU-accelerated computing instance
Create an instance by specifying an instance family (GPU resource).
GPU-accelerated computing instance
Create an instance by specifying an instance family (GPU resource).
Create an instance by specifying an instance family (GPU resource).
VCI allows you to specify instance families by using specific annotations, and create GPU-type VCIs by specifying resources.limits.
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
You can create GPU-type VCI pods by adding annotations and specifying resources.limits during the creation of pods or deployments, including Deployments, StatefulSets, Jobs, and CronJobs.
The following table describes the annotation.
The following sample code shows how to create a pod.
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: Specify the GPU, memory, and CPU 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 configurations: Configure the instance specifications in the VCI specification settings section. You can use the default instance family or specify a custom instance family.
- When specifying instance families, you can select multiple families under the same instance type. Their priority is determined by the order in which they are selected. For details, see Specific specifications. If resources are unavailable in a higher-priority family, VCI uses a lower-priority family to create the instance.
-
Last updated: 2026.09.03 15:56:09