Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A kubernetes scheduling method, device and storage medium

A scheduling method and technology to be scheduled, applied in the direction of multi-program device, program control design, instrument, etc., can solve the problem of unreasonable allocation of resources, and achieve the effect of enhancing resource scheduling efficiency, improving integrity, and improving timeliness

Active Publication Date: 2022-04-26
BEIJING UNIV OF CIVIL ENG & ARCHITECTURE
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem that the scheduling strategy in the prior art ignores the actual situation of cluster resources and sets the priority, and the resources cannot be reasonably arranged during the preemption process, the present invention provides a Kubernetes scheduling method, including:

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
  • A kubernetes scheduling method, device and storage medium
  • A kubernetes scheduling method, device and storage medium
  • A kubernetes scheduling method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0049] In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways than described here. Therefore, the protection scope of the present invention is not limited by the specific implementation disclosed below. Example limitations.

[0050] This embodiment provides a method for implementing a Kubernetes scheduling strategy, such as image 3 As shown, it specifically includes the following steps:

[0051] S1 The Kubernetes scheduler moni...

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 invention provides a Kubernetes scheduling method, device and storage medium, which filters out Node nodes that do not meet the requirements according to a pre-selection algorithm; sets queues for each Node node according to resource types; assigns priorities to Pods to be scheduled; analyzes Pods to be scheduled Status; when the cluster resources are satisfied, the Pod calculates the similarity according to the first rule, and searches for the first Node node for scheduling; when the cluster resources are not satisfied, it enters preemptive scheduling, sets the first rule to calculate the similarity and the second rule priority preemption rule, and searches for The Node node performs preemptive scheduling; set the maximum number of cycles for Pods that cannot be scheduled, and when the maximum is reached, priority is given to scheduling. The invention solves the problem that the priority is set regardless of the actual situation of the cluster resources, the resources cannot be reasonably arranged during the preemption process, and the scheduling cannot be completed all the time. The invention improves the integrity of task operation and the load balance of the entire cluster, reduces the generation of resource fragments, improves the timeliness of scheduling, and enhances the efficiency of resource scheduling in the cluster management system.

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/50
CPCG06F9/5077G06F2209/5021
Inventor 田乐陈晨郭茂祖韩胜林王荟芸王鹏跃
Owner BEIJING UNIV OF CIVIL ENG & ARCHITECTURE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products