Enable MindCluster Volcano
Use this page to enable the MindCluster Volcano components delivered with Alauda AI Infrastructure NPU Management and run an NPU job through Volcano.
Volcano is optional and disabled by default. In v26.9.0-1 it was validated for one case only: a single Volcano Job that requests one card on an Ascend 310P node. Multi-replica jobs, fault rescheduling, other chip models, and use together with HAMi were not validated. The default whole-card allocation path does not need Volcano.
Commands on this page use the default Operator namespace npu-operator. If the Operator was installed in another namespace, replace npu-operator with that namespace.
TOC
Before you enable Volcano1. Enable the components2. Adjust placement and resources on small management nodes3. Verify the components4. Run a Volcano JobDisable VolcanoBefore you enable Volcano
Check each of the following. A missing item leaves the Volcano Pods Pending or the jobs unscheduled.
In Volcano mode, submit NPU workloads through Volcano with schedulerName: volcano. Allocation to Pods scheduled by the default Kubernetes scheduler was not validated in this mode. Do not switch a cluster that runs NPU workloads on the default scheduler without planning the change.
Check which node runs the Operator Pod and how much CPU it has left:
1. Enable the components
Add the following to the NPUOperatorCtl instance. Keep the rest of the instance unchanged.
If the node that runs the Operator Pod has enough free resources for the defaults, this is all that is needed.
2. Adjust placement and resources on small management nodes
When the management nodes cannot fit the default requests, use the instance to move the Operator Pod to a labeled node with headroom and to lower the Volcano resources. The Volcano Pods follow the Operator Pod.
Two points decide whether this works:
- The node named in
operator.nodeSelectormust carrymasterselector=dls-master-node. The Volcano Pods keep that selector in addition to following the Operator Pod. - Lower the limits together with the requests. The platform can raise a container's request when its limit is much larger: in validation, a controller with a 2 CPU limit and a 20m request was admitted with a 250m request and did not fit the node.
The values above are the ones used in validation for a single small job. Size them for the number of jobs and nodes in your cluster.
3. Verify the components
The policy returns to Ready, the volcano-controllers and volcano-scheduler Pods are Running, ClusterD is Running, and the default queue exists.
Confirm that the Device Plugin reports a free device to the scheduler. The list for the node's resource key must not be empty:
For an idle Ascend 310P node the DeviceList entry for huawei.com/Ascend310P contains a device name such as Ascend310P-0.
4. Run a Volcano Job
Replace the resource key with the one the node reports.
The Job reaches Completed, and the Pod shows volcano as its scheduler and ran on the NPU node.
If the Job stays Pending, see Troubleshooting.
Disable Volcano
Set vccontroller.enabled, vcscheduler.enabled, and clusterd.enabled to false, set devicePlugin.args.volcanoType to false, and remove the operator.nodeSelector and resource overrides you added. The policy returns to Ready and the Volcano and ClusterD Pods are removed.
The volcano-system and mindx-dl namespaces and the hypernodes.topology.volcano.sh CRD remain after the components are disabled. See Objects that remain after uninstall.