Volcengine Kubernetes Engine
Annotation key | Annotation sample value | Description |
Annotation key | Annotation sample value | Description |
vci.volcengine.com/inventory-aware | true | Whether to enable inventory-aware scheduling for VCI instances:
|
Annotation key | Description |
Annotation key | Description |
vke.volcengine.com/burst-to-vci | Pod scheduling mode. The valid value is enforce, which enforces scheduling of Pods to VCI. |
vke.volcengine.com/preferred-subnet-ids | Specify the subnets used by the VCI instance. Separate multiple subnets with commas (,). The system selects the subnet with the most remaining IP addresses to create the VCI instance. |
vci.vke.volcengine.com/preferred-instance-types | Specify VCI instance types. Separate multiple instance types with commas (,) and prioritize them in the order they are listed. warning Use either this annotation or preferred-instance-family. Do not configure both instance types and instance families simultaneously. Otherwise, resource selection conflicts may occur. |
vci.vke.volcengine.com/preferred-instance-family | Specify the instance families used by the VCI instance. Separate multiple instance families with commas (,) and prioritize them in the order they are listed. warning Use either this annotation or preferred-instance-types. Do not configure both instance types and instance families simultaneously. Otherwise, resource selection conflicts may occur. |
Limitation item | Description |
Limitation item | Description |
Effective scope | Inventory-aware scheduling takes effect only when a Pod is forcibly scheduled to VCI, that is, when the Pod meets one of the following conditions:
warning Inventory-aware scheduling does not take effect if you use a node name to specify a virtual node for a Pod. |
No support for VKE and VCI hybrid deployments | Inventory-aware scheduling is not supported in VKE and VCI hybrid deployments based on ResourcePolicy. For more information about ResourcePolicy, see ResourcePolicy scheduling. |
Incompatibility with delayed PVC binding | PVCs that use WaitForFirstConsumer (delayed binding) are incompatible with inventory-aware scheduling. These Pods are rejected by a webhook. |
Incompatibility with specifying a network interface | Pods that use pod-networks-definition to specify network interfaces are incompatible with inventory-aware scheduling and are rejected by a webhook. |
Pods are pending in case of insufficient inventory | After inventory-aware scheduling is enabled, if inventory in the target availability zone is insufficient, the Pod remains in the Pending state and keeps retrying based on exponential backoff with no retry timeout by default until inventory becomes available and the instance is created. |