Cluster resource scheduling method, device, equipment and storage medium
A resource scheduling and clustering technology, applied in the field of cloud computing, can solve the problems of low node resource utilization and unbalanced use of node resources, and achieve the effect of balanced node scheduling and full utilization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] figure 1 It is a flow chart of a cluster resource scheduling method provided by Embodiment 1 of the present invention. This embodiment is applicable to cluster resource scheduling. The method can be executed by a cluster resource scheduling device, which can be implemented by hardware and / or software, specifically including the following steps:
[0037] Step 110, according to the obtained pods to be scheduled, based on the preset selection strategy, the preset nodes in the cluster are screened to obtain the node screening result;
[0038] Wherein, when the system starts the scheduling process, the pod to be scheduled is obtained from the pod queue. Screening is performed based on the pre-selection strategy, and the nodes that have passed the pre-selection are scored and ranked based on the preferred strategy, and the node with the highest score is selected for scheduling pods to be scheduled. The default selection strategy is the pre-selection strategy in the pre-sele...
Embodiment 2
[0051] figure 2 It is a flowchart of a cluster resource scheduling method provided by Embodiment 2 of the present invention. The technical solution of this embodiment is further refined on the basis of the above technical solution, specifically including:
[0052] Step 210, according to the obtained pods to be scheduled, based on the preset selection strategy, the preset nodes in the cluster are screened to obtain the node screening result;
[0053] Step 220, when all the preset nodes are unschedulable nodes, filter out nodes with abnormal status and nodes with mismatched selectors according to the error information;
[0054] Among them, after starting the real-time scheduling strategy, according to the error information of unschedulable nodes returned in the pre-selection stage, nodes such as NodeNotReady and NodeSelectorNotMatch are further filtered out of all preset nodes in the cluster.
[0055] Step 230, according to the real-time resource usage information and the reso...
Embodiment 3
[0068] image 3 It is a schematic structural diagram of a cluster resource scheduling device provided in Embodiment 3 of the present invention, and the device specifically includes:
[0069] The preset node screening module 310 is configured to filter the preset nodes in the cluster based on the preset selection strategy according to the acquired pod to be scheduled, and obtain the node screening result;
[0070] The first node screening module 320 is configured to: when the node screening result is that there is no schedulable node conforming to the preset selection strategy, according to the node screening result, the real-time resource usage information of the cluster, and the pending Scheduling the resource request of the pod, and selecting the first node from the preset nodes;
[0071] The second node screening module 330 is configured to, based on the preset selection policy of abandoning resource request availability check, select a second node that can run the pod to ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


