Kubernetes scheduling method and device and storage medium

A scheduling method and technology to be scheduled, applied in the directions of multi-programming device, resource allocation, program control design, etc., can solve the problem that resources cannot be reasonably arranged, and achieve the goal of enhancing resource scheduling efficiency, improving integrity and improving timeliness. Effect
CN114064296AActive Publication Date: 2022-02-18BEIJING UNIV OF CIVIL ENG & ARCHITECTURE

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING UNIV OF CIVIL ENG & ARCHITECTURE
Publication Date
2022-02-18

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a Kubernetes scheduling method and device and a storage medium. The method comprises, removing Nodes which do not meet requirements by filtering according to a pre-selection algorithm; setting a queue for each Node according to the resource type; dividing priorities for a Pod to be scheduled; analyzing the state of the Pod to be scheduled; when the cluster resources are met, calculating the similarity of the Pod according to a first rule, and searching a first Node for scheduling; when cluster resources are not satisfied, carrying gout preemption scheduling, setting first rule calculation similarity and second rule priority preemption rules, and searching Nodes for preemption scheduling; and setting the maximum cycle index for the Pod which cannot be scheduled, wherein the Pod is scheduled preferentially when the maximum cycle index is reached. The problems that the priority is set by neglecting the actual condition of cluster resources, the resources cannot be reasonably arranged in the preemption process, and scheduling cannot be completed all the time are solved. According to the invention, the task operation integrity and the load balance of the whole cluster are improved, generation of resource fragments is reduced, the scheduling timeliness is improved, and the resource scheduling efficiency in a cluster management system is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of container arrangement, in particular to a method for realizing a Kubernetes scheduling strategy. Background technique

[0002] Kubernetes is an open source system, mainly used for the management of integrated applications across hosts in the cluster. A core feature of Kubernetes is that it dynamically manages containers to ensure that the state of the cluster meets user needs. Pod is the smallest unit for scheduling and management in the cluster. All containers run in the Pod, and each Pod can run one or more containers. Each cluster consists of control node Master and Node nodes ( figure 1 ). The core of the Scheduler (scheduler) is how to select the appropriate Node node from the cluster to assign to the Pod to be scheduled ( figure 2 ).

[0003] Most of the current kubernetes resource scheduling algorithms score and prioritize Node nodes, such as the built-in LeastRequested and Priority algorithm...

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