Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2020-06-26
TRANSWARP INFORMATION TECH SHANGHAI
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will result in low resource utilization of nodes, and unbalanced use of node resources in the cluster

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cluster resource scheduling method, device, equipment and storage medium
  • Cluster resource scheduling method, device, equipment and storage medium
  • Cluster resource scheduling method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present invention discloses a cluster resource scheduling method, device, device, and storage medium. The method includes screening the preset nodes in the cluster based on the preset selection strategy based on the obtained pods to be scheduled to obtain the node screening result; when the node When the screening result shows that there are no schedulable nodes that meet the preset selection strategy, the first node is selected from the preset nodes based on the node screening results, real-time resource usage information of the cluster, and resource requests of the pods to be scheduled; based on discarding resource requests The preset selection strategy of the availability check screens out the second node that can run the pod to be scheduled from the first node; determines the pod running node according to the attributes of the pod to be scheduled and the physical resource size of the second node; connects the pod to be scheduled with the pod running Nodes are bound. The technical solutions of the embodiments of the present invention make better use of cluster resources, while avoiding the problem of uneven scheduling among nodes.

Description

technical field [0001] Embodiments of the present invention relate to cloud computing technology, and in particular to a cluster resource scheduling method, device, equipment and storage medium. Background technique [0002] In a resource-sharing distributed system, task scheduling is divided based on resource pre-definition. In this way, the system can schedule tasks to the most reasonable nodes according to the current cluster resource conditions, and increase the resource usage of the cluster and the load balancing among nodes as much as possible. [0003] Kubernetes is a brand new distributed management system based on container technology. It divides task resources by limiting the resource requests and limits of tasks (pods), and the scheduling module performs task scheduling by calculating resource requests of tasks and using a predefined scoring algorithm. [0004] However, the whole process is based on the current local optimal solution as a reference, and the sche...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/50
CPCG06F9/5083
Inventor 陈松郑淮城
Owner TRANSWARP INFORMATION TECH SHANGHAI