Production environment deployment method and device, equipment and storage medium
By generating and managing configuration dependency files, the limitations of cloud-native resource deployment process orchestration and cross-cluster serial deployment in existing GitOps technology solutions are solved, and the sequential deployment of cloud-native resources and efficient production environment deployment are realized.
Patent Information
- Application Number
- CN202411871823.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-04-11
AI Technical Summary
When the existing GitOps technology solution automatically deploys applications, it does not support cloud-native resource deployment process orchestration and cross-cluster serial deployment, which has limitations in the automated deployment process.
Through component deployment dependencies based on target applications, a visual component deployment process is generated in the visual component orchestration page, a configuration dependency file is generated, and written to the distributed open source version control system, responding to the target application's production request, and completing the deployment of the production environment.
The sequential deployment of cloud-native resources has been realized, and the deployment and commissioning orchestration of cloud-native resources in automated application deployment scenarios has been solved, and the accuracy and deployment efficiency of production environment deployment have been improved.
Smart Images

Figure CN119806549A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cloud computing technology, and in particular to a deployment method, device, equipment and storage medium for a production environment. Background Art
[0002] With the large-scale application of cloud-native technologies, the scale of containerized application nodes continues to grow rapidly. GitOps technology (a Git-based operating model that is mainly used to automate and simplify the deployment and management of infrastructure and applications) is widely used in the automated deployment of applications, enabling efficient and reliable delivery of cloud-native applications.
[0003] The existing GitOps technical solution does not support cloud-native resource deployment process orchestration and cross-cluster serial deployment when automatically deploying applications, and has certain limitations in the automatic deployment process of applications. Summary of the invention
[0004] The present invention provides a deployment method, device, equipment and storage medium for a production environment to achieve cloud native resource deployment process orchestration and cross-cluster serial deployment.
[0005] According to one aspect of the present invention, a method for deploying a production environment is provided, the method comprising:
[0006] Based on the component deployment dependency of the target application, a visual component deployment process is generated in the visual component orchestration page; wherein the deployment dependency is used to indicate the execution order of the application container and the third-party component corresponding to the resource deployment component and the container deployment component; wherein the target application is the application to be put into production;
[0007] Convert the component deployment process into a format, generate a configuration dependency file, and write the configuration dependency file into a distributed open source version control system; wherein the configuration dependency file is used to characterize the deployment order of components and application containers;
[0008] In response to the production request of the target application, the deployment of the production environment of the target application is completed based on the configuration dependency file corresponding to the target application.
[0009] According to another aspect of the present invention, a deployment device for a production environment is provided, the device comprising:
[0010] A visual dependency module, which is used to generate a visual component deployment process in a visual component orchestration page based on the component deployment dependency of the target application; wherein the deployment dependency is used to indicate the execution order of the application container and the third-party component corresponding to the resource deployment component and the container deployment component; wherein the target application is the application to be put into production;
[0011] A dependency file generation module, used to convert the format of the component deployment process, generate a configuration dependency file, and write the configuration dependency file into the distributed open source version;
[0012] The production environment deployment module is used to respond to the production request of the target application and complete the deployment of the production environment of the target application based on the configuration dependency file corresponding to the target application.
[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for deploying a production environment described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for deploying a production environment described in any embodiment of the present invention when executed.
[0018] According to another aspect of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the method for deploying a production environment according to any embodiment of the present invention is implemented.
[0019] The technical solution of the embodiment of the present invention determines the execution order of resource deployment components, container deployment components and third-party components, and when the target application is put into production, completes the deployment of the production environment of the target application based on the predetermined execution order of resource deployment components, container deployment components and third-party components, thereby realizing the sequential deployment of cloud native resources, effectively solving the deployment and production orchestration problems of cloud native resources in automated application deployment scenarios, and improving the accuracy and efficiency of production environment deployment.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 is a flowchart of a production environment deployment method provided according to Embodiment 1 of the present invention;
[0023] Figure 2 is a flowchart of a production environment deployment method provided according to Embodiment 2 of the present invention;
[0024] Figure 3 It is a structural schematic diagram of a deployment device for a production environment provided according to Embodiment 3 of the present invention;
[0025] Figure 4 It is a structural schematic diagram of an electronic device for implementing the method for deploying a production environment according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] Embodiment 1
[0029] Figure 1A flowchart of a production environment deployment method is provided for the first embodiment of the present invention. This embodiment is applicable to the case of automatic deployment of applications. The method can be executed by a production environment deployment device, which can be implemented in the form of hardware and / or software. The production environment deployment device can be configured in various general computing devices, such as a terminal device equipped with a GitOps platform. Figure 1 As shown, the method includes:
[0030] S110 . Based on the component deployment dependency of the target application, generate a visualized component deployment process in a visualized component orchestration page.
[0031] Among them, the deployment dependency can be used to indicate the execution order of the resource deployment component and the application container and third-party components corresponding to the container deployment component; the target application can be an application to be put into production.
[0032] In an embodiment of the present invention, a third-party component may refer to a component that calls an external platform interface to perform corresponding business processing. For example, an alarm closing component may be used to call an alarm platform to close an alarm; a dynamic variable component may call a parameter platform to validate dynamic variables; a production verification component may call a production verification platform to perform production verification, etc.
[0033] Optionally, based on the component deployment dependencies of the target application, a visual component deployment process is generated in the visual component orchestration page, including: in the visual component orchestration page, according to the component deployment dependencies of the target application, by dragging the controls corresponding to different components, the execution order of the resource deployment components and the application containers and third-party components corresponding to the container deployment components are orchestrated.
[0034] Specifically, users can determine the component deployment dependencies of the target application by sorting out the network architecture of the target application, including component dependencies within the target application and external service dependencies. In the visualization page provided by the visual orchestration tool, by dragging and dropping controls, the resource deployment components and the execution order of the application containers and third-party components corresponding to the container deployment components are orchestrated according to the component deployment dependencies. It should be noted that users can adjust the component deployment relationship by themselves and insert third-party components into the component deployment dependency as needed to ensure the smooth completion of the target application production process.
[0035] It should be noted that the resource deployment component can be used to generate the operating environment of the target application in the target environment, and the target environment can be the environment to be put into production for the target application; the container deployment component can be used to characterize the expected state of cloud-native resource deployment in the target environment; the third-party component can provide security verification for the production process of the target application to ensure the smooth production of the target application.
[0036] Optionally, the resource deployment component, the container deployment component, and the third-party component may be pre-stored in a distributed open source version control system in the form of a public image. It should be noted that the public image may be a Docker image.
[0037] By packaging resource deployment components, container deployment components, and third-party components in an image format, the deployment process is simplified and repeatability and consistency are improved.
[0038] S120, convert the format of the component deployment process, generate a configuration dependency file, and write the configuration dependency file into a distributed open source version control system.
[0039] The configuration dependency file may be a resource file that can be executed by the target application's deployment environment. Optionally, the configuration dependency file may be in a YAML (YAML Ain't Markup Language) format.
[0040] It should be noted that, in the embodiment of the present invention, after generating the visualized component deployment process, the visual orchestration tool can convert the resource data defined in the component deployment process into an executable configuration dependency file, which is then sent to the distributed open source version control system. The configuration dependency file can include configuration information of the application container and the third component to facilitate subsequent workflow execution and application version control.
[0041] S130 . In response to the production request of the target application, the production environment of the target application is deployed based on the configuration dependency file corresponding to the target application.
[0042] The technical solution of the embodiment of the present invention determines the execution order of resource deployment components, container deployment components and third-party components, and when the target application is put into production, completes the deployment of the production environment of the target application based on the predetermined execution order of resource deployment components, container deployment components and third-party components, thereby realizing the sequential deployment of cloud native resources, effectively solving the deployment and production orchestration problems of cloud native resources in automated application deployment scenarios, and improving the accuracy and efficiency of production environment deployment.
[0043] Embodiment 2
[0044] Figure 2 This is a flowchart of a method for deploying a production environment provided in the second embodiment of the present invention. This embodiment further refines and provides specific steps for responding to a production request of a target application and completing the deployment of a production environment of a target application based on the configuration dependency files corresponding to the target application on the basis of the above embodiment. It should be noted that for the undetailed parts of the embodiment of the present invention, please refer to the relevant descriptions of other embodiments, which will not be repeated here. Figure 2 As shown, the method includes:
[0045] S210: Based on the component deployment dependency of the target application, a visualized component deployment process is generated in a visualized component orchestration page.
[0046] S220, convert the format of the component deployment process, generate a configuration dependency file, and write the configuration dependency file into a distributed open source version control system.
[0047] S230. In response to the production request of the target application, the workflow engine is called to create a new container in the target environment in accordance with the execution order defined in the configuration dependency file to execute the deployment tasks corresponding to the application container or third-party component, and deploy the production environment of the target application.
[0048] S240: Monitor the execution status of the container that is executing the deployment task in the target environment in real time, and when the execution status of the container is completed, destroy the container.
[0049] In an embodiment of the present invention, a user can initiate a production request for a target application on the user interface of the GitOps platform. In response to the production request initiated by the user, the GitOps platform obtains and parses the configuration dependency file from the distributed open source version control system, and then calls the workflow engine to create a new container in the target environment in accordance with the execution order defined in the configuration dependency file to execute the deployment tasks corresponding to the application container or third-party component, and deploy the production environment of the target application. And by monitoring the execution status of the container that is executing the deployment task in the target environment, when the execution status of the container is in the completed state, the container is destroyed to release the memory resources of the container. It should be noted that the container that executes the deployment task in the target environment can be the smallest unit for managing containers in the target environment, and is the unit for executing tasks. Optionally, in an embodiment of the present invention, the target environment can be Kubernetes (K8s, an open source container orchestration platform).
[0050] Optionally, in an embodiment of the present invention, before responding to the production request of the target application, it also includes: obtaining a resource directory required by the target application from a distributed open source version control system, and generating a resource allocation file based on the resource deployment relationship between the resources to be deployed in the resource directory and at least one target environment; transmitting the resource allocation file to the workflow engine, so that the workflow engine compares the consistency of the resources to be deployed in the resource directory of the distributed open source version control system and the resource files deployed in the target environment when executing the deployment task corresponding to the resource deployment component.
[0051] The resource directory may be used to describe the resource configuration file of the target application; the resource allocation file may be used to characterize the mapping relationship between the resources to be deployed and the target environment, that is, the matching relationship between the resources to be deployed and the target environment to be deployed.
[0052] Specifically, the GitOps platform can read the resource directory in the distributed open source version control system, and convert the matching relationship between it and at least one target environment into a resource allocation file. And send the resource allocation file to the workflow engine, so that when the workflow engine executes the resource deployment component, it can automatically compare the resources to be deployed in the distributed open source version control system with the resource files to be deployed in the target environment according to the mapping relationship between the resources to be deployed and the target environment in the resource allocation file. If they are inconsistent, the resources to be deployed in the distributed open source version control system are deployed to the target environment. The correctness and consistency of resource deployment are ensured in the above manner. It should be noted that the resource allocation file supports the mapping relationship between multiple different target environments and distributed open source version control systems. Therefore, multiple resources in different clusters are deployed in series during the deployment phase of the target application. Optionally, the resource allocation file can be a resource file of application type.
[0053] The technical solution in the embodiment of the present invention improves the memory utilization in the target environment and further improves the deployment efficiency of the production environment by monitoring the execution status of the container that executes the deployment task in the target environment in real time during the production environment deployment, and reclaiming the container resources according to the execution status.
[0054] Embodiment 3
[0055] Figure 3 This is a schematic diagram of a deployment device for a production environment provided in Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:
[0056] A visualization dependency module 310 is used to generate a visualized component deployment process in a visualization component arrangement page based on the component deployment dependency of the target application; wherein the deployment dependency is used to indicate the execution order of the application container and the third-party component corresponding to the resource deployment component and the container deployment component; the target application is an application to be put into production;
[0057] A dependency file generation module 320 is used to convert the format of the component deployment process, generate a configuration dependency file, and write the configuration dependency file into the distributed open source version;
[0058] The production environment deployment module 330 is used to complete the deployment of the production environment of the target application based on the configuration dependency file corresponding to the target application in response to the production request of the target application.
[0059] The technical solution of the embodiment of the present invention determines the execution order of resource deployment components, container deployment components and third-party components, and when the target application is put into production, completes the deployment of the production environment of the target application based on the predetermined execution order of resource deployment components, container deployment components and third-party components, thereby realizing the sequential deployment of cloud native resources, effectively solving the deployment and production orchestration problems of cloud native resources in automated application deployment scenarios, and improving the accuracy and efficiency of production environment deployment.
[0060] Optionally, the production environment deployment module 330 includes:
[0061] An environment deployment unit, for responding to the production request of the target application, calling the workflow engine to sequentially create a container in the target environment according to the execution order defined in the configuration dependency file to execute the deployment tasks corresponding to the application container or the third-party component, and deploying the production environment of the target application;
[0062] The deployment monitoring unit is used to monitor the execution status of the container that is executing the deployment task in the target environment in real time, and destroy the container when the execution status of the container is completed.
[0063] Optionally, the device further comprises:
[0064] The consistency detection module is specifically used to: obtain the resource directory required by the target application from the distributed open source version control system, and generate a resource allocation file based on the resource deployment relationship between the resources to be deployed in the resource directory and at least one target environment; transmit the resource allocation file to the workflow engine, so that when the workflow engine executes the deployment task corresponding to the resource deployment component, it synchronously calls the container deployment component to compare the consistency of the resources to be deployed in the resource directory of the distributed open source version control system and the resource files deployed in the target environment.
[0065] Optionally, the visualization dependency module 310 may be specifically used for:
[0066] In the visual component orchestration page, according to the component deployment dependencies of the target application, you can drag and drop the controls corresponding to different components to orchestrate the execution order of the resource deployment components and the application containers and third-party components corresponding to the container deployment components.
[0067] Optionally, the resource deployment component is used to generate an operating environment for the target application in a target environment, where the target environment is the environment to be put into production for the target application; the container deployment component is used to characterize the expected state of cloud-native resource deployment in the target environment; and the third-party component provides security verification for the target application production process.
[0068] Optionally, the resource deployment components, container deployment components and third-party components are pre-stored in an image repository in a distributed open source version control system in the form of public images.
[0069] The production environment deployment device provided in the embodiment of the present invention can execute the production environment deployment method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0070] Embodiment 4
[0071] Figure 4 A schematic diagram of an electronic device 410 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0072] like Figure 4 As shown, the electronic device 410 includes at least one processor 411, and a memory connected to the at least one processor 411 in communication, such as a read-only memory (ROM) 412, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 411 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 412 or the computer program loaded from the storage unit 418 to the random access memory (RAM) 413. In the RAM 413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, the ROM 412, and the RAM 413 are connected to each other via a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.
[0073] Multiple components in the electronic device 410 are connected to the I / O interface 415, including: an input unit 416, such as a keyboard, a mouse, etc.; an output unit 417, such as various types of displays, speakers, etc.; a storage unit 418, such as a disk, an optical disk, etc.; and a communication unit 419, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0074] Processor 411 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. Processor 411 executes the various methods and processes described above, such as a deployment method for a production environment.
[0075] In some embodiments, the deployment method of the production environment may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 418. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 410 via the ROM 412 and / or the communication unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the deployment method of the production environment described above may be performed. Alternatively, in other embodiments, the processor 411 may be configured to execute the deployment method of the production environment in any other appropriate manner (e.g., by means of firmware).
[0076] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0077] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0078] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0079] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0080] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0081] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0082] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0083] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for deploying a production environment, characterized in that: include: Based on the component deployment dependency of the target application, a visual component deployment process is generated in the visual component orchestration page; wherein the deployment dependency is used to indicate the execution order of the application container and third-party components corresponding to the resource deployment component and the container deployment component; the target application is the application to be put into production; Convert the component deployment process into a format, generate a configuration dependency file, and write the configuration dependency file into a distributed open source version control system; wherein the configuration dependency file is used to characterize the deployment order of components and application containers; In response to the production request of the target application, the deployment of the production environment of the target application is completed based on the configuration dependency file corresponding to the target application.
2. The method according to claim 1, characterized in that: In response to the production request of the target application, based on the configuration dependency file corresponding to the target application, the deployment of the production environment of the target application is completed, including: In response to the production request of the target application, the workflow engine is called to create a new container in the target environment in sequence according to the execution order defined in the configuration dependency file to execute the deployment tasks corresponding to the application container or the third-party component, and deploy the production environment of the target application; Monitor the execution status of the container that is executing the deployment task in the target environment in real time, and destroy the container when the execution status of the container is completed.
3. The method according to claim 1, characterized in that Before responding to the production request of the target application, the method further includes: Obtain a resource directory required by a target application from a distributed open source version control system, and generate a resource allocation file according to a resource deployment relationship between resources to be deployed in the resource directory and at least one target environment; The resource allocation file is transmitted to the workflow engine so that the workflow engine compares the consistency of the resources to be deployed in the resource directory of the distributed open source version control system and the resource files deployed in the target environment when executing the deployment task corresponding to the resource deployment component.
4. The method according to claim 1, characterized in that Based on the component deployment dependencies of the target application, a visual component deployment process is generated in the visual component orchestration page, including: In the visual component orchestration page, according to the component deployment dependencies of the target application, you can drag and drop the controls corresponding to different components to orchestrate the execution order of the resource deployment components and the application containers and third-party components corresponding to the container deployment components.
5. The method according to claim 1, characterized in that The resource deployment component is used to generate the operating environment of the target application in the target environment, and the target environment is the environment to be put into production for the target application; the container deployment component is used to characterize the expected state of cloud native resource deployment in the target environment; the third-party component provides security verification for the production process of the target application.
6. The method according to claim 5, characterized in that The resource deployment components, container deployment components and third-party components are pre-stored in an image repository in a distributed open source version control system in the form of public images.
7. A deployment device for a production environment, characterized in that: include: A visual dependency module is used to generate a visual component deployment process in a visual component orchestration page based on the component deployment dependency of the target application; wherein the deployment dependency is used to indicate the execution order of the application container and third-party components corresponding to the resource deployment component and the container deployment component; the target application is an application to be put into production; A dependency file generation module, used to convert the format of the component deployment process, generate a configuration dependency file, and write the configuration dependency file into the distributed open source version; The production environment deployment module is used to respond to the production request of the target application and complete the deployment of the production environment of the target application based on the configuration dependency file corresponding to the target application.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for deploying a production environment according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the production environment deployment method according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method for deploying a production environment according to any one of claims 1 to 6.