Unlock instant, AI-driven research and patent intelligence for your innovation.

Container scheduling method and device based on Kubernetes, storage medium and electronic equipment

A scheduling method and storage medium technology, applied in the direction of multi-program device, instrument, program control design, etc., can solve the problems of fragmentation of resources, exhaustion of resources, and reduction of cluster resource utilization, so as to reduce resource fragmentation and improve The effect of resource utilization

Pending Publication Date: 2020-09-15
CHINA CITIC BANK
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, when the host machine is fully loaded, resources in one dimension will be exhausted, and resources in another dimension will be idle, resulting in resource fragmentation and reducing the resource utilization of the cluster.

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
  • Container scheduling method and device based on Kubernetes, storage medium and electronic equipment
  • Container scheduling method and device based on Kubernetes, storage medium and electronic equipment
  • Container scheduling method and device based on Kubernetes, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] see Figure 1-3 , in an embodiment of the present invention, a Kubernetes-based container scheduling method, when creating a container, resource scheduling includes the following steps:

[0029] S1, filter nodes, first query the resources of N dimensions of each computing node, and filter out all computing nodes whose available resources of N dimensions are greater than the resources required by the container, defined as NC 1 、NC 2 ...NC m , if the number of compute nodes filtered out is zero, the scheduling failure will be returned. If the number of compute nodes filtered out is 1, then the compute node is the host machine of the container to be created, and the scheduling ends. If the number of compute nodes filtered out is greater than 1, proceed to step 2;

[0030] S2, score the nodes, calculate the resource ratio value, find the host that is closest to the container resource ratio, and build a mathematical model, according to the formula Compute the score for ...

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 container scheduling method and device based on Kubernetes, a storage medium and electronic equipment. The method comprises the steps that when a container is created, resource scheduling comprises the steps of node filtering, node scoring, resource weight calculation and the like, a user can define resources by himself / herself, and the scheduling method can schedule thecontainer according to the resources; according to the method, a mathematical model is established for the matching process of the container and the host machine, resources of N dimensions are reasonably distributed, resource fragments are reduced, and the resource utilization rate is increased.

Description

technical field [0001] The present invention relates to the field of container cloud environment based on Kubernetes, in particular to a container scheduling method, device, storage medium and electronic equipment based on Kubernetes. Background technique [0002] The traditional application deployment method is to install the application through plug-ins or scripts. The disadvantage of this is that the operation, configuration, management, and all life cycles of the application will be bound to the current operating system, which is not conducive to the operation of application upgrade update / rollback, etc. Of course, it can also be achieved by creating a virtual machine Some features, but the virtual machine is very heavy, which is not conducive to portability. [0003] The new method is implemented by deploying containers. Each container is isolated from each other, and each container has its own file system. The processes between containers will not affect each other, a...

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/50G06F9/48
CPCG06F9/5016G06F9/5027G06F9/4881
Inventor 李伟杰刘汝强白志民徐凯李晓雪
Owner CHINA CITIC BANK