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

A kubernetes resource scheduling method, device and electronic device

A resource scheduling and resource scheduling module technology, applied in the Kubernetes resource scheduling method, device and electronic equipment field, can solve problems such as task blocking, occupying system resources, and failure to meet scheduling needs, so as to reduce resource waste and improve the probability of successful scheduling , Reduce the effect of resource fragmentation

Active Publication Date: 2022-07-01
FENGHUO COMM SCI & TECH CO LTD
View PDF0 Cites 0 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
  • A kubernetes resource scheduling method, device and electronic device
  • A kubernetes resource scheduling method, device and electronic device
  • A kubernetes resource scheduling method, device and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but 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 there is no conflict with each other.

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

[0052] Native Kubernetes is allocated by a single pod and cannot be planned as a whole. Large batches of computing tasks involve multiple pods, and some pods are allocated and blocked, resulting in wasted resources or tasks cannot b...

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 allocates the overall task and the runnable nodes in groups, and then performs unified scheduling. S1. Acquire the task group, and judge whether the current total of free resources meets the overall resources required by the task group. If not, do not schedule, and if so, go to step S2; S2, obtain the resources required by each task in the task group, and Obtain the Kubernetes nodes and node resources that can be used to execute the task; S3. Group each task in the task group according to the resources required by each task in the task group, as well as the Kubernetes nodes and node resources that can be used to execute the task; S5. Perform resource scheduling according to task and node grouping. The invention also provides a corresponding Kubernetes resource scheduling device and electronic equipment. The invention enables the cluster to perform scheduling effectively and improves the success rate of task scheduling.

Description

technical field [0001] The invention belongs to the technical field of cloud computing, and more particularly, relates to a Kubernetes resource scheduling method, device and electronic equipment. Background technique [0002] Regarding the Kubernetes resource invocation method, currently native Kubernetes does not use group task resource invocation, that is, for a group of scheduling tasks with multiple job tasks, and multiple jobs have mutual dependencies, Kubernetes will schedule the jobs in sequence. The overall resource allocation will not be performed, and the subsequent scheduled jobs may not be able to meet the scheduling needs. However, due to dependencies, the jobs that can be successfully scheduled will always be in the running state, occupying system resources, and the overall task will be blocked. SUMMARY OF THE INVENTION [0003] In view of the above defects or improvement requirements of the prior art, the present invention proposes a Kubernetes resource 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/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