Resource allocation method, device and server

A resource allocation and resource technology, applied in the field of virtualization, can solve problems such as insufficient application resources, low utilization of application resources, and resource allocation

Inactive Publication Date: 2019-03-15
NEW H3C BIG DATA TECH CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If there are multiple applications running in the container management cluster, it is difficult to reasonably allocate resources for each application as a whole by using the resource limit method set based on historical data or engineer experience, which may easily lead to low resource utilization of some applications, while Some applications cannot run properly due to insufficient 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
  • Resource allocation method, device and server
  • Resource allocation method, device and server
  • Resource allocation method, device and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of them. implementation. Based on the implementation manners in the present disclosure, all other implementation manners obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.

[0021] For ease of understanding, first describe the architecture of a container management cluster (Kubernetes cluster for short) built on the basis of the container operation management platform Kubernetes, as shown in figure 1 shown. The Kubernetes cluster supports Docker and Rocket ( figure 1 Take Docker as an example) two container technologies, the...

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 resource distribution method and device and a server, and the method comprises the steps: determining the total amount of resources in a container management cluster; Determining the ratio of the distributed resource quantity to the total resource quantity of each application in the container management cluster; Determining the application with the minimum ratio; Allocating a preset number of Pod resources to the application with the minimum ratio, and updating the allocated resource quantity of the application with the minimum ratio; Judging whether the sum of the allocated resource quantities of all the applications is greater than the total resource quantity or not; If the judgment result is no, the resources are continuously distributed through the steps; And if the judgment result is yes, allocating a corresponding amount of resources to each application according to the allocated resource amount of each application, the allocated resource amount of the application with the minimum ratio being obtained by subtracting the preset number of Pod resources from the updated allocated resource amount of the application with the minimum ratio. According to theresource allocation method and device, resources can be fairly allocated to multiple applications in the cluster, and meanwhile it is guaranteed that the allocated resources can be effectively and reasonably utilized.

Description

technical field [0001] The present disclosure relates to the technical field of virtualization, and in particular to a resource allocation method, device and server. Background technique [0002] Containers are a lightweight, portable, self-contained software packaging technology that enables applications to run the same way almost anywhere. Different from traditional virtualization technologies, containers run in a certain user space of the operating system, are isolated from other processes of the operating system, and are much smaller in size than virtual machines. Starting a container doesn't require booting the entire operating system, so containers can be deployed and started faster, with less overhead, and are easier to migrate. [0003] Kubernetes is an open source platform for automated container operations. Through this platform, containers can be deployed and replicated automatically, container scale can be expanded or contracted, containers can be organized into...

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/455
CPCG06F9/45558G06F9/5077
Inventor 白晨
Owner NEW H3C BIG DATA TECH CO LTD
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