Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Kubernetes-based method and system for automatic allocation and creation of application storage

A distributed storage and automatic technology, applied in the field of cloud computing, can solve the problems such as the inability to realize the automatic creation of application storage and the inability to allocate a distributed storage system, and achieve the effect of good scalability, reducing the difficulty of operation and maintenance management, and reducing the difficulty of configuration.

Inactive Publication Date: 2017-09-22
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] However, the existing Kubernetes storage resource management function cannot allocate various types of distributed storage systems in the cluster, and cannot realize the automatic creation of application storage. These operations need to be completed manually; the Kubernetes dynamic volume provisioning function can only provide PVC to dynamically create PV process

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
  • Kubernetes-based method and system for automatic allocation and creation of application storage
  • Kubernetes-based method and system for automatic allocation and creation of application storage
  • Kubernetes-based method and system for automatic allocation and creation of application storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] as attached Figure 1-3 As shown, a method for automatically allocating and creating application storage based on Kubernetes of the present invention, the method includes

[0044] S1: Create an application, apply for storage size and type;

[0045] S2: Screen the various distributed storage systems that have been deployed according to the application information;

[0046] S3: Calculate the stress scores of various distributed storage systems after screening through the monitoring and scoring system;

[0047] S4: Select the distributed storage system with the least pressure, and automatically generate the Kubernetes PVC configuration file;

[0048] S5: Dynamically create a PV, which will be automatically bound to the PVC;

[0049] S6: Generate application configuration files, deploy applications, and automatically mount storage.

[0050] Further, step S5 specifically includes:

[0051] S51: Deploy the PVC in the Kubernetes cluster through the Kubernetes PVC configur...

Embodiment 2

[0062] combined with Figure 4 , the present invention also provides a system for automatically allocating and creating application storage based on Kubernetes, the system includes

[0063] The cluster management unit is used to provide application deployment, maintenance, and expansion mechanisms, manage cross-machine running containerized applications, and can also start containers or create various resources through configuration files. The configuration file of the cluster management unit provides application storage size and type;

[0064] The distributed storage unit is deployed in the cluster management unit, and volumes, mirrors or directories can be created inside the distributed storage unit;

[0065] The monitoring and scoring unit is used to collect the information of the distributed storage unit, screen the distributed storage unit through the application information provided by the configuration file of the cluster management unit, and calculate the pressure of ...

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 present invention provides a Kubernetes-based method and system for automatic allocation and creation of application storage. By using a storage size and type information required by an application, various deployed distributed storage systems are screened; by using a monitoring scoring system, a pressure score of each distributed storage system that meets a requirement is calculated; a distributed storage system with a smallest pressure is selected; a Kubernetes PVC configuration file is generated; the PVC is deployed and a PV is dynamically created, and the PV is bound with the PVC; and finally an application configuration file is generated, and the PVC is designated as a Volume source, and the application is deployed, so that an applied storage resource is automatically mounted to the application. The method and system provided by the present invention are used to improve a storage resource management function of Kubernetes, and solve the problem that the application on a Kubernetes cluster is automatically mounted with persistent storage, and make creation of application storage more convenient and efficient.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a method and system for automatically allocating and creating application storage based on Kubernetes. Background technique [0002] Kubernetes is a container-based cluster management system. It is built on top of containers such as docker. It provides functions such as application deployment, maintenance, and expansion mechanisms. Using Kubernetes can easily manage containerized applications running across machines. Kubernetes can start containers or create various resources through configuration files. Kubernetes uses Volume (data volume) to provide the application storage resource management function, so that when Pod schedules migration between different nodes of Kubernetes, the data with persistent requirements will not be cleared, and no matter which node the container in the Pod is scheduled to , can always be mounted to the same Volume. [0003] in: [0004] Po...

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/06H04L29/08
CPCG06F3/067G06F3/0607G06F3/0631H04L67/1097
Inventor 张烨
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products