Supercharge Your Innovation With Domain-Expert AI Agents!

Dynamic storage class management method and device based on kubernetes

A technology of dynamic storage and management methods, applied in the field of kubernetes clusters, can solve problems such as imperceptibility

Active Publication Date: 2022-07-19
INSPUR SOFTWARE TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The technical task of the present invention is to address the above deficiencies, provide a dynamic storage class management method and device based on Kubernetes, to solve how to automatically switch the standby storage class when there is a problem with the default storage volume, how to realize high availability of the storage class, and The user does not perceive the switching of the default storage class and has no effect on the creation of pods.

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
  • Dynamic storage class management method and device based on kubernetes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] The dynamic storage class management method based on Kubernetes of the present invention includes the following steps:

[0052] S100, creating and configuring a Kubernetes cluster, where the Kubernetes cluster includes a control node and a computing node, and a ceph cluster is deployed in the Kubernetes cluster;

[0053] S200. Create and configure the rbd storage class as the default storage class;

[0054] S300. Create and configure a local-path storage class as a local backup storage class;

[0055] S400. Create a storage class monitoring application, where the storage class monitoring application is deployed inside the Kubernetes cluster;

[0056] S500. Periodically monitor the health status of the rbd storage class and the local-path storage class through the storage class monitoring application;

[0057] S600. If both the rbd storage class and the local-path storage class are normal, create a pod to mount the pvc through the rbd storage class;

[0058] If the ce...

Embodiment 2

[0081] The apparatus of the present invention includes: at least one memory and at least one processor;

[0082] the at least one memory for storing a machine-readable program;

[0083] The at least one processor is configured to invoke the machine-readable program to execute the method disclosed in Embodiment 1 of the present invention.

Embodiment 3

[0085] A computer-readable medium of the present invention stores computer instructions on the computer-readable medium, and when the computer instructions are executed by a processor, causes the processor to execute the method disclosed in Embodiment 1. Specifically, it is possible to provide a system or apparatus equipped with a storage medium on which software program codes for implementing the functions of any of the above-described embodiments are stored, and which enables a computer (or CPU or MPU of the system or apparatus) ) to read and execute the program code stored in the storage medium.

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 Kubernetes-based dynamic storage class management method and device, belonging to the technical field of kubernetes clusters. The technical problems to be solved are how to automatically switch the backup storage class when the default storage volume has problems, and how to realize the high It is available, and the user does not perceive the switching of the default storage class, and has no effect on the creation of pods. The methods include: creating and configuring a Kubernetes cluster; creating and configuring the rbd storage class as the default storage class; creating and configuring the local-path storage class as the local backup storage class; periodically monitoring the rbd storage class and local- The health status of the path storage class; if both the rbd storage class and the local‑path storage class are normal, create a pod to mount the pvc through the rbd storage class.

Description

technical field [0001] The invention relates to the technical field of kubernetes clusters, in particular to a Kubernetes-based dynamic storage class management method and device. Background technique [0002] Kubernetes is used to manage containerized applications on multiple hosts in the cloud platform. It is an open-source platform that can implement automatic deployment, automatic scaling, and maintenance of container clusters. Kubernetes has the advantages of rapidly deploying applications, rapidly expanding applications, seamlessly connecting new application functions, saving resources, and optimizing the use of hardware resources. [0003] Kubernetes features include multiple pods working together, storage system mounting, application health detection, application instance replication, pod auto scaling / expansion, registration and discovery, load balancing, rolling updates, resource monitoring, log access, debugging applications, and providing Authentication and autho...

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/067G06F3/0629G06F3/0653G06F3/0614
Inventor 张勇
Owner INSPUR SOFTWARE TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More