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

The invention discloses a sStateful application storage management method based on Kubernetes

A technology of storage management and state, applied in the field of cloud computing, can solve problems such as data volume occupation, legacy data volumes, adverse effects, etc., and achieve the effect of being easy to mount and use

Active Publication Date: 2019-04-12
烽火云科技有限公司
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] (1) The stateful applications created after the container cluster has been used for a long time will generate a large number of leftover data volumes after being deleted or scaled down;
[0004] (2) Relevant legacy data volumes occupy a large amount of storage space, which adversely affects the normal application volume resources of the container cluster, and may even lead to application failure due to insufficient storage resources;
[0005] (3) In some scenarios, the relevant data of the leftover data volume after the stateful application of the container cluster is deleted or shrunk is still useful to the customer, and may be mounted and used again later. In order to ensure the security of the data, it cannot Direct deletion processing;

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
  • The invention discloses a sStateful application storage management method based on Kubernetes
  • The invention discloses a sStateful application storage management method based on Kubernetes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0031] see figure 1 As shown, the embodiment of the present invention provides a Kubernetes-based stateful application storage management method, including steps:

[0032] Create a container cluster, and configure the global switch of whether to retain the corresponding data volume after the stateful application of the container cluster is deleted or scaled down;

[0033] Create a stateful application, and choose whether to set the attribute, which determines whether to retain the corresponding data volume after the stateful application is deleted or shrunk;

[0034] Create a data volume corresponding to a stateful application;

[0035] Determine whether to retain the corresponding data volume after the stateful application is deleted or reduced according to the set attribute; if no attribute is set, determine whether to retain the correspon...

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 stateful application storage management method based on KubernetesKubernetes-based stateful application storage management method, which relates to the technical field of cloud computing, and comprises the following steps of: creating a container cluster, and configuring whether a global switch of a corresponding data volume is reserved after a stateful application of thecontainer cluster is deleted or shrunk; creating a stateful application, and selecting whether an attribute is set or not, wherein the attribute determines whether a corresponding data volume is reserved or not after the stateful application is deleted or shrunk; creating a data volume corresponding to the stateful application; Judging whether a corresponding data volume is reserved or not afterthe stateful application is deleted or shrunk according to the set attribute; and when the attribute is not set, whether the corresponding data volume is reserved is judged according to the global switch. According to the method provided by the invention, a user can select whether the related volume resources are still reserved after the stateful application is deleted or shrunk according to the actual needs of the user. W; when the volume resources are not reserved, the related volume resources can be released in time; W; when the reserved volume resource is set, the related volume resource can be reserved.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a Kubernetes-based stateful application storage management method. Background technique [0002] The container cluster management system Kubernetes is an open source platform that can realize automatic deployment, automatic expansion and contraction, maintenance and other functions of container clusters. StatefulSet is a load management controller provided by Kubernetes to manage stateful applications. It is used to solve the independent life cycle management of each pod instance and provide the startup sequence and uniqueness of each instance. Kubernetes uses technologies such as StatefulSet to create stateful applications. In a converged cloud platform environment based on container and cloud platform technologies, the following problems will arise: [0003] (1) After the stateful application created after the container cluster is used for a long time is deleted or sca...

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/5005G06F9/5022
Inventor 赵伟曹冉胡燕琦
Owner 烽火云科技有限公司
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