Resource Keys
This page covers direct NPU allocation through Alauda Build of NPU Operator. For HAMi sharing, virtualization, vNPU behavior, or HAMi-specific resource keys on Ascend devices, use the HAMi documentation.
Kubernetes extended resources
These resource keys are reported by the device plugin and consumed by workload resources.limits. Always confirm the exact key from node allocatable resources in the target workload cluster:
The chip product label and the Kubernetes resource key are not always the same string.
For example, a node whose chip product is Ascend 910B may expose huawei.com/Ascend910.
Combined with HAMi
If NPU Operator prepares the Ascend base for a HAMi deployment, use only the resource keys exposed by the selected device exposure owner for the target nodes.
A node selected by HAMi Ascend Device Plugin commonly uses the HAMi Ascend selector, such as ascend=on. Keep the NPU Operator Ascend Device Plugin disabled or scoped away from the same devices unless the installed product versions explicitly document and validate that topology.
The two components can have similar names and may both use huawei.com/Ascend* resource keys, but they serve different product paths:
If you do not use Alauda Build of NPU Operator for full lifecycle management, install the device plugin that matches the workload model yourself. Use Huawei's Ascend Device Plugin when workloads request NPUs directly. Use HAMi Ascend Device Plugin when workloads need HAMi virtualization or slicing semantics.
Use Huawei MindCluster as the upstream reference for the Huawei path. For HAMi-managed Ascend behavior, continue in the HAMi documentation. In Alauda deployments, use the component versions, images, and installation parameters delivered with the current Alauda package.
Node labels
The placement labels below are consumed by NPU component manifests. NPU Feature Discovery normally derives and reconciles them automatically. Add them manually only as a fallback when discovery cannot run on an intended node; manually assigned values can be replaced or removed when discovery later reconciles that node.
Node annotations
ACP quota fields
If ACP quota pages need to show an NPU resource, configure the matching ACP resource metadata. See Accelerator Resource Quota.