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

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

Active Publication Date: 2022-02-18
BEIJING UNIV OF CIVIL ENG & ARCHITECTURE
View PDF6 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
  • Kubernetes scheduling method and device and storage medium
  • Kubernetes scheduling method and device and storage medium
  • Kubernetes scheduling method and 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 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.

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 Applications(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