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

A method and system for dynamically allocating container storage resources based on local disks

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, ensuring balance, and improving flexibility

Active Publication Date: 2022-02-01
WHALE CLOUD TECH CO LTD
View PDF8 Cites 0 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
  • A method and system for dynamically allocating container storage resources based on local disks
  • A method and system for dynamically allocating container storage resources based on local disks
  • A method and system for dynamically allocating container storage resources based on local disks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] 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.

[0056] 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 method and system for dynamically allocating container storage resources based on a local disk. The method includes the following steps: receiving a request from a user to create a Kubernetes container; pre-allocating the container with a Kubernetes host machine; Preprocess the requested persistent volume; send the persistent volume request applied by the container to the pre-allocated host; create the storage volume required by the persistent volume through the host; mount the storage volume, and give the user Created container to use. Beneficial effects: It realizes the pre-scheduling of the container according to the local disk resources of the host machine when the Kubernetes container is created, ensures the availability of the resources required for the container to run, and realizes the dynamic and automatic creation and mounting of the PV applied for by the container, ensuring In order to be able to use the host's local disk to dynamically allocate storage resources 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 Patents(China)
IPC IPC(8): G06F3/06
CPCG06F3/0631G06F3/0604G06F3/067
Inventor 鲍钟峻姜志华张正锋
Owner WHALE CLOUD TECH CO LTD