Resource allocation method, device, electronic equipment and storage medium

A technology of resource allocation and equipment, applied in the field of server management, which can solve the problems of occupying the host disk, unable to limit the size of log files, and unable to start applications normally, so as to ensure normal operation and avoid excessive occupation

Inactive Publication Date: 2019-10-22
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the capacity in the persistent volume declaration is only used as a binding parameter, and it does not actually limit the size of the log files in the persistent volume.
As the application runs, the generated log files will become larger and larger. Due to the directory mapping between the persistent volume and the host, the increase in log files in the persistent volume will also cause the log files in the host directory folder to become larger and larger. , there is a risk of occupying the host disk, causing other applications to fail to start normally

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

[0053] The technical solution of the present application is mainly applied to the management (Master) node in the Kubernetes cluster. The management node provides access to Kubernetes cluster resource data, receives the persistent volume statement sent by the user, and allocates the appropriate persistent volume to provide service resou...

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 relates to a resource allocation method, a resource allocation device, electronic equipment and a storage medium. The method comprises the steps of binding a mounted persistent volume according to a received persistent volume declaration, and enabling the capacity of the mounted persistent volume to be a first capacity value; creating a disk mirror image file on the mount persistentvolume according to the first capacity value; mounting the disk mirror image file to a device; formatting the equipment; and mounting the equipment to a directory folder on a host, so that the mountedpersistent volume is associated with the directory folder. According to the technical scheme, the excessive occupation of a host disk due to increase of application log files is effectively avoided.The problem that other application programs cannot be normally started due to too large log files or output files is avoided. The physical resource isolation between different applications on the samehost is fully achieved, and normal operation of all the application programs is guaranteed.

Description

technical field [0001] The present application relates to the field of server management, and in particular to a resource allocation method, device, electronic equipment and storage medium. Background technique [0002] Kubernetes is Google's open source container cluster management system, which is used to manage containerized applications on multiple hosts in the cloud platform. Based on Docker technology, it provides containerized applications with a series of complete functions such as deployment and operation, resource scheduling, service discovery, and dynamic scaling, which improves the convenience of large-scale cluster management. [0003] A container in Kubernetes is a persistent storage volume (Persistent Volume, hereinafter referred to as a persistent volume). Persistent volumes are network storage provided to administrators and users in the form of application programming interfaces. Persistent volumes are created by administrators in the cluster. [0004] Kub...

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/455G06F9/50
CPCG06F9/45558G06F9/5027G06F2009/4557
Inventor 赵艳杰段效晨易帆康林秦占明
Owner BEIJING QIYI CENTURY SCI & 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