Different pods of the same job are configured with different nodeSelectors. For example, the nodeSelector of the master pod is as follows:

The nodeSelector of the worker pod is as follows:

The labels of the nodes in the cluster are as follows. During the first scheduling, the master pod is scheduled to the node-69-77 node, and the worker pod is scheduled to the worker-69-87 node.

In this case, the worker-69-87 node is faulty, and pod-level rescheduling is performed.

However, the scheduling cannot be completed due to insufficient resources. Then, job-level rescheduling is performed. After the fault is rectified, the resources are sufficient, but the task pod still cannot be scheduled.

During rescheduling, the pod that is created first is scheduled first based on the Volcano scheduling logic. In the current scenario, the worker pod is deleted and created first, and is scheduled first. In this case, both nodes meet the requirements. In addition, in the rescheduling logic, the score of the node where a fault has occurred is reduced during node selection. Therefore, the worker pod is scheduled to the worker-69-87 node where the original master pod is running. The master pod contains nodeSelector "masterselector: dls-master-node". Therefore, the worker-69-87 node cannot be selected. According to the consistency scheduling principle of Volcano, the entire task cannot be scheduled.