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

Method and device for creating persistent data volume and server

A persistent data and server technology, applied in the field of data processing, can solve problems such as poor ease of use, and achieve the effect of improving ease of use

Pending Publication Date: 2022-03-29
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of creating a PV, you need to create a PV based on the local path, that is, there is a relevant directory on a local node device, you need to specify this directory when creating a PV, and the path of the created PV is relatively fixed, resulting in the use of PV poor convenience

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
  • Method and device for creating persistent data volume and server
  • Method and device for creating persistent data volume and server
  • Method and device for creating persistent data volume and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. the embodiment. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0047] With the continuous development of digitalization and 5G (5th generation mobile networks, fifth-generation mobile communication technology, 5G for short) services, containers, Pods (Pods are the smallest unit of Kubernetes), Docker (an open source application container engine), Kubernetes (an open source container cluster management system) has entered everyone's field of vision, and with...

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 provides a method and device for creating a persistent data volume and a server. The method is applied to a first server. A container management application Kubernetes runs in the first server; when the Pod needs to be started, determining a target node for operating the Pod from a preset container node cluster according to the configuration requirement of the Pod; the node name of the target node and the persistent data volume request corresponding to the Pod are stored in an associated mode, so that the target node creates a logical volume and a persistent data volume according to the persistent data volume request; and binding the persistent data volume request and the persistent data volume, and binding the Pod and the target node. According to the method, when the persistent data volume is created, a proper target node can be selected according to the configuration requirement of the Pod, the target node creates the persistent data volume according to the persistent data volume request, and the direction is different from the direction of a pre-appointed path for creating the persistent data volume, so that dynamic creation of the persistent data volume is realized; and the use convenience of the persistent data volume is improved.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a method, device and server for creating persistent data volumes. Background technique [0002] A data volume Volume is a specific file or folder that exists in one or more containers, and the directory of the specific file or folder exists in the host machine in a form independent of the joint file system. In Kubernetes (also known as K8S), a Volume needs to be mounted to each Pod, and then the process or container running in the Pod can use the mounted Volume through VolumeMounts. [0003] A Persistent Volume (PV for short) is a storage space in an external storage system, which can be created and maintained by an administrator. Like Volume, PV is persistent and its life cycle is independent of Pod. In the process of creating a PV, you need to create a PV based on the local path, that is, there is a relevant directory on a local node device, you need to specif...

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/0665G06F3/0643G06F3/0607G06F3/067
Inventor 刘月王海东
Owner BEIJING KINGSOFT CLOUD NETWORK 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