CN112579008A - Storage deployment method, device, equipment and storage medium of container arrangement engine - Google Patents

Storage deployment method, device, equipment and storage medium of container arrangement engine Download PDF

Info

Publication number
CN112579008A
CN112579008A CN202011572978.7A CN202011572978A CN112579008A CN 112579008 A CN112579008 A CN 112579008A CN 202011572978 A CN202011572978 A CN 202011572978A CN 112579008 A CN112579008 A CN 112579008A
Authority
CN
China
Prior art keywords
storage
container
storage system
physical
physical server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011572978.7A
Other languages
Chinese (zh)
Inventor
赵振阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sangfor Technologies Co Ltd filed Critical Sangfor Technologies Co Ltd
Priority to CN202011572978.7A priority Critical patent/CN112579008A/en
Publication of CN112579008A publication Critical patent/CN112579008A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/275Synchronous replication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0676Magnetic disk device

Abstract

The application discloses a storage deployment method, a device, equipment and a storage medium of a container arrangement engine. The method comprises the following steps: installing and running a container arrangement engine in a physical server; configuring and operating a storage system based on a physical server; creating a storage volume in a storage system; and establishing a mounting relation between the data volume and the container group in the container arrangement engine. According to the method, the storage system is configured in the physical server, and the mounting relation between the storage volume in the storage system and the container group in the container arranging engine is established, so that the container in the container group can read and write data of the storage volume in the storage system based on the mounting relation, and further the use of storage resources in the physical server by the container arranging engine is realized. In addition, the application also provides a storage deployment device, equipment and a storage medium of the container arrangement engine, and the beneficial effects are as described above.

Description

Storage deployment method, device, equipment and storage medium of container arrangement engine
Technical Field
The present application relates to the field of computers, and in particular, to a storage deployment method, apparatus, device, and storage medium for a container orchestration engine.
Background
The container arrangement engine is used for managing containerized applications on a plurality of hosts in the cloud platform, the container arrangement engine aims to enable the containerized applications to be deployed simply and efficiently, and the container arrangement engine provides a mechanism for deploying, planning, updating and maintaining containers.
The containers are resource groups which are divided based on resources of the operating system and are mutually isolated, and conflicting resource use requirements can be balanced among the containers.
The container arrangement engine and the container are used as emerging technologies, the development and service operation modes are greatly changed, the container needs to use shared storage for realizing elasticity, when the container arrangement engine and the container are directly deployed on a physical server, the physical server can only provide computing and network resources for the container arrangement engine, the local storage of the physical server cannot provide elasticity and high availability for stateful application, and the resources such as disk position, storage and the like of the physical server are wasted.
Therefore, it is a problem to be solved by those skilled in the art to provide a storage deployment method for a container orchestration engine to implement the use of storage resources in a physical server by the container orchestration engine.
Disclosure of Invention
The application aims to provide a storage deployment method, a storage deployment device, storage equipment and a storage medium of a container arrangement engine, so that the container arrangement engine can use storage resources in a physical server.
In order to solve the above technical problem, the present application provides a storage deployment method for a container orchestration engine, including:
installing and running a container arrangement engine in a physical server;
configuring and operating a storage system based on a physical server;
creating a storage volume in a storage system;
and establishing a mounting relation between the data volume and the container group in the container arrangement engine.
Preferably, configuring and operating the storage system based on the physical server includes:
deploying a storage system in a physical service;
mounting a physical disk in a physical server to a storage system;
and operating the storage system with the physical disk.
Preferably, mounting the physical disk in the physical server to the storage system includes:
and mounting the physical disk to the storage system in a mode of transmitting the physical address of the physical disk in the physical server to the storage system.
Preferably, the number of physical servers is greater than 1;
accordingly, deploying a storage system in a physical service comprises:
installing a storage system in each physical server;
and establishing a distributed data synchronization relationship of the storage system among the physical servers.
Preferably, establishing a mount relationship between the data volume and the container group in the container orchestration engine includes:
and establishing a mounting relation between the data volume and the container group in the container arrangement engine based on the storage class corresponding to the container arrangement engine.
Preferably, the container orchestration engine comprises a kubernets engine and the set of containers comprises a pod set.
Preferably, configuring and operating the storage system based on the physical server includes:
the storage system is configured based on the physical server and run through DaemonSet.
In addition, the present application further provides a storage deployment apparatus of a container orchestration engine, including:
the container engine operation module is used for installing and operating a container arrangement engine in the physical server;
the storage system operation module is used for configuring and operating the storage system based on the physical server;
a storage volume creation module to create a storage volume in a storage system;
and the container group mounting module is used for establishing the mounting relation between the data volume and the container group in the container arrangement engine.
In addition, the present application also provides a storage deployment device of a container orchestration engine, including:
a memory for storing a computer program;
a processor for implementing the steps of the storage deployment method of the container orchestration engine as described above when executing the computer program.
In addition, the present application also provides a computer readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the storage deployment method of the container orchestration engine as described above.
According to the storage deployment method of the container arrangement engine, the container arrangement engine is installed and operated in the physical server, the storage system is configured and operated based on the physical server, a storage volume is further created in the storage system, and a mounting relation between the data volume and a container group in the container arrangement engine is created. According to the method, the storage system is configured in the physical server, and the mounting relation between the storage volume in the storage system and the container group in the container arrangement engine is established, so that the container in the container group can read and write data of the storage volume in the storage system based on the mounting relation, and further the use of storage resources in the physical server by the container arrangement engine is realized. In addition, the application also provides a storage deployment device, equipment and a storage medium of the container arrangement engine, and the beneficial effects are as described above.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a storage deployment method of a container orchestration engine disclosed in an embodiment of the present application;
FIG. 2 is a flowchart of a specific storage deployment method of a container orchestration engine according to an embodiment of the present disclosure;
fig. 3 is a schematic storage deployment diagram of a container orchestration engine in a specific application scenario disclosed in an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a storage deployment apparatus of a container orchestration engine according to an embodiment of the present disclosure;
fig. 5 is a schematic hardware component structure diagram of a storage deployment device of a container orchestration engine according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The container arrangement engine and the container are used as emerging technologies, the development and service operation modes are greatly changed, the container needs to use shared storage for realizing elasticity, when the container arrangement engine and the container are directly deployed on a physical server, the physical server can only provide computing and network resources for the container arrangement engine, the local storage of the physical server cannot provide elasticity and high availability for stateful application, and the resources such as disk position, storage and the like of the physical server are wasted.
Therefore, the core of the application is to provide a storage deployment method of the container orchestration engine, so as to realize the use of the storage resources in the physical server by the container orchestration engine.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application discloses a storage deployment method for a container orchestration engine, including:
step S10: the container orchestration engine is installed and run in the physical server.
It should be noted that, the execution subject of this embodiment may be a physical server configuration device having a communication control relationship with a physical server, where the physical server is a server device composed of physical hardware, and the hardware of the physical server includes a processor, a hard disk, a memory, a system bus, etc., and is similar to a general computer architecture, but needs to provide a highly reliable service, so that the requirements in terms of processing capability, stability, reliability, security, scalability, manageability, etc. are higher than those of a computer.
This step first installs and runs a container orchestration engine in the physical server, where the container orchestration engine is an abstraction layer provided between resource pools and application containers running on these resource pools, and the main problem solved is how to combine discrete resources into one pool and deploy various applications onto this pool, ranging from simple three-tier network architectures to large-scale data ingestion and processing, and all processing operations in between. The purpose of installing and operating the container arrangement engine in the physical server in the step is to further establish the call relationship of the container arrangement engine to the storage resources in the physical server in the subsequent step.
Step S11: the storage system is configured and operated based on the physical server.
It should be noted that, in this step, a storage system is configured and operated based on a physical server, so as to further implement management on physical storage resources in the physical server through the storage system, and further provide storage resources integrated by the storage system to the container arrangement engine based on the storage system.
The execution sequence between step S11 and step S10 is not fixed, and may be executed simultaneously, and is not particularly limited as it is.
Step S12: a storage volume is created in a storage system.
After the storage system is configured and operated based on the physical server, a storage volume is further created in the storage system in the step, wherein the storage volume is equivalent to a storage resource managed by the storage system and is further divided to generate a result.
Step S13: and establishing a mounting relation between the data volume and the container group in the container arrangement engine.
After the storage volume is created in the storage system, the step further includes a mount relationship between the data volume and a container group in the container arrangement engine, where the mount relationship is a data access relationship between the container group and the data volume, and the containers in the container group can access the data volume based on the mount relationship and read and write data to the data volume. The container group consists of one or more containers with the same function, and the containers are distributed in the same node and share the same name space. Based on the mounting relation between the storage volume and the container group in the container arrangement engine, the effect that the storage volume in the storage system can be accessed through the container group in the container arrangement engine can be achieved, and therefore the use of the storage resources in the physical server by the container arrangement engine is further achieved.
According to the storage deployment method of the container arrangement engine, the container arrangement engine is installed and operated in the physical server, the storage system is configured and operated based on the physical server, a storage volume is further created in the storage system, and a mounting relation between the data volume and a container group in the container arrangement engine is created. According to the method, the storage system is configured in the physical server, and the mounting relation between the storage volume in the storage system and the container group in the container arrangement engine is established, so that the container in the container group can read and write data of the storage volume in the storage system based on the mounting relation, and further the use of storage resources in the physical server by the container arrangement engine is realized.
On the basis of the above embodiment, as a preferred implementation, establishing a mount relationship between a data volume and a container group in a container orchestration engine includes:
and establishing a mounting relation between the data volume and the container group in the container arrangement engine based on the storage class corresponding to the container arrangement engine.
In the present embodiment, the mounting relationship between the data volume and the container group in the container arrangement engine is established between the data volume and the container arrangement engine based on the storage class corresponding to the container arrangement engine. The cluster administrator of the container arrangement engine can meet the storage requirements of users with different service quality levels, backup strategies and any strategy requirements by providing different storage classes. Dynamic storage volume provisioning is implemented using a storage class (StorageClass), which allows storage volumes to be created on demand, and this embodiment can further ensure the reliability of the process of establishing the mount relationship of data volumes to container groups in the container arrangement engine.
As shown in fig. 2, an embodiment of the present application discloses a storage deployment method for a container orchestration engine, including:
step S20: the container orchestration engine is installed and run in the physical server.
Step S21: a storage system is deployed in a physical service.
Step S22: and mounting the physical disk in the physical server to the storage system.
Step S23: and operating the storage system with the physical disk.
Step S24: a storage volume is created in a storage system.
Step S25: and establishing a mounting relation between the data volume and the container group in the container arrangement engine.
It should be noted that, in this embodiment, when configuring and operating the storage system based on the physical server, first, the storage system is installed and deployed in the physical server, and then the physical disk in the physical server is mounted to the storage system, so as to ensure that the storage system can format the physical storage resource in the physical server, thereby implementing management of the physical storage resource, and on this basis, the storage system mounted with the physical disk is further operated, thereby completing the purpose of configuring and operating the storage system in the physical server. The embodiment further ensures the reliability of the process of configuring and operating the storage system based on the physical server.
In addition, when the types of the physical disks in the physical server are more than one, in the process of mounting the physical disks in the physical server to the storage system, the corresponding types of the physical disks can be mounted to the storage system according to the capacity proportion among different types of the physical disks according to the actual storage performance requirement of the container in the container arranging engine. Different types of physical disks referred to herein include, but are not limited to, SSD (Solid State drive), SATA (Serial ATA), and SAS (Serial Attached SCSI) disks.
On the basis of the above embodiment, as a preferred implementation, the mounting a physical disk in a physical server to a storage system includes:
and mounting the physical disk to the storage system in a mode of transmitting the physical address of the physical disk in the physical server to the storage system.
It should be noted that, in the process of mounting the physical disk in the physical server to the storage system, the embodiment adopts a mode of transparently transmitting the physical address of the physical disk in the physical server to the storage system, so that the storage system learns the access path of the physical disk, and then the storage system can relatively accurately initiate access to the physical disk according to the physical address. In addition, the transparent transmission in the present embodiment, that is, transparent transmission (pass-through), refers to that it is only responsible for transmitting the transmitted content from the source address to the destination address, regardless of the transmitted service content, without any change to the service data content in the communication. The embodiment further ensures the reliability of the process of mounting the physical disk in the physical server to the storage system.
In addition, on the basis of the above embodiment, as a preferred implementation, the number of physical servers is greater than 1;
accordingly, deploying a storage system in a physical service comprises:
installing a storage system in each physical server;
and establishing a distributed data synchronization relationship of the storage system among the physical servers.
It should be noted that the number of the physical servers in this embodiment is greater than 1, that is, when the storage system is deployed in a physical service, the storage system is installed in each physical server, and a distributed data synchronization relationship of the storage systems between the physical servers is established, so as to achieve the purpose of constructing the distributed storage system between the physical servers by the storage systems in each physical server. The embodiment further ensures the reliability of storage and deployment of the container arrangement engine in the physical server when the number of the physical servers is greater than 1.
Based on the above series of embodiments, as a preferred implementation, the container arrangement engine includes a kubernets engine, and the container group includes a pod group.
It should be noted that Kubernetes is abbreviated as K8s, and is an open-source container arrangement engine. The Kubernetes engine provides a mechanism for application deployment, planning, updating and maintenance. The pod group is a resource organization mode in a Kubernetes engine, is a minimum resource organization mode in the Kubernetes engine, and generally consists of one or more containers with the same function, which are distributed in the same node and share the same name space. The embodiment further ensures the use of the storage resources in the physical server by the Kubernets engine.
Further, as a preferred embodiment, the storage system is configured and operated based on a physical server, and includes:
the storage system is configured based on the physical server and run through DaemonSet.
DaemonSet is a controller in a kubernets engine, and can ensure that each or part of physical server nodes in a physical server cluster run one pod copy, create pod container groups when new physical server nodes join the physical server cluster, and recycle pod container groups when the physical server nodes leave the cluster. If DaemonSet is deleted, all pod container groups it creates are also deleted, and the pod container groups in DaemonSet cover the entire physical server cluster. The embodiment further ensures the reliability of storage and deployment of the container arrangement engine in the physical server.
For deepening understanding of the foregoing embodiments of the present application, the present application further provides a scenario embodiment in a specific application scenario for further description, and as shown in fig. 3, a schematic storage and deployment diagram of a container arrangement engine in a specific application scenario is provided.
The storage deployment process of the container orchestration engine comprises:
1. configuring a hardware server
And providing the storage resources of the physical server for the container, thereby realizing distributed storage under the container. In the first step, a disk needs to be configured for a physical server, and SSD, SATA and SAS disks are distributed according to reasonable performance and capacity proportion.
2. Install operating System and install K8S
And installing an operating system, and installing K8S on the operating system. In the container environment, the service runs in K8S to obtain high availability and resilience.
3. And running the distributed storage service in a DaemonSet mode, and transparently transmitting the disk to the distributed storage service pod.
Distributed storage is run on each physical server in DaemonSet, and k8S provides highly available maintenance for this type of pod, and maintains their state. The distributed storage service passes through the disks of the physical servers to the distributed storage service in the container after each physical server is taken up.
4. And the distributed storage services on the physical node servers form a distributed storage cluster to provide storage for the outside.
5. Configuring the distributed storage cluster in K8S, K8S may use dynamic usage storage in the form of storage classes or persistent volumes.
Referring to fig. 4, an embodiment of the present application discloses a storage deployment apparatus for a container orchestration engine, including:
a container engine running module 10 for installing and running a container arrangement engine in a physical server;
a storage system operation module 11, configured to configure and operate a storage system based on a physical server;
a storage volume creation module 12 for creating a storage volume in a storage system;
and the container group mounting module 13 is configured to establish a mounting relationship between the data volume and the container group in the container arrangement engine.
In one embodiment, the storage system operation module 11 includes:
the storage system deployment module is used for deploying the storage system in the physical service;
the physical disk mounting module is used for mounting the physical disk in the physical server to the storage system;
and the operation module is used for operating the storage system with the physical disk.
In one embodiment, the physical disk mount module includes:
and the transparent transmission mounting module is used for mounting the physical disk to the storage system in a mode of transmitting the physical address of the physical disk in the physical server to the storage system.
In one embodiment, the number of physical servers is greater than 1;
accordingly, a storage system deployment module, comprising:
the system installation module is used for installing a storage system in each physical server;
and the synchronization relationship establishing module is used for establishing the distributed data synchronization relationship of the storage system among the physical servers.
In one embodiment, the container group mounting module 13 includes:
and the storage class mounting module is used for establishing the mounting relation between the data volume and the container group in the container arrangement engine based on the storage class corresponding to the container arrangement engine.
In one embodiment, the container orchestration engine comprises a kubernets engine and the container group comprises a pod container group.
In one embodiment, the storage system operation module 11 includes:
and the system operation sub-module is used for operating the storage system based on physical server configuration and through DaemonSet.
According to the storage deployment device of the container arrangement engine, the container arrangement engine is installed and operated in the physical server, the storage system is configured and operated based on the physical server, a storage volume is further created in the storage system, and a mounting relation between the data volume and a container group in the container arrangement engine is created. Because the device configures the storage system in the physical server and establishes the mounting relation between the storage volume in the storage system and the container group in the container arrangement engine, the container in the container group can read and write data of the storage volume in the storage system based on the mounting relation, and further the use of storage resources in the physical server by the container arrangement engine is realized.
Based on the hardware implementation of the program module, and in order to implement the storage deployment method of the container orchestration engine according to the embodiment of the present application, an embodiment of the present application further provides a storage deployment device of the container orchestration engine, where a virtual machine runs and a communication connection is established between a virtual machine disk corresponding to the virtual machine, and fig. 5 is a schematic diagram of a hardware composition structure of the storage deployment device of the container orchestration engine according to the embodiment of the present application, and as shown in fig. 5, the storage deployment device of the container orchestration engine includes:
a communication interface 1 capable of information interaction with other devices such as network devices and the like;
and the processor 2 is connected with the communication interface 1 to realize information interaction with other equipment, and is used for executing the storage and deployment method of the container orchestration engine provided by one or more technical schemes when running a computer program. And the computer program is stored on the memory 3.
Of course, in practice, the various components of the storage deployment device of the container orchestration engine are coupled together by the bus system 4. It will be appreciated that the bus system 4 is used to enable connection communication between these components. The bus system 4 comprises, in addition to a data bus, a power bus, a control bus and a status signal bus. For the sake of clarity, however, the various buses are labeled as bus system 4 in fig. 5.
The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the storage deployment device of the container orchestration engine. Examples of such data include: any computer program for operating on a storage deployment device of a container orchestration engine.
It will be appreciated that the memory 3 may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 2 described in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The storage deployment method of the container orchestration engine disclosed in the embodiment of the present application may be applied to the processor 2, or implemented by the processor 2. The processor 2 may be an integrated circuit chip having signal processing capabilities. In the implementation process, the steps of the storage deployment method of the container orchestration engine may be implemented by integrated logic circuits of hardware in the processor 2 or instructions in the form of software. The processor 2 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 2 may implement or execute the storage deployment methods, steps, and logic block diagrams of the container orchestration engines disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the storage deployment method of the container orchestration engine disclosed in the embodiments of the present application may be directly implemented as the execution of a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium located in the memory 3, and the processor 2 reads the program in the memory 3, and completes the steps of the storage deployment method of the container orchestration engine in combination with its hardware.
When the processor 2 executes the program, the corresponding processes in the storage deployment method of each container orchestration engine according to the embodiment of the present application are implemented, and for brevity, details are not described here again.
In an exemplary embodiment, the present application further provides a storage medium, specifically a computer-readable storage medium, for example, a memory 3 storing a computer program, where the computer program is executable by a processor 2 to perform the steps of the storage deployment method of the container orchestration engine. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
In the several embodiments provided in the present application, it should be understood that the storage deployment method of the disclosed apparatus, terminal and container orchestration engine may be implemented in other ways. The above-described device embodiments are only illustrative, for example, the division of the unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps of implementing the embodiment of the storage deployment method of the container orchestration engine may be completed by hardware related to program instructions, where the program may be stored in a computer-readable storage medium, and when executed, the program performs the steps of the embodiment of the storage deployment method including the container orchestration engine; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially implemented in the form of a software product, where the computer software product is stored in a storage medium and includes several instructions to enable a storage deployment device (which may be a personal computer, a server, or a network device) of a container orchestration engine to execute all or part of the storage deployment methods of the container orchestration engines of the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
According to the storage deployment equipment of the container arrangement engine, the container arrangement engine is installed and operated in the physical server, the storage system is configured and operated based on the physical server, a storage volume is further created in the storage system, and a mounting relation between the data volume and a container group in the container arrangement engine is created. Because the storage system is configured in the physical server and the mounting relation between the storage volume in the storage system and the container group in the container arrangement engine is established, the container in the container group can read and write data of the storage volume in the storage system based on the mounting relation, and the use of storage resources in the physical server by the container arrangement engine is further realized.
In addition, the embodiment of the application also discloses a computer readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the storage deployment method of the container orchestration engine are realized.
The computer-readable storage medium provided by the application is used for firstly installing and operating the container arrangement engine in the physical server, configuring and operating the storage system based on the physical server, further creating a storage volume in the storage system, and establishing a mounting relation between the data volume and a container group in the container arrangement engine. The computer readable storage medium configures a storage system in a physical server and establishes a mount relationship between a storage volume in the storage system and a container group in a container arrangement engine, so that the containers in the container group can read and write data of the storage volume in the storage system based on the mount relationship, and the use of storage resources in the physical server by the container arrangement engine is further realized.
The above detailed description is provided for a storage deployment method, apparatus, device and storage medium of a container orchestration engine provided by the present application. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A storage deployment method of a container orchestration engine is characterized by comprising the following steps:
installing and running a container arrangement engine in a physical server;
configuring and operating a storage system based on the physical server;
creating a storage volume in the storage system;
and establishing a mounting relation between the data volume and the container group in the container arrangement engine.
2. The storage deployment method of the container orchestration engine according to claim 1, wherein the configuring and running the storage system based on the physical server comprises:
deploying the storage system in the physical service;
mounting a physical disk in the physical server to the storage system;
and operating the storage system with the physical disk.
3. The storage deployment method of the container orchestration engine according to claim 2, wherein the mounting the physical disk in the physical server to the storage system comprises:
and mounting the physical disk to the storage system in a mode of transmitting the physical address of the physical disk in the physical server to the storage system.
4. The storage deployment method of the container orchestration engine according to claim 2, wherein the number of physical servers is greater than 1;
correspondingly, the deploying the storage system in the physical service includes:
installing the storage system in each of the physical servers;
and establishing a distributed data synchronization relationship of the storage system among the physical servers.
5. The storage deployment method of the container orchestration engine according to claim 1, wherein the establishing a mount relationship between the data volume and a container group in the container orchestration engine comprises:
establishing the mount relationship between the data volume and the container group in the container orchestration engine based on a storage class corresponding to the container orchestration engine.
6. The storage deployment method of the container orchestration engine according to any one of claims 1 to 5, wherein the container orchestration engine comprises a Kubernets engine, and the container group comprises a pod container group.
7. The storage deployment method of the container orchestration engine according to claim 6, wherein the configuring and running a storage system based on the physical server comprises:
operating the storage system based on the physical server configuration and via DaemonSet.
8. A storage deployment apparatus of a container orchestration engine, comprising:
the container engine operation module is used for installing and operating a container arrangement engine in the physical server;
the storage system operation module is used for configuring and operating a storage system based on the physical server;
a storage volume creation module to create a storage volume in the storage system;
and the container group mounting module is used for establishing the mounting relation between the data volume and the container group in the container arranging engine.
9. A storage deployment apparatus of a container orchestration engine, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the storage deployment method of the container orchestration engine according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of a storage deployment method of a container orchestration engine according to any one of claims 1 to 7.
CN202011572978.7A 2020-12-24 2020-12-24 Storage deployment method, device, equipment and storage medium of container arrangement engine Pending CN112579008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011572978.7A CN112579008A (en) 2020-12-24 2020-12-24 Storage deployment method, device, equipment and storage medium of container arrangement engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011572978.7A CN112579008A (en) 2020-12-24 2020-12-24 Storage deployment method, device, equipment and storage medium of container arrangement engine

Publications (1)

Publication Number Publication Date
CN112579008A true CN112579008A (en) 2021-03-30

Family

ID=75139964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011572978.7A Pending CN112579008A (en) 2020-12-24 2020-12-24 Storage deployment method, device, equipment and storage medium of container arrangement engine

Country Status (1)

Country Link
CN (1) CN112579008A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672350A (en) * 2021-08-20 2021-11-19 深信服科技股份有限公司 Application processing method and device and related equipment
CN114115730A (en) * 2021-11-02 2022-03-01 北京银盾泰安网络科技有限公司 Application container storage engine platform
CN114116381A (en) * 2021-11-12 2022-03-01 苏州浪潮智能科技有限公司 Container-based storage system and container processing method
CN114281263A (en) * 2021-12-27 2022-04-05 深圳市名竹科技有限公司 Storage resource processing method, system and equipment of container cluster management system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258720A (en) * 2020-01-19 2020-06-09 苏州浪潮智能科技有限公司 Service arranging method, system, equipment and medium based on cloud management platform
CN111625317A (en) * 2020-05-15 2020-09-04 苏州浪潮智能科技有限公司 Container cloud construction method and related device of business system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258720A (en) * 2020-01-19 2020-06-09 苏州浪潮智能科技有限公司 Service arranging method, system, equipment and medium based on cloud management platform
CN111625317A (en) * 2020-05-15 2020-09-04 苏州浪潮智能科技有限公司 Container cloud construction method and related device of business system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
INT32BIT: "轻量级Kubernetes k3s初探", pages 1 - 15, Retrieved from the Internet <URL:https://mp.weixin.qq.com/s/gtw6k-jmtatlk8LSkMzGiA> *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672350A (en) * 2021-08-20 2021-11-19 深信服科技股份有限公司 Application processing method and device and related equipment
CN113672350B (en) * 2021-08-20 2023-12-29 深信服科技股份有限公司 Application processing method and device and related equipment
CN114115730A (en) * 2021-11-02 2022-03-01 北京银盾泰安网络科技有限公司 Application container storage engine platform
CN114115730B (en) * 2021-11-02 2023-06-13 北京银盾泰安网络科技有限公司 Application container storage engine platform
CN114116381A (en) * 2021-11-12 2022-03-01 苏州浪潮智能科技有限公司 Container-based storage system and container processing method
CN114281263A (en) * 2021-12-27 2022-04-05 深圳市名竹科技有限公司 Storage resource processing method, system and equipment of container cluster management system
CN114281263B (en) * 2021-12-27 2024-03-29 深圳市名竹科技有限公司 Storage resource processing method, system and equipment of container cluster management system

Similar Documents

Publication Publication Date Title
US7694298B2 (en) Method and apparatus for providing virtual server blades
CN112579008A (en) Storage deployment method, device, equipment and storage medium of container arrangement engine
CN111338854B (en) Kubernetes cluster-based method and system for quickly recovering data
US11146620B2 (en) Systems and methods for instantiating services on top of services
CN102110071B (en) Virtual machine cluster system and implementation method thereof
US8370833B2 (en) Method and system for implementing a virtual storage pool in a virtual environment
US7725559B2 (en) Virtual data center that allocates and manages system resources across multiple nodes
US9928107B1 (en) Fast IP migration in a hybrid network environment
US10133646B1 (en) Fault tolerance in a distributed file system
US20100115070A1 (en) Method for generating manipulation requests of an initialization and administration database of server cluster, data medium and corresponding a server cluster, data medium and corresponding service cluster
US20070067366A1 (en) Scalable partition memory mapping system
US9282021B2 (en) Method and apparatus for simulated failover testing
US9792150B1 (en) Detecting site change for migrated virtual machines
US20210405902A1 (en) Rule-based provisioning for heterogeneous distributed systems
CN113504954B (en) Method, system and medium for calling CSI LVM plug in and dynamic persistent volume supply
CN113032085A (en) Management method, device, server, management system and medium of cloud operating system
CN111538561B (en) OpenStack large-scale cluster deployment test method and system based on KVM virtualization technology
US20220057947A1 (en) Application aware provisioning for distributed systems
CN105335168A (en) System, method and apparatus for remotely configuring operating system
CN111147274B (en) System and method for creating a highly available arbitration set for a cluster solution
CN105068836A (en) SAS (serial attached SCSI) network based remotely-shareable start-up system
US10782989B2 (en) Method and device for virtual machine to access storage device in cloud computing management platform
US9871706B2 (en) Intelligently managing pattern contents across multiple racks based on workload and human interaction usage patterns
CN103109515A (en) Business deploy method and device
CN111488322B (en) File system service method and device and server equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination