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

Resource allocation method and device, electronic equipment and storage medium

A resource allocation and resource technology, applied in the computer field, can solve problems such as the mismatch of cluster resource requirements

Active Publication Date: 2020-09-25
MIGU CO LTD +1
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a resource allocation method, device, electronic device, and storage medium to solve the problem in the prior art that the cluster resources allocated when creating a service do not match the demand for cluster resources by the service at the current stage

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 and device, electronic equipment and storage medium
  • Resource allocation method and device, electronic equipment and storage medium
  • Resource allocation method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[0047] This embodiment provides a resource allocation method, which is applicable to a device that allocates cluster resources. Specifically, the method may be executed by a corresponding functional component of the device. figure 1 For a schematic flowchart of the resource allocation method provided in this embodiment, refer to figure 1 , t...

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 embodiment of the invention provides a resource allocation method and device, electronic equipment and a storage medium. The method comprises the steps: determining a target naming space matched with a target service according to the attribute information of the naming space obtained through the division of cluster resources and the resource occupation information of the target service occupying the cluster resources; migrating the target service from the current namespace to the target namespace; wherein the attribute information of the namespace is used for representing the resource quantity of each cluster resource provided by the namespace; wherein the resource occupation information is determined according to the occupation amount of the service for each cluster resource. According to the method, the namespace where the target service is located is adjusted according to the demand of the target service for the cluster resources, so that the demand of the service for the cluster resources is matched with the cluster resources provided by the namespace, and reasonable allocation of the cluster resources is realized.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a resource allocation method, device, electronic equipment and storage medium. Background technique [0002] Cluster resources include hardware resources and virtual resources, and various services run through allocated cluster resources. For example, Kubernetes (K8S for short) is an open source container cluster distribution project. Its design goal is to provide a platform between host clusters that can be automatically deployed, scalable, and application containers can be operated. Kubernetes usually works in conjunction with the docker container tool and integrates multiple host clusters running docker containers. [0003] Namespace (namespace) is a concept in Kubernetes, and the Name of the Kubenetes object under the same Namespace must be unique. The attribute information of the Namespace includes the rated amount of resources provided by each pod (container) i...

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/50
CPCG06F9/5027G06F9/5077
Inventor 王言顾明饶明佺高波涛王光明
Owner MIGU CO LTD