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

Kubernetes resource scheduling method and device and electronic equipment

A technology of resource scheduling and resource scheduling module, applied in the field of devices and electronic equipment, Kubernetes resource scheduling method, can solve the problems of task blocking, occupying system resources, unable to meet scheduling needs, etc., to reduce resource waste and improve the probability of successful scheduling , reduce the effect of resource fragmentation

Active Publication Date: 2021-01-29
FENGHUO COMM SCI & TECH CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Regarding the Kubernetes resource invocation method, the native Kubernetes does not currently use group task resource invocation, that is, for a group of scheduling tasks with multiple job tasks, multiple jobs have mutual dependencies, and Kubernetes will schedule the jobs sequentially. There will be no overall resource allocation, and subsequent scheduled jobs may fail to meet the scheduling needs. Due to dependencies, jobs that can be successfully scheduled will always be in the running state, occupying system resources, and the overall task will be in a blocked state

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 resource scheduling method and device and electronic equipment
  • Kubernetes resource scheduling method and device and electronic equipment
  • Kubernetes resource scheduling method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0051] The present invention needs to solve the scheduling blocking problem that Kubernetes schedules a large number of one-time job tasks in the prior art:

[0052] Native Kubernetes is allocated by a single pod, which cannot be planned as a whole. A large number of computing tasks involve multiple pods, and some pod allocations are blocked, resulting in waste of resources or inability to execu...

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 discloses a Kubernetes resource scheduling method, which comprises the following steps of: performing grouping allocation on an integral task and an operable node, performing unified scheduling; if the scheduling fails, performing rollback to release resources, adjusting resources required by each task, and performing grouping allocation. The method comprises the following steps: S1,acquiring a task group, judging whether the sum of current spare resources meets the overall resources required by the task group or not, if not, not scheduling, and if so, executing the step S2; s2,acquiring a resource condition required by each task in the task group, and acquiring a Kubernetes node and a node resource condition which can be used for executing the task; s3, grouping the tasksin the task group according to the resource conditions required by the tasks in the task group and the Kubernetes node which can be used for executing the tasks and node resource conditions ; and S5,performing resource scheduling according to the tasks and the node groups. The invention further provides a corresponding Kubernetes resource scheduling device and electronic equipment. According to the invention, the cluster can be effectively scheduled, and the success rate of task scheduling is improved.

Description

technical field [0001] The invention belongs to the technical field of cloud computing, and more specifically, relates to a Kubernetes resource scheduling method, device and electronic equipment. Background technique [0002] Regarding the Kubernetes resource invocation method, the native Kubernetes does not currently use group task resource invocation, that is, for a group of scheduling tasks with multiple job tasks, multiple jobs have mutual dependencies, and Kubernetes will schedule the jobs sequentially. There will be no overall resource allocation, and subsequent scheduled jobs may not be able to meet the scheduling needs. Due to dependencies, jobs that can be successfully scheduled will always be in the running state, occupying system resources, and the overall task will be in a blocked state. Contents of the invention [0003] Aiming at the above defects or improvement needs of the prior art, the present invention proposes a Kubernetes resource scheduling method, wh...

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/455G06F9/50
CPCG06F9/45558G06F9/5072G06F9/5077G06F2009/4557G06F2009/45595
Inventor 石志凯李铿蒋玉玲陈林祥
Owner FENGHUO COMM SCI & TECH CO LTD
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