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

Container storage resource dynamic allocation method and system based on local disk

A technology for dynamic allocation of storage resources, applied in the field of Kubernetes storage, can solve problems such as unproposed solutions, and achieve the effects of avoiding uneven available space, improving flexibility, and ensuring balance

Active Publication Date: 2021-11-12
WHALE CLOUD TECH CO LTD
View PDF8 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing Kubernetes storage subsystem cannot dynamically allocate the host's local disk, and can only be done through manual allocation and static PV.
[0008] For the problems in related technologies, no effective solutions have been proposed yet

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 storage resource dynamic allocation method and system based on local disk
  • Container storage resource dynamic allocation method and system based on local disk
  • Container storage resource dynamic allocation method and system based on local disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to further illustrate the various embodiments, the present invention provides accompanying drawings, which are part of the disclosure of the present invention, and are mainly used to illustrate the embodiments, and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments, for reference Those of ordinary skill in the art should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.

[0057] According to an embodiment of the present invention, a method and system for dynamically allocating container storage resources based on a local disk are provided, mainly involving the acceptance and analysis of application requirements for container storage resources, pre-allocation of storage resources, preprocessing of storage ...

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 storage resource dynamic allocation method and system based on a local disk. The method comprises the following steps of: receiving a request of a user for creating a Kubernetes container; pre-distributing a Kubernetes host machine to the container; preprocessing a persistent volume request applied by the container; sending the persistent volume request applied by the container to a pre-allocated host machine; creating a storage volume required by the persistent volume through the host machine; and mounting the storage volume for the container created by the user to use. With the method and system adopted, the pre-scheduling of the container is realized according to the local disk resource of the host machine when the Kubernetes container is created, the availability of the resource required when the container runs is ensured, the dynamic automatic creation and mounting use of the PV applied by the container are realized, and the local disk of the host machine can be used for dynamically allocating the storage resource for the container.

Description

technical field [0001] The present invention relates to the field of Kubernetes storage, in particular to a method and system for dynamically allocating container storage resources based on local disks. Background technique [0002] Kubernetes is a container-based cluster management system. It is built on container operating environments such as docker and container. It is used to manage containerized workloads and services. It is a portable and scalable open source platform with a large and fast A growing ecosystem with widely available services, support and tools. [0003] A pod is the smallest deployable computing unit created and managed in Kubernetes, consisting of one or more containers that share storage, networking, and declarations of how to run these containers. What a Pod models is an application-specific "logical host" that contains one or more application containers that are relatively tightly coupled. [0004] PV (PersistentVolume, persistent volume) is a pie...

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): G06F3/06
CPCG06F3/0631G06F3/0604G06F3/067
Inventor 鲍钟峻姜志华张正锋
Owner WHALE CLOUD TECH CO LTD