Volcano
Regarding the interfaces exposed by the Pods of the volcano-scheduler and volcano-controller components (as defined by the open-source components themselves), the following notes are provided.
Table 1 List of exposed interfaces for the cluster scheduling Volcano
| Access Method | Protocol | Method | Purpose | Component |
|---|---|---|---|---|
http://podIP:11251/healthz | http | Get | Health check port | volcano-controller |
http://podIP:11251/healthz | http | Get | Health check port | volcano-scheduler |
http://volcano-scheduler-serviceIP:8080/metrics | http | Get | Prometheus information collection | volcano-scheduler |
- To ensure normal access to the Volcano health check endpoint and Prometheus metrics collection endpoint, please set the
--enable-healthzand--enable-metricsparameters totruein the YAML configuration when installing Volcano. For detailed modification instructions, refer to "Step 7" in Installing Volcano - Huawei Cloud's CCI service provides more detailed documentation on Volcano Job. For more information, refer to the Creating a Volcano Job in Cloud Container Instance API Reference.
Table 1 PodGroup labels used by cluster scheduling components
| Name | Description | Value | Component |
|---|---|---|---|
| ring-controller.atlas | Identifies Atlas Pods |
| Ascend Device Plugin, Ascend Operator, Volcano |
| fault-scheduling | Fault rescheduling switch | grace, force, off, external-force, external-grace, external-force-pod-failed | Volcano |
| fault-retry-times | Number of times a job can be rescheduled when a service-plane fault occurs | 0-100 | Volcano, Ascend Operator |
| tor-affinity | Switch affinity policy |
| Volcano |
| inferserviceid | Inference service affinity scheduling identifier, indicating which inference service the current job belongs to. Jobs with the same value are preferentially scheduled to the same cabinet or the same SuperPoD. | String, user-defined or automatically injected by Infer Operator. | Volcano, Infer Operator |
| npu-310-strategy | Scheduling strategy for inference servers (with Atlas 300I inference cards) |
| Volcano |
| pod-rescheduling | Whether to enable Pod-level rescheduling. |
| Volcano |
| process-recover-enable | Whether to enable process-level rescheduling. |
| Volcano |
| subHealthyStrategy | Sub-healthy node handling strategy. |
| Volcano |
| huawei.com/scheduler.softShareDev.aicoreQuota | AICore percentage requested by a soft-partitioning task. | [1, 100] | Volcano |
| huawei.com/scheduler.softShareDev.hbmQuota | High-bandwidth memory amount requested by a soft-partitioning task. | [1, maxHBM] maxHBM is the value of HBM-Usage(MB) displayed by the npu-smi info command. | Volcano |
| huawei.com/scheduler.softShareDev.policy | Policy for soft-partitioning tasks. |
| Volcano |
Table 2 PodGroup annotations used by cluster scheduling components
Currently supports the configurations in Table 3. |
|||
If this annotation is not configured or the value is invalid, soft scheduling is used by default. |
|||
|
|||
Minimum number of replicas required for a job to be scheduled. |
|||
pod: Only supports Pod-level rescheduling, and will not escalate to the Job level. (When using vcjob, you need to configure this policy: policies: -event:PodFailed -action:RestartTask) |
|||
Enables or disables the job dequeue function (transitioning from Inqueue to Pending state). Manual configuration is required. |
|
||
Records the number of times a job is dequeued. Automatically updated by Volcano. |
|||
Records the time when a job is enqueued (transitioning from Pending to Inqueue state). Automatically updated by Volcano. |
|||
Configures the affinity hierarchy for multi-level scheduling of jobs. |
level1=x,level2=y,... Where x, y... are the subjob sizes for the corresponding network hierarchy. The format must be a concatenation of strings in the format leveli=ni, separated by commas. Here, i is the network hierarchy sequence number, and ni is the number of replicas for the subjob at that network hierarchy. For example, for a job with a total of 8 replicas, "level1=2,level2=4" means that every 2 Pods in the job are assigned to nodes with the same level1 label, and every 4 Pods are assigned to nodes with the same level2 label. The network hierarchy configuration must meet the following requirements:
|
Volcano |
|
When NPU resources are not configured in MinResources, this annotation is used to declare the NPU type that the job uses, so that Volcano still schedules the job according to NPU affinity scheduling rules. |
The value is NPU type, for example,Ascend910, Ascend310P, and Ascend310. |
Volcano |
|
Configures distributed Ascend910/Ascend950 jobs to ignore NPUs with unhealthy parameter-plane networks during scheduling. Only takes effect for the huawei.com/Ascend910 and huawei.com/npu resource types. |
By default, it is not set, meaning NPUs with unhealthy networks are filtered. |
Volcano |
Table 3 huawei.com/schedule_policy configurations
| Configuration | Description |
|---|---|
| chip4-node8 | 1 node with 8 chips, every 4 chips form an interconnect ring. For example, for the chips in the full-module scenario of Atlas 800 training server (model 9000)/Atlas 800 training server (model 9010) and the Atlas 350 accelerator card, there are 8 chips in total, and every 4 chips are connected via UB mezzanine. |
| chip1-node2 | 1 node with 2 chips. For example, the Atlas 300T training card supports up to 1 chip, and 1 node supports up to 2 chips. |
| chip4-node4 | 1 node with 4 chips, forming 1 interconnect ring, for example, Atlas 800 training server (models 9000, 9010) half-configuration chip scenario. |
| chip8-node8 | 1 node with 8 chips. All 8 chips form 1 interconnect ring, for example, Atlas 800T A2/Atlas 850E/Atlas 850/Atlas 650E/Atlas 650. |
| chip8-node16 | 1 node with 16 chips, every 8 chips on 1 interconnect ring, for example, Atlas 200T A2 Box16. |
| chip2-node8 | 1 node with 8 chips, every 2 chips on 1 interconnect ring. |
| chip2-node16 | 1 node with 16 chips, every 2 chips on 1 interconnect ring, for example, Atlas 800T A3. |
| chip2-node8-sp | 1 node with 8 chips, every 2 chips on 1 interconnect ring. Multiple servers form a SuperPoD, for example, Atlas 9000 A3 SuperPoD. |
| chip2-node16-sp | 1 node with 16 chips, every 2 chips on 1 interconnect ring. Multiple servers form a SuperPoD, for example, Atlas 900 A3 SuperPoD. |
| chip4-node16 | 1 node with 16 chips, every 4 chips on 1 interconnect ring, for example, Atlas 350 accelerator card with 16 chips total and every 4 chips connected via UB mezzanine. |
| chip1-node8 | 1 node with 8 chips, no interconnect between chips, for example, Atlas 350 accelerator card with 8 chips total and no interconnect between chips. |
| chip1-node16 | 1 node with 16 chips, no interconnect between chips, for example, Atlas 350 accelerator card with 16 chips total and no interconnect between chips. |
| chip8-node8-sp | 1 node with 8 chips, all 8 chips on 1 interconnect ring. Multiple servers form a SuperPoD, for example, Atlas 850E/Atlas 850. |
| chip8-node8-ra64-sp | 1 node with 8 chips, all 8 chips on 1 interconnect ring, 64 nodes form a computing cabinet. Multiple cabinets form a SuperPoD, for example, Atlas 950 SuperPoD. |
| chip8-node16-sp | 1 node with 16 chips, every 8 chips on 1 interconnect ring. Multiple servers form a SuperPoD, for example, Atlas 950 SuperPoD Flex. |
| chip1-softShareDev | Dedicated scheduling policy for soft partition-based virtualization. |
| multilevel | Used in multi-level scheduling scenarios. For details on how to use multi-level scheduling, see Multi-level Scheduling. |
Table 1 Pod labels used by cluster scheduling components
Table 2 Pod annotations used by cluster scheduling components
Currently supports the configurations in Table 3. |
|||
If this annotation is not configured or the value is invalid, scheduling defaults to soft. |
|||
|
|||
The minimum number of replicas required for the job to be scheduled. |
|||
pod: Only Pod-level rescheduling is supported, and it will not be escalated to the Job level. (When using vcjob, you need to configure this policy: policies: -event:PodFailed -action:RestartTask) |
|||
Configures the affinity hierarchy for multi-level scheduling of the job. |
level1=x,level2=y,... Where x, y... are the subjob sizes at the corresponding network hierarchy. The format must be a concatenation of strings in the format leveli=ni, separated by commas. Here, i is the network hierarchy sequence number, and ni is the number of replicas for the subjob at that network hierarchy. For example, for a job with a total of 8 replicas, "level1=2,level2=4" means that every 2 Pods in the job are assigned to nodes with the same level1 label, and every 4 Pods are assigned to nodes with the same level2 label. The network hierarchy configuration must meet the following requirements:
|
Volcano |
|
Allows some special jobs (such as jobs that do not require NPU resources) to bypass the default check logic of Ascend-for-volcano. |
Not set or set to "enabled" |
Volcano |
|
When NPU resources are not configured in MinResources, this annotation is used to declare the NPU type that the job uses, so that Volcano still schedules the job according to NPU affinity scheduling rules. |
The value is NPU type, for example,Ascend910, Ascend310P, and Ascend310. |
Volcano |
|
Configures distributed Ascend910/Ascend950 jobs to ignore NPUs with unhealthy parameter-plane networks during scheduling. Only takes effect for the huawei.com/Ascend910 and huawei.com/npu resource types. |
By default, it is not set, meaning NPUs with unhealthy networks are filtered. |
Volcano |
Table 3 PodGroup Status.Conditions used by cluster scheduling components
Table 1 tor-share-cm
Table 2 vcjob-fault-npu-cm field description
The MindCluster cluster scheduling components write information such as device and training job status into the reset-config-<job-name> ConfigMap through K8s and maps it into the container. TaskD reads it and performs corresponding fault detection and processing.
Table 3 reset-config-<job-name>
mindx-dl/job-reschedule-reason
This ConfigMap is used to record the historical information of job rescheduling. By default, it saves the ten most recent rescheduling records of a job. When the ConfigMap content exceeds 950 KB, the earliest record of each job will be deleted in sequence.
Table 4 Job field description
The total number of rescheduling times recorded for this job in the current lifecycle of Volcano |
||||
Records the specific information of the rescheduling of this task. |
Table 5 RescheduleRecords description
Table 6 ReasonOfTask Description
The rank of the node that first triggered this rescheduling in the training |
Table 1 basic-tor-node-cm
Table 1 Field description of volcano-scheduler-configmap