CN112631614B - Application deployment method, device, computer equipment and storage medium - Google Patents
Application deployment method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN112631614B CN112631614B CN202011608906.3A CN202011608906A CN112631614B CN 112631614 B CN112631614 B CN 112631614B CN 202011608906 A CN202011608906 A CN 202011608906A CN 112631614 B CN112631614 B CN 112631614B
- Authority
- CN
- China
- Prior art keywords
- container
- executed
- task
- command
- application
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The application relates to an application deployment method and device based on cloud computing, computer equipment and a storage medium. The method comprises the following steps: acquiring an application deployment request, and responding to the application deployment request, and running an application container engine; the application container engine is provided with a first container and a second container; configuring a task to be executed based on the first container, and configuring a command to be executed associated with the task to be executed on the second container; and distributing the command to be executed to the server clusters to be deployed based on the second container, so that each server cluster to be deployed responds to the execution command to perform deployment configuration. In the method, by adopting a container combination mode, no additional client is required to be installed, the configuration requirement on the running server can be reduced, meanwhile, the use and configuration process of the container are simpler, a great amount of time is not consumed for grammar learning by a user, and the application deployment configuration efficiency for the server cluster is improved.
Description
Technical Field
The present application relates to the field of cloud computing technologies, and in particular, to an application deployment method, an application deployment device, a computer device, and a storage medium.
Background
With the development of cloud computing technology and the wide application and iterative update of various large application programs and systems, the demands for automatic installation and deployment of core components of different application programs and systems, installation and deployment of basic operation environments and daily production and release are increasing.
Traditionally, this is done by writing the corresponding script using a self-developed deployment platform, purchasing a commercial deployment platform and tools or open source automation tools, but with significant human or commercial software purchase costs. In order to reduce the consumption of manpower and material resources, an open source automatic deployment tool appears.
Commonly used automation deployment tools, such as chef and puppet, chef is an automation server configuration management tool, can perform automation configuration on managed objects, such as system management, installation software and the like, puppet is an IT infrastructure automation management tool, and can realize automation repetitive tasks, rapid deployment of critical applications and the like. However, the chef and puppet not only need to install clients, but also have steep learning curves, and require the manager to be skilled in corresponding grammar, so that the configuration deployment efficiency is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an application deployment method, apparatus, computer device, and storage medium that can improve the efficiency of deploying applications based on a server cluster.
An application deployment method, the method comprising:
acquiring an application deployment request, and responding to the application deployment request, and running an application container engine; the application container engine is provided with a first container and a second container;
configuring a task to be executed based on the first container, and configuring a command to be executed associated with the task to be executed on the second container;
and distributing the command to be executed to the server clusters to be deployed based on the second container, so that each server cluster to be deployed responds to the execution command to perform deployment configuration.
In one embodiment, the method further comprises:
obtaining and installing plug-ins corresponding to the first container according to the configuration information of the first container;
configuring environment variables and key information of the first container based on service requirements;
and determining an environment configuration file of the second container based on the service requirement, and carrying out environment configuration on the second container according to the environment configuration file.
In one embodiment, the configuring a task to be executed based on the first container and configuring a command to be executed associated with the task to be executed on the second container includes:
Acquiring a task type and a task identification of the task to be executed;
determining a corresponding execution step based on the task type, and generating a corresponding task to be executed according to the execution step;
newly creating a corresponding task to be executed on the first container according to the task identifier;
generating a command format to be executed associated with the task to be executed according to the executing step and a preset association protocol;
and configuring a to-be-executed command associated with the to-be-executed task on the second container according to the execution command format and the environment configuration file of the second container.
In one embodiment, the method further comprises:
generating a cluster data file according to host information of a server cluster to be deployed, and storing the cluster data file into a second container; the cluster data file may be stored in an image file of the second container, or stored in the second container in a container hanging manner, or stored in a blockchain network.
In one embodiment, the manner of distributing the command to be executed to the server cluster to be deployed based on the second container further includes:
Acquiring the cluster data file from the second container;
modifying and configuring the cluster data file according to attribute information of the transfer server;
establishing connection with the transfer server based on a preset protocol according to the configured cluster data file;
and distributing the command to be executed to a connected transfer server based on the second container, so that the transfer server forwards the command to be executed to a server cluster to be deployed, which establishes connection with the transfer server.
In one embodiment, the method further comprises:
acquiring a maintenance instruction aiming at the environment configuration file; the maintenance instructions comprise a fault repair instruction, a newly built deployment task instruction and an original task upgrading instruction;
in the deployment process of the server cluster application, responding to the maintenance instruction and executing maintenance operation on the environment configuration file; the maintenance operation corresponding to the maintenance instruction comprises fault repair, newly-built deployment tasks and upgrading original tasks.
An application deployment apparatus, the apparatus comprising:
the application deployment request response module is used for acquiring an application deployment request and responding to the application deployment request to run an application container engine; the application container engine is provided with a first container and a second container;
The configuration module is used for configuring a task to be executed based on the first container and configuring a command to be executed associated with the task to be executed on the second container;
and the execution command distribution module is used for distributing the command to be executed to the server clusters to be deployed based on the second container, so that each server cluster to be deployed responds to the execution command to perform deployment configuration.
In one embodiment, the apparatus further comprises a container configuration module for:
obtaining and installing plug-ins corresponding to the first container according to the configuration information of the first container;
configuring environment variables and key information of the first container based on service requirements;
and determining an environment configuration file of the second container based on the service requirement, and carrying out environment configuration on the second container according to the environment configuration file.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
acquiring an application deployment request, and responding to the application deployment request, and running an application container engine; the application container engine is provided with a first container and a second container;
Configuring a task to be executed based on the first container, and configuring a command to be executed associated with the task to be executed on the second container;
and distributing the command to be executed to the server clusters to be deployed based on the second container, so that each server cluster to be deployed responds to the execution command to perform deployment configuration.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
acquiring an application deployment request, and responding to the application deployment request, and running an application container engine; the application container engine is provided with a first container and a second container;
configuring a task to be executed based on the first container, and configuring a command to be executed associated with the task to be executed on the second container;
and distributing the command to be executed to the server clusters to be deployed based on the second container, so that each server cluster to be deployed responds to the execution command to perform deployment configuration.
The application deployment method, the device, the computer equipment and the storage medium are used for responding to the application deployment request by acquiring the application deployment request, and running an application container engine provided with a first container and a second container. And configuring a task to be executed based on the first container, configuring a command to be executed associated with the task to be executed on the second container, and further distributing the command to be executed to the server clusters to be deployed based on the second container, so that each server cluster to be deployed responds to the execution command to perform deployment configuration. Because the container combination mode is adopted, no additional client is required to be installed, the configuration requirement on the running server can be reduced, meanwhile, the use and configuration process of the container is simpler, a great amount of time for a user to learn corresponding grammar is not required, and the application deployment configuration efficiency for the server cluster is further improved.
Drawings
FIG. 1 is an application environment diagram of an application deployment method in one embodiment;
FIG. 2 is a flow diagram of an application deployment method in one embodiment;
FIG. 3 is a flow diagram of distributing commands to be executed to service clusters to be deployed in one embodiment;
FIG. 4 is a schematic diagram of an architecture of an application deployment method in one embodiment;
FIG. 5 is a flow diagram of one manner in which tasks to be performed and commands to be performed are configured in one implementation;
FIG. 6 is a block diagram of an application deployment device in one embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The application deployment method provided by the application can be applied to an application environment shown in figure 1. Wherein the server cluster 102 to be deployed communicates with the server 104 via a network. The server 104 responds to the acquired application deployment request by acquiring the application deployment request, and runs an application container engine provided with a first container and a second container. The server 104 configures a task to be executed based on the first container, and configures a command to be executed associated with the task to be executed on the second container, and further distributes the command to be executed to the server clusters 102 to be deployed based on the second container, so that each server cluster 102 to be deployed responds to the command to be executed to perform deployment configuration. The server 104 may be an independent server, and the server cluster 102 to be deployed may be a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, an application deployment method is provided, and the method is applied to the server in fig. 1 for illustration, and includes the following steps:
step S202, an application deployment request is acquired, an application container engine is operated in response to the application deployment request, and a first container and a second container are arranged in the application container engine.
Specifically, the server obtains an application deployment request sent by a user, and runs an application container engine installed on the server in response to the obtained application deployment request. Wherein the application container engine is provided with a first container and a second container.
Further, in this embodiment, the application container engine is a docker, the first container is a jenkins container, and the second container is a captstano container. The server in which the application engine container docker, jenkins container and the capturo container are installed allows access by the user and accepts deployment or configuration requests made by the user for the server cluster to be deployed.
Wherein, dock is an open source application container engine, which allows the developer to package the corresponding application and rely on the package to a portable mirror image and issue to Linux or Windows machine. The jenkins container is an open source continuous integration tool that can be used to monitor continuous repetitive work, enabling continuous integration of software, functions including: persistent software release/test items and monitoring of work performed by external calls. The jenkins container can be distributed on multiple machines for construction and load testing by expanding functions through plug-ins. The captureo container is a framework and a tool for deploying applications to a plurality of servers through an ssh protocol, and based on the ssh protocol, the captureo container runs scripts on a plurality of servers, deploys web applications, completes synchronous update and database change of new versions on the plurality of servers, and can operate the plurality of servers in batches without installing a client. The ssh protocol, secure Shell, is a security protocol that is based on an application layer and is used to provide security for telnet sessions and other network services.
In step S204, the task to be executed is configured based on the first container, and the command to be executed associated with the task to be executed is configured on the second container.
Specifically, the task type and the task identification of the task to be executed are obtained, the corresponding execution step is determined based on the task type, the corresponding task to be executed is generated according to the execution step, and then the corresponding task to be executed is newly built on the first container according to the task identification. And generating a command format to be executed associated with the task to be executed according to the executing step and a preset association protocol, and configuring the command to be executed associated with the task to be executed on the second container according to the command format to be executed and the environment configuration file of the second container.
The first container is a jenkins container, the second container is a captrono container, corresponding tasks to be executed are generated based on execution steps determined according to task types, and corresponding execution tasks are newly built on the first container, namely the jenkins container according to determined task identifiers. Generating various types of commands to be executed associated with the tasks to be executed by the performance according to the execution steps determined by the task types through a preset association protocol between the commands to be executed and the tasks to be executed, and configuring the commands to be executed associated with the tasks to be executed on a second container according to the execution command format and an environment configuration file of the second container, namely the captrano container.
Step S206, based on the second container, distributing the command to be executed to the server clusters to be deployed, so that each server cluster to be deployed responds to the execution command to perform deployment configuration.
Specifically, after the task to be executed is configured in the jenkins container, an execution command associated with the task to be executed is configured through a capistrano container running on a server, wherein the format of the execution command is associated with the task to be executed configured in the jenkins container.
For example, after configuring a task to be executed in the jenkins container, configuring a command to be executed associated with the task to be executed in the captrono container is: the container name sh-c "$cap command" for dock exec$captrano.
Wherein, dock exec: indicating that the command is executed in the running container. Container name of $ capturo: representing the container name running with the capturo mirror image, the container name may be specified when started by the dock command, and a noun may be automatically generated if the dock is not specified. sh-c: used in conjunction with the docker exec command, the code runs the command when it enters the capturer container. "$cap command": representing a specific command for a docker exec command to enter the container run.
In one embodiment, shell commands are distributed in batches, for example, to a cluster of servers, wherein the shell commands are distributed in batches with the aim of sending shell commands to a batch of servers simultaneously to obtain information. For example, to view the disk usage of the cluster hosts, the command docker exec cap sh-c "cap cluster 1CMD cmd=df-h'" to be executed may be sent to the server cluster to be deployed, so that it is not necessary to log into each host in the server cluster one by one to view the disk usage.
In another embodiment, the command to be executed to upload the file is:
docker exec cap sh-c "cap cluster 1 patch: upload chg=/PILOT/RELEASE/patch/jenkins/$pilot_process/$ { VERSION } = $pi lot_process", any file may be uploaded to a server cluster defined in the server cluster as app by sending a command to be executed to upload the file to the server cluster to be deployed.
In the application deployment method, the application container engine provided with the first container and the second container is operated in response to the application deployment request by acquiring the application deployment request. And configuring a task to be executed based on the first container, configuring a command to be executed associated with the task to be executed on the second container, and further distributing the command to be executed to the server clusters to be deployed based on the second container, so that each server cluster to be deployed responds to the execution command to perform deployment configuration. Because the container combination mode is adopted, no additional client is required to be installed, the configuration requirement on the running server can be reduced, meanwhile, the use and configuration process of the container is simpler, a great amount of time for a user to learn corresponding grammar is not required, and the application deployment configuration efficiency for the server cluster is further improved.
In one embodiment, as shown in fig. 3, the step of distributing the command to be executed to the service cluster to be deployed, that is, the manner of distributing the command to be executed to the server cluster to be deployed based on the second container, further includes the following steps S302 to S308:
in step S302, the cluster data file is obtained from the second container.
Specifically, a cluster data file may be generated according to host information of the server cluster to be deployed, where the cluster data file is stored in the second container. The cluster data file may be stored in an image file of the second container, or may be stored in the second container in a container hanging manner, and may be obtained from the image file of the second container or the container hanging volume when the cluster data file needs to be extracted.
It should be emphasized that, to further ensure the privacy and security of the cluster data file, the cluster data file may also be stored in a node of a blockchain.
And step S304, modifying and configuring the cluster data file according to the attribute information of the transfer server.
Specifically, for a server cluster to be deployed, which cannot be directly accessed by the jenkins container and the capturo container, the forwarding of the command to be executed can be achieved by forwarding through a forwarding server capable of accessing the application cluster. The configuration of the transfer server may be added to the cluster data file defining the cluster, specifically, the configuration of the transfer server may be added to the cluster data file defining the cluster.
Further, as shown in fig. 4, fig. 4 provides an architecture diagram of an application deployment method. Referring to fig. 4, server 402 cannot directly access server cluster 404 made up of B1, B2 … Bn through the ssh protocol, but may access relay server 406, and relay server 406 server may directly access server cluster 404 made up of B1, B2 … Bn through the ssh protocol.
In this embodiment, when the server 402 needs to view the hostname of the server cluster B1, the command docker exec cap sh-c "cap B1 CMD cmd= 'hostname'" to be executed may be sent to the relay server 406, and then forwarded to the server cluster B1 by the relay server 406, so that the server cluster B1 executes the received command to be executed to generate a corresponding execution result, and the execution result is relayed through the relay server 406 in an opposite path and is fed back to the server 402.
Step S306, according to the cluster data file after configuration modification, connection with the transfer server is established based on a preset protocol.
Specifically, the configured cluster data file includes configuration information of the transfer server, and connection with the transfer server is established based on a preset protocol, that is, ssh protocol according to the configured cluster data file.
The ssh protocol is expressed as a security protocol based on an application layer, and can provide security for telnet sessions and other network services. The ssh protocol can be utilized to effectively prevent the information leakage problem in the remote management process. The ssh protocol framework mainly comprises: the transport layer protocol (The Transport Layer Protocol) provides support for server authentication, data confidentiality, information integrity, etc.; the user authentication protocol (The User Authentication Protocol) provides identity authentication of the client for the server; the connection protocol (The Connection Protocol) multiplexes the encrypted information tunnels into several logical channels for use by higher layer application protocols. Various higher-level application protocols may be relatively independent of the ssh infrastructure and rely on this infrastructure to use the security mechanisms of ssh through the connection protocol.
Step S308, based on the second container, the command to be executed is distributed to the connected relay server, so that the relay server forwards the command to be executed to the server cluster to be deployed, which establishes a connection with the relay server.
Specifically, since the server running the second container and the relay server have established connection, the command to be executed can be sent to the connected relay server, the relay server establishes connection with the server cluster to be deployed as well, and the received command to be executed sent by the second container can be sent to the server cluster to be deployed.
In this embodiment, the cluster data file is obtained from the second container, and the modification configuration is performed on the cluster data file according to the attribute information of the transfer server. And then, according to the cluster data file after configuration modification, connection with the transfer server is established based on a preset protocol, and the command to be executed is distributed to the connected transfer server based on a second container, so that the transfer server forwards the command to be executed to a server cluster to be deployed, which is connected with the transfer server. When the server cannot directly access the server cluster to be deployed, the server is transferred through the transfer server, the situation that the server cannot control each server cluster to be deployed is avoided, the configuration mode of the transfer server is simple, excessive resources are not required to be consumed, the resource consumption is reduced to a certain extent on the basis of meeting the application deployment, and the application deployment efficiency of the server cluster is improved.
In one implementation, as shown in fig. 5, the manner of configuring the task to be executed and the command to be executed, that is, the steps of configuring the task to be executed based on the first container and configuring the command to be executed associated with the task to be executed on the second container, includes the following steps S502 to S510:
Step S502, a task type and a task identification of a task to be executed are obtained.
Specifically, the task types of the tasks to be executed can include configuration environment, application release and environment check, and the corresponding task identifiers are environment configuration identifiers, application release identifiers and environment check identifiers.
Step S504, determining a corresponding execution step based on the task type, and generating a corresponding task to be executed according to the execution step.
Specifically, according to different task types, corresponding execution steps can be determined, so that according to the determined execution steps, a completed task to be executed is composed. For example, when the task type is a configuration environment, the executing steps include: the task in the environment configuration file of the captureo container is defined according to the environment type to be built; for example, install java, the first step is to upload an install package of java, and define an upload task, which is to upload a package of a local path to a remote host under a/temp path, and upload a command under the/temp path of local/temp/java. Zip to a cluster1 host: cap cluster1 latch: upload chg=/temp/java. Zip process = a.
Step S506, a corresponding task to be executed is newly built on the first container according to the task identification.
Specifically, according to the task identifier, a task to be executed including all execution steps is newly built on the first container, namely, the jenkins container. For example, the task type is published for the application, and the method comprises the following execution steps: acquiring updated application installation packages and version numbers, and corresponding host names of server clusters to be installed with the applications; and creating a task to be executed with a corresponding task name on the jenkins container according to the task identifier issued by the application.
Step S508, according to the executing step and the preset association protocol, generating a command format to be executed associated with the task to be executed.
Specifically, according to the executing step and a preset association protocol, namely ssh protocol, a command format to be executed, which is associated with the task to be executed, is generated. For example, the container name sh-c "$cap command" for dock exec$captrano; wherein, dock exec: representing executing a command in a running container; container name of $ capturo: representing the name of a container running in a capturer mirror image, wherein the name of the container can be designated when the container is started by a dock command, and if the name is not designated, the dock automatically generates a noun; sh-c: when the code enters the capturer container, the command to be executed is operated by combining the docker exec command; "$cap command": this is a specific command for the docker exec command to enter the container run.
Step S510, configuring a to-be-executed command associated with the to-be-executed task on the second container according to the execution command format and the environment configuration file of the second container.
Specifically, an environment configuration file of a second container, namely, a captureo container is obtained, and a command to be executed associated with a task to be executed is configured on the captureo container according to a command format to be executed and the environment configuration file of the captureo container.
For example, shell commands are distributed in batches to a cluster of servers clusteri 1.Rb, wherein the shell commands are distributed in batches with the aim of sending shell commands to a batch of servers at the same time to obtain information. For example, the disk usage situation of the host computer of the cluster1 needs to be checked, and the command docker exec cap sh-c "cap cluster1 CMD cmd=df-h'" to be executed can be used, so that the check operation of the disk usage situation does not need to be performed by logging into each host computer in the server cluster one by one.
The concrete implementation is as follows:
task: cmd do# -defines task name
on roles (: app) do|host|## is defined to execute at the host whose role is app
cmdh=capture ("/env; hostname") #obtain hostname, so as to mark execution result of each host
cmdRpt=capture("../env;
In one embodiment, when the environment configuration file of the second container of the required batch task and the cluster data file of the service cluster can be directly obtained, various tasks such as deploying, setting up the environment, cleaning up the file and the like of the server cluster by adopting an automatic task can be realized through the SSH plug-in module and the pipeline plug-in module of jenkins. The method comprises the following specific steps:
1) The plug-ins of ssh, pipeline, etc. are installed in jenkins.
2) The jenkins task can be configured by writing a jenkins file, or the jenkins task can be newly built on the jenkins interface. For example, when using an interface to configure jenkins tasks, select an "Execute shell" build step in the build environment and fill in the cap command that needs to be executed.
3) Performing the jenkins task may complete a task defined in the environment configuration file of the remote server executing the second container.
In this embodiment, by acquiring a task type and a task identifier of a task to be executed, and determining a corresponding execution step based on the task type, a corresponding task to be executed is generated according to the execution step, and a corresponding task to be executed is newly created on the first container according to the task identifier. And generating a command format to be executed associated with the task to be executed according to the executing step and a preset association protocol, and configuring the command to be executed associated with the task to be executed on the second container according to the command format to be executed and the environment configuration file of the second container. The configuration of the task to be executed on the first container and the configuration of the command to be executed associated with the task to be executed on the second container are realized, no additional client is required to be installed, the corresponding grammar is not required to be learned by a user in the configuration process, the application deployment of the server to the server cluster can be realized through the combination of the first container and the second container, and the working efficiency of the configuration deployment is further improved.
In one embodiment, an application deployment method is provided, further comprising the steps of:
obtaining and installing plug-ins corresponding to the first container according to the configuration information of the first container;
configuring environment variables and key information of a first container based on service requirements;
and determining an environment configuration file of the second container based on the service requirement, and carrying out environment configuration on the second container according to the environment configuration file.
Specifically, the storage address of the corresponding plug-in is extracted by acquiring the configuration information of the jenkins container of the first container, and the corresponding plug-in is acquired from the storage address and installed. And further determining environment variables and key information of the jenkins container based on the service requirements, and performing environment configuration and key configuration on the jenkins container. The environment configuration file of the second container capturer is determined based on the service requirement, and can be obtained by self-defining in the deployment process based on the service requirement, and according to the determined environment configuration file, the environment configuration operation of the capturer is realized.
Further, the keys include keys of the code repository and keys of the artifact repository, and the jenkins container relates to a plurality of environment variables, which can be configured based on business requirements, and can include: BRANCH_NAME is the NAME of the BRANCH being constructed for the multi-BRANCH item; changE_ID, for a multi-branch item corresponding to a CHANGE request, is a CHANGE ID, such as a pull request number; changE_TARGET is a merged TARGET or base branch for a multi-branch item corresponding to a CHANGE request of some sort; the NUMBER of the current BUILD of BUILD_NUMBER, e.g., "4674", etc.; job_name, i.e. the item NAME of this version, e.g. "foo" or "foo/bar"; job_base_name, the short NAME of this constructed item strips the folder path, e.g. "foo" of "bar/foo"; EXECUTOR_NUMBER unique NUMBER for identifying the current executing program (in the executing program of the same computer) that is executing this build; WORKSPACE is used as a working space to be distributed to an absolute path of a constructed directory; jenkins_home, JENKINS is used to store absolute paths of directories allocated on the master node of the data, etc.
In one embodiment, the pre-configuration process of the deployment process further comprises: and generating a cluster data file according to the host information of the server cluster to be deployed, and storing the cluster data file into a second container. The cluster data file may be stored in an image file of the second container, or stored in the second container in a container hanging manner, or stored in a blockchain network.
According to the application deployment method, the plug-in corresponding to the first container is acquired and installed according to the configuration information of the first container, and the environment variable and the key information of the first container are configured based on the service requirement. And simultaneously, determining an environment configuration file of the second container based on the service requirement, and carrying out environment configuration on the second container according to the environment configuration file. The method has the advantages that the configuration of the first container and the second container in the earlier stage is realized, the configuration process is simpler, when the subsequent server needs to perform application deployment on each server cluster to be deployed, no additional client is required to be installed, the distribution of the command to be executed can be realized by utilizing the configured first container and second container, the resource consumption in the deployment process is reduced, and the working efficiency of application deployment is provided.
In one embodiment, an application deployment method is provided, further comprising the steps of:
acquiring a maintenance instruction aiming at an environment configuration file; the maintenance instructions comprise a fault repair instruction, a newly built deployment task instruction and an original task upgrading instruction;
in the deployment process of the server cluster application, responding to the maintenance instruction and executing maintenance operation on the environment configuration file; the maintenance operation corresponding to the maintenance instruction comprises fault repair, newly-built deployment task and upgrading original task.
In particular, for the environment profile of the second container captrono container, the corresponding maintenance typically includes daily bug fixes, adding new deployment logic/tasks (tasks), and upgrading existing tasks. The maintenance instructions comprise a fault repair instruction, a newly built deployment task instruction and an original task upgrading instruction, and the corresponding maintenance operations comprise fault repair, newly built deployment tasks and original task upgrading.
Further, in the deployment process of the server cluster application, the acquired maintenance instruction is responded, the maintenance operation corresponding to the maintenance instruction is determined, and the maintenance of the environment configuration file is realized by executing the maintenance operation corresponding to the maintenance instruction.
In one embodiment, in the deployment process of the server cluster application, a maintenance operation of the role relationship of each server cluster is further included. Wherein the role relationship of the server cluster is defined according to the application running by the cluster, for example, the cluster running the middleware can define the name of the related middleware, and the cluster running the business application can be defined as an app.
In the application deployment method, the maintenance operation of the environment configuration file is executed by acquiring the maintenance instruction aiming at the environment configuration file and responding to the maintenance instruction in the application deployment process of the server cluster, so that the maintenance of the environment configuration file in the application deployment process of the server cluster is realized, the situation that the successful configuration and installation of the second container in the application server engine cannot be realized due to the fact that the environment configuration file is wrong is avoided, and the first container and the second container cannot be combined to carry out the distribution operation of the command to be executed is avoided, and the working efficiency of the application deployment aiming at the server cluster can be improved to a certain extent.
It should be understood that, although the steps in the flowcharts of fig. 2, 3, and 5 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps of fig. 2, 3, and 5 may include a plurality of steps or stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the execution of the steps or stages is not necessarily sequential, but may be performed in turn or alternately with at least a portion of the steps or stages of other steps or other steps.
In one embodiment, as shown in fig. 6, an application deployment apparatus is provided, including an application deployment request response module 602, a configuration module 604, and an execution command distribution module 606, wherein:
the application deployment request response module 602 is configured to obtain an application deployment request, respond to the application deployment request, and run an application container engine, where a first container and a second container are disposed in the application container engine.
A configuration module 604, configured to configure a task to be executed based on the first container, and configure a command to be executed associated with the task to be executed on the second container.
The execution command distribution module 606 is configured to distribute the command to be executed to the server clusters to be deployed based on the second container, so that each server cluster to be deployed performs deployment configuration in response to the execution command.
In the application deployment device, an application container engine provided with a first container and a second container is operated in response to an application deployment request by acquiring the application deployment request. And configuring a task to be executed based on the first container, configuring a command to be executed associated with the task to be executed on the second container, and further distributing the command to be executed to the server clusters to be deployed based on the second container, so that each server cluster to be deployed responds to the execution command to perform deployment configuration. Because the container combination mode is adopted, no additional client is required to be installed, the configuration requirement on the running server can be reduced, meanwhile, the use and configuration process of the container is simpler, a great amount of time for a user to learn corresponding grammar is not required, and the application deployment configuration efficiency for the server cluster is further improved.
In one embodiment, the execute command distribution module is further to:
obtaining a cluster data file from a second container; modifying and configuring the cluster data file according to the attribute information of the transfer server; establishing connection with a transfer server based on a preset protocol according to the configured cluster data file; based on the second container, the command to be executed is distributed to the connected transfer server, so that the transfer server forwards the command to be executed to a server cluster to be deployed, which establishes connection with the transfer server.
In the execution command distribution module, the cluster data file is obtained from the second container, and the cluster data file is modified and configured according to the attribute information of the transfer server. And then, according to the cluster data file after configuration modification, connection with the transfer server is established based on a preset protocol, and the command to be executed is distributed to the connected transfer server based on a second container, so that the transfer server forwards the command to be executed to a server cluster to be deployed, which is connected with the transfer server. When the server cannot directly access the server cluster to be deployed, the server is transferred through the transfer server, the situation that the server cannot control each server cluster to be deployed is avoided, the configuration mode of the transfer server is simple, excessive resources are not required to be consumed, the resource consumption is reduced to a certain extent on the basis of meeting the application deployment, and the application deployment efficiency of the server cluster is improved.
In one embodiment, the configuration module is further to:
acquiring a task type and a task identification of a task to be executed; determining a corresponding execution step based on the task type, and generating a corresponding task to be executed according to the execution step; newly creating a corresponding task to be executed on the first container according to the task identifier; generating a command format to be executed associated with a task to be executed according to the executing step and a preset association protocol; and configuring the command to be executed associated with the task to be executed on the second container according to the execution command format and the environment configuration file of the second container.
In the configuration module, the task type and the task identifier of the task to be executed are obtained, and the corresponding execution step is determined based on the task type, so that the corresponding task to be executed is generated according to the execution step, and the corresponding task to be executed is newly built on the first container according to the task identifier. And generating a command format to be executed associated with the task to be executed according to the executing step and a preset association protocol, and configuring the command to be executed associated with the task to be executed on the second container according to the command format to be executed and the environment configuration file of the second container. The configuration of the task to be executed on the first container and the configuration of the command to be executed associated with the task to be executed on the second container are realized, no additional client is required to be installed, the corresponding grammar is not required to be learned by a user in the configuration process, the application deployment of the server to the server cluster can be realized through the combination of the first container and the second container, and the working efficiency of the configuration deployment is further improved.
In one embodiment, an application deployment apparatus is provided, further comprising a container configuration module for:
obtaining and installing plug-ins corresponding to the first container according to the configuration information of the first container; configuring environment variables and key information of a first container based on service requirements; and determining an environment configuration file of the second container based on the service requirement, and carrying out environment configuration on the second container according to the environment configuration file.
In the application deployment device, the plug-in corresponding to the first container is acquired and installed according to the configuration information of the first container, and the environment variable and the key information of the first container are configured based on the service requirement. And simultaneously, determining an environment configuration file of the second container based on the service requirement, and carrying out environment configuration on the second container according to the environment configuration file. The method has the advantages that the configuration of the first container and the second container in the earlier stage is realized, the configuration process is simpler, when the subsequent server needs to perform application deployment on each server cluster to be deployed, no additional client is required to be installed, the distribution of the command to be executed can be realized by utilizing the configured first container and second container, the resource consumption in the deployment process is reduced, and the working efficiency of application deployment is provided.
In one embodiment, an application deployment apparatus is provided, further comprising a profile maintenance module configured to:
acquiring a maintenance instruction aiming at an environment configuration file; the maintenance instructions comprise a fault repair instruction, a newly built deployment task instruction and an original task upgrading instruction; in the deployment process of the server cluster application, responding to the maintenance instruction and executing maintenance operation on the environment configuration file; the maintenance operation corresponding to the maintenance instruction comprises fault repair, newly-built deployment task and upgrading original task.
In the application deployment device, the maintenance operation of the environment configuration file is executed by acquiring the maintenance instruction aiming at the environment configuration file and responding to the maintenance instruction in the application deployment process of the server cluster, so that the maintenance of the environment configuration file in the application deployment process of the server cluster is realized, the situation that the successful configuration and installation of the second container in the application server engine cannot be realized due to the fact that the environment configuration file is wrong is avoided, and the first container and the second container cannot be combined to carry out the distribution operation of the command to be executed is avoided, and the working efficiency of the application deployment aiming at the server cluster can be improved to a certain extent.
For specific limitations of the application deployment apparatus, reference may be made to the above limitations of the application deployment method, and no further description is given here. The various modules in the application deployment apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing data related to tasks to be performed and commands to be performed. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an application deployment method.
It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
acquiring an application deployment request, responding to the application deployment request, and running an application container engine; the application container engine is provided with a first container and a second container;
configuring a task to be executed based on the first container, and configuring a command to be executed associated with the task to be executed on the second container;
and distributing the command to be executed to the server clusters to be deployed based on the second container, so that each server cluster to be deployed responds to the execution command to perform deployment configuration.
In one embodiment, the processor when executing the computer program further performs the steps of:
obtaining and installing plug-ins corresponding to the first container according to the configuration information of the first container;
Configuring environment variables and key information of a first container based on service requirements;
and determining an environment configuration file of the second container based on the service requirement, and carrying out environment configuration on the second container according to the environment configuration file.
In one embodiment, the processor when executing the computer program further performs the steps of:
acquiring a task type and a task identification of a task to be executed;
determining a corresponding execution step based on the task type, and generating a corresponding task to be executed according to the execution step;
newly creating a corresponding task to be executed on the first container according to the task identifier;
generating a command format to be executed associated with a task to be executed according to the executing step and a preset association protocol;
and configuring the command to be executed associated with the task to be executed on the second container according to the execution command format and the environment configuration file of the second container.
In one embodiment, the processor when executing the computer program further performs the steps of:
generating a cluster data file according to host information of the server cluster to be deployed, and storing the cluster data file into a second container; the cluster data file may be stored in an image file of the second container, or stored in the second container in a container hanging manner, or stored in a blockchain network.
In one embodiment, the processor when executing the computer program further performs the steps of:
obtaining a cluster data file from a second container;
modifying and configuring the cluster data file according to the attribute information of the transfer server;
establishing connection with a transfer server based on a preset protocol according to the configured cluster data file;
based on the second container, the command to be executed is distributed to the connected transfer server, so that the transfer server forwards the command to be executed to a server cluster to be deployed, which establishes connection with the transfer server.
In one embodiment, the processor when executing the computer program further performs the steps of:
acquiring a maintenance instruction aiming at an environment configuration file; the maintenance instructions comprise a fault repair instruction, a newly built deployment task instruction and an original task upgrading instruction;
in the deployment process of the server cluster application, responding to the maintenance instruction and executing maintenance operation on the environment configuration file; the maintenance operation corresponding to the maintenance instruction comprises fault repair, newly-built deployment task and upgrading original task.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
Acquiring an application deployment request, responding to the application deployment request, and running an application container engine; the application container engine is provided with a first container and a second container;
configuring a task to be executed based on the first container, and configuring a command to be executed associated with the task to be executed on the second container;
and distributing the command to be executed to the server clusters to be deployed based on the second container, so that each server cluster to be deployed responds to the execution command to perform deployment configuration.
In one embodiment, the computer program when executed by the processor further performs the steps of:
obtaining and installing plug-ins corresponding to the first container according to the configuration information of the first container;
configuring environment variables and key information of a first container based on service requirements;
and determining an environment configuration file of the second container based on the service requirement, and carrying out environment configuration on the second container according to the environment configuration file.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a task type and a task identification of a task to be executed;
determining a corresponding execution step based on the task type, and generating a corresponding task to be executed according to the execution step;
newly creating a corresponding task to be executed on the first container according to the task identifier;
Generating a command format to be executed associated with a task to be executed according to the executing step and a preset association protocol;
and configuring the command to be executed associated with the task to be executed on the second container according to the execution command format and the environment configuration file of the second container.
In one embodiment, the computer program when executed by the processor further performs the steps of:
generating a cluster data file according to host information of the server cluster to be deployed, and storing the cluster data file into a second container; the cluster data file may be stored in an image file of the second container, or stored in the second container in a container hanging manner, or stored in a blockchain network.
In one embodiment, the computer program when executed by the processor further performs the steps of:
obtaining a cluster data file from a second container;
modifying and configuring the cluster data file according to the attribute information of the transfer server;
establishing connection with a transfer server based on a preset protocol according to the configured cluster data file;
based on the second container, the command to be executed is distributed to the connected transfer server, so that the transfer server forwards the command to be executed to a server cluster to be deployed, which establishes connection with the transfer server.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a maintenance instruction aiming at an environment configuration file; the maintenance instructions comprise a fault repair instruction, a newly built deployment task instruction and an original task upgrading instruction;
in the deployment process of the server cluster application, responding to the maintenance instruction and executing maintenance operation on the environment configuration file; the maintenance operation corresponding to the maintenance instruction comprises fault repair, newly-built deployment task and upgrading original task.
Further, the computer-usable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created from the use of blockchain nodes, including cluster data files, and the like.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.
Claims (10)
1. An application deployment method, the method comprising:
acquiring an application deployment request, and responding to the application deployment request, and running an application container engine; the application container engine is provided with a first container and a second container;
acquiring a task type and a task identification of a task to be executed, determining a corresponding execution step based on the task type, and generating a corresponding task to be executed according to the execution step;
newly creating a corresponding task to be executed on the first container according to the task identifier;
generating a command format to be executed associated with the task to be executed according to the executing step and a preset association protocol, and configuring the command to be executed associated with the task to be executed on the second container according to the command format to be executed and an environment configuration file of the second container;
distributing the command to be executed to server clusters to be deployed based on the second container, so that each server cluster to be deployed responds to the execution command to perform deployment configuration;
the method further comprises the steps of:
generating a cluster data file according to host information of a server cluster to be deployed, and storing the cluster data file into the second container; the cluster data file is stored in an image file of the second container, or is stored in the second container in a container hanging manner, or is stored in a blockchain network;
Based on the second container, the manner of distributing the command to be executed to the server cluster to be deployed further includes:
acquiring the cluster data file from the second container, and modifying and configuring the cluster data file according to the attribute information of the transfer server; establishing connection with the transfer server based on a preset protocol according to the configured cluster data file; and distributing the command to be executed to a connected transfer server based on the second container, so that the transfer server forwards the command to be executed to a server cluster to be deployed, which establishes connection with the transfer server.
2. The method according to claim 1, wherein the method further comprises:
obtaining and installing plug-ins corresponding to the first container according to the configuration information of the first container;
configuring environment variables and key information of the first container based on service requirements;
and determining an environment configuration file of the second container based on the service requirement, and carrying out environment configuration on the second container according to the environment configuration file.
3. The method according to claim 2, wherein the method further comprises:
Acquiring a maintenance instruction aiming at the environment configuration file; the maintenance instructions comprise a fault repair instruction, a newly built deployment task instruction and an original task upgrading instruction;
in the deployment process of the server cluster application, responding to the maintenance instruction and executing maintenance operation on the environment configuration file; the maintenance operation corresponding to the maintenance instruction comprises fault repair, newly-built deployment tasks and upgrading original tasks.
4. The method of claim 1, wherein the application container engine is a docker and the first container is a jenkins container, the jenkins container being configured and load tested in a distributed manner across multiple machines by plug-in extension functions; the second container is a captureo container, and the captureo container runs scripts and deploys web applications on a plurality of servers based on ssh protocols to complete synchronous update and database change of new versions on the plurality of servers.
5. The method of claim 4, wherein the task types of the task to be performed include configuration environment, application publication, and environment check, and wherein the task identifications include an environment configuration identification, an application publication identification, and an environment check identification; the creating a corresponding task to be executed on the first container according to the task identifier comprises the following steps: if the task type of the task to be executed is application release, acquiring an updated application installation package and version number, and corresponding host names of server clusters to be installed with the application; and creating a task to be executed with a corresponding task name on the jenkins container according to the task identifier issued by the application.
6. The method of claim 4, wherein configuring the command to be executed associated with the task to be executed on the second container according to the execution command format and the environment configuration file of the second container comprises:
and acquiring an environment configuration file of the capturer, and configuring a to-be-executed command associated with the to-be-executed task on the capturer according to a to-be-executed command format and the environment configuration file of the capturer.
7. An application deployment apparatus, the apparatus comprising:
the application deployment request response module is used for acquiring an application deployment request and responding to the application deployment request to run an application container engine; the application container engine is provided with a first container and a second container;
a configuration module for: acquiring a task type and a task identification of a task to be executed, determining a corresponding execution step based on the task type, and generating a corresponding task to be executed according to the execution step; newly creating a corresponding task to be executed on the first container according to the task identifier; generating a command format to be executed associated with the task to be executed according to the executing step and a preset association protocol, and configuring the command to be executed associated with the task to be executed on the second container according to the command format to be executed and an environment configuration file of the second container;
The execution command distribution module is used for distributing the command to be executed to the server clusters to be deployed based on the second container, so that each server cluster to be deployed responds to the execution command to perform deployment configuration;
the apparatus further comprises: the server cluster storage device is used for generating cluster data files according to host information of a server cluster to be deployed and storing the cluster data files into the second container; the cluster data file is stored in an image file of the second container, or is stored in the second container in a container hanging manner, or is stored in a module in a blockchain network;
the execution command distribution module is further configured to: acquiring the cluster data file from the second container, and modifying and configuring the cluster data file according to the attribute information of the transfer server; establishing connection with the transfer server based on a preset protocol according to the configured cluster data file; and distributing the command to be executed to a connected transfer server based on the second container, so that the transfer server forwards the command to be executed to a server cluster to be deployed, which establishes connection with the transfer server.
8. The application deployment device of claim 7, wherein the device further comprises a container configuration module to:
obtaining and installing plug-ins corresponding to the first container according to the configuration information of the first container;
configuring environment variables and key information of the first container based on service requirements;
and determining an environment configuration file of the second container based on the service requirement, and carrying out environment configuration on the second container according to the environment configuration file.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011608906.3A CN112631614B (en) | 2020-12-30 | 2020-12-30 | Application deployment method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011608906.3A CN112631614B (en) | 2020-12-30 | 2020-12-30 | Application deployment method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112631614A CN112631614A (en) | 2021-04-09 |
CN112631614B true CN112631614B (en) | 2023-10-03 |
Family
ID=75286812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011608906.3A Active CN112631614B (en) | 2020-12-30 | 2020-12-30 | Application deployment method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112631614B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113485743A (en) * | 2021-07-19 | 2021-10-08 | 上汽通用五菱汽车股份有限公司 | CDH operation configuration method based on source code management and readable storage medium |
CN113641454B (en) * | 2021-08-17 | 2023-07-25 | 中国联合网络通信集团有限公司 | Service application deployment method and device, electronic equipment and storage medium |
CN113553163B (en) * | 2021-08-31 | 2023-07-07 | 重庆允丰科技有限公司 | Deployment method and device for Jenkins application based on scheduler |
CN114785767A (en) * | 2022-03-17 | 2022-07-22 | 中国电信集团工会上海市委员会 | Method and system for connecting TDengine without installing client |
CN117331578B (en) * | 2023-12-01 | 2024-03-26 | 之江实验室 | Cluster mirror image deployment method and system for microminiature data center |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109309693A (en) * | 2017-07-26 | 2019-02-05 | 财付通支付科技有限公司 | Services system, dispositions method and device, equipment and storage medium based on docker |
US10216512B1 (en) * | 2016-09-29 | 2019-02-26 | Amazon Technologies, Inc. | Managed multi-container builds |
CN111866149A (en) * | 2020-07-23 | 2020-10-30 | 平安证券股份有限公司 | Cluster deployment method and device, computer equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10114626B2 (en) * | 2015-11-23 | 2018-10-30 | Sap Se | Database level containers |
-
2020
- 2020-12-30 CN CN202011608906.3A patent/CN112631614B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10216512B1 (en) * | 2016-09-29 | 2019-02-26 | Amazon Technologies, Inc. | Managed multi-container builds |
CN109309693A (en) * | 2017-07-26 | 2019-02-05 | 财付通支付科技有限公司 | Services system, dispositions method and device, equipment and storage medium based on docker |
CN111866149A (en) * | 2020-07-23 | 2020-10-30 | 平安证券股份有限公司 | Cluster deployment method and device, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
基于云服务的Devops知识获取及应用分析;于海水;;数字技术与应用(09);第42-43页 * |
Also Published As
Publication number | Publication date |
---|---|
CN112631614A (en) | 2021-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112631614B (en) | Application deployment method, device, computer equipment and storage medium | |
US11018948B2 (en) | Network-based resource configuration discovery service | |
CN108804618B (en) | Database configuration method, device, computer equipment and storage medium | |
US10474508B2 (en) | Replication management for hyper-converged infrastructures | |
EP2796996B1 (en) | Cloud infrastructure based management system and method for performing maintenance and deployment for application system | |
KR101954480B1 (en) | Automated build-out of a cloud-computing stamp | |
US10120725B2 (en) | Establishing an initial configuration of a hardware inventory | |
KR101547847B1 (en) | Managing component programs within a service application | |
WO2019184116A1 (en) | Method and device for automatically building kubernetes main node, terminal device and computer-readable storage medium | |
CN115335810A (en) | Digital twinning of IT infrastructure | |
CN110752947A (en) | K8s cluster deployment method and device, and deployment platform | |
CN110933189A (en) | Fabric-based block chain network deployment method, device, equipment and medium | |
US10324701B1 (en) | Rapid deployment of computing instances | |
US11144292B2 (en) | Packaging support system and packaging support method | |
CN112506579B (en) | Multi-service multi-environment management method and system | |
CN114780080A (en) | Micro front end integration method, device and monitoring method | |
CN111831567B (en) | Application test environment configuration method, device, system and medium | |
CN114443294B (en) | Big data service component deployment method, system, terminal and storage medium | |
US11934817B2 (en) | Systems and methods for deploying federated infrastructure as code | |
CN115051846A (en) | Deployment method of K8S cluster based on super fusion platform and electronic equipment | |
CN113900670A (en) | Cluster server application deployment system | |
CN111913719A (en) | Deployment method, device and apparatus of high-availability software and computer storage medium | |
US20210081245A1 (en) | System and method of dynamic context workflow automation | |
US10469473B2 (en) | Network authentication system extensions | |
WO2022126372A1 (en) | Multi-service multi-environment management method and system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |