Dynamic allocation method for container resources in cluster

A dynamic allocation and container technology, which is applied in the field of dynamic allocation of container resources in clusters, can solve problems such as lack of dynamic scheduling of multiple resources, difficulty in optimizing system resource utilization, and inability to meet the resource needs of containers that change in real time. The effect of optimizing resource utilization and maximizing system utility

Active Publication Date: 2020-05-08
INFORMATION SCI RES INST OF CETC
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the most popular k8s cluster basically adopts the method of static allocation and manual modification. When creating a container, the user specifies the required resources through the limit and request parameters or allocates certain resources by default when the user does not specify. When the resource requirements of the container change When manually expanding the container horizontally or vertically, the static allocation strategy cannot meet the real-time changing resource requirements of the container. At the same time, it also allows users to set QoS. When resources are tight, K8S will kill low-priority containers to ensure the resource usage of high-priority containers. Requirements; dynamic resource allocation methods generally use specific models to predict the future resource usage of containers, and dynamically adjust container resources or select appropriate nodes for container deployment in combination with container resource usage restrictions and system available resources.
However, the existing container resource dynamic allocation strategy only dynamically adjusts the resources of the concerned target container or selects the appropriate node for deployment. The resources of other containers in the system will not be dynamically adjusted, and there is no simultaneous use of multiple containers from the perspective of the system as a whole. It is difficult to achieve the optimization of the overall resource utilization of the system through dynamic scheduling of various resources.

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
  • Dynamic allocation method for container resources in cluster
  • Dynamic allocation method for container resources in cluster
  • Dynamic allocation method for container resources in cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0019] The relevant technical terms are defined as follows:

[0020] Elastic application: the application is able to adjust its execution according to the allocated resources

[0021] Inaccurate calculation model: the application has a minimum value R for each resource demand min and maximum R max , minimum R min Must be satisfied to ensure the normal operation of the application. On this basis, improving resource allocation can improve the QoS of the appli...

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 dynamic allocation method for container resources in a cluster; wherein the method comprises the steps: firstly carrying out the analysis of a historical resource use time sequence of a container through an LSTM-RBF model, and predicting the future resource use amount of the container; secondly, establishing a multi-container multi-resource allocation model, wherein different types of applications are considered in the model so that different weights are set for the applications with different QoS requirements, and the weight can be set according to the requirement degree of each application for each resource; then, establishing a system utility maximization model, so that and multiple resources used by the multiple containers are dynamically allocated with the goal of maximizing the overall utility of the system; and finally, solving a multi-container multi-resource problem by adopting an improved whale optimization algorithm. Various resources used by a plurality of containers are dynamically scheduled simultaneously from the perspective of the whole system, so that the maximization of the system utility can be achieved, and the utilization rate of the whole system resources is optimal.

Description

technical field [0001] The invention belongs to the technical field of computer container clusters, and in particular relates to a method for dynamically allocating container resources in a cluster. Background technique [0002] With the rapid development of container virtualization technology represented by docker, its advantages such as low overhead, fast startup, easy deployment, and application-centricity make it widely used in application scenarios such as cloud computing and edge computing. Based on container virtualization technology And container cluster management tools (such as k8s) provide services to users on demand. However, in a cluster environment containing multiple container applications, how to dynamically allocate multiple resources to containers on demand has not been well resolved. [0003] There are mainly two types of existing container resource allocation methods: static and dynamic. At present, the most popular k8s cluster basically adopts the meth...

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/50G06N3/00G06N3/04
CPCG06F9/5027G06N3/006G06N3/044G06N3/045Y02D10/00
Inventor 王昭王惠峰张峰王萌萌
Owner INFORMATION SCI RES INST OF CETC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products