CN113010267A - Container application production method and system - Google Patents

Container application production method and system Download PDF

Info

Publication number
CN113010267A
CN113010267A CN202110297179.1A CN202110297179A CN113010267A CN 113010267 A CN113010267 A CN 113010267A CN 202110297179 A CN202110297179 A CN 202110297179A CN 113010267 A CN113010267 A CN 113010267A
Authority
CN
China
Prior art keywords
container
mirror image
production
file
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.)
Pending
Application number
CN202110297179.1A
Other languages
Chinese (zh)
Inventor
安卫杰
常冬冬
周明宏
谢朝杰
白丽
黎志勇
许彦钊
肖邦
许明旋
秦明赫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202110297179.1A priority Critical patent/CN113010267A/en
Publication of CN113010267A publication Critical patent/CN113010267A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45591Monitoring or debugging support

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a container production method and a system, wherein the method comprises the following steps: the method comprises the steps that a test system in a test environment receives a container mirror image and a matched file of a target container application, the container mirror image is transmitted to a to-be-put-into-production mirror image warehouse, the matched file is transmitted to a test file server, the container mirror image is associated with the matched file, so that a tester can test the container mirror image and the matched file conveniently, when the test is passed, the container mirror image in the to-be-put-into-production mirror image warehouse, the matched file in the test file server and relevant production information of the target container application are transmitted to a production environment, a container deployment system in the production environment calls an interface of a container platform based on a change operation control table in the relevant production information, and the container deployment system is deployed into the target container application according to the container mirror image and the. The method and the device can realize the whole process of the container application from development testing to production deployment.

Description

Container application production method and system
Technical Field
The application relates to the technical field of computers, in particular to a container application production method and system.
Background
The container virtualization technology has unique advantages in the aspects of container encapsulation, dynamic management, micro-service oriented and the like, and is widely accepted by the industry at present, with the continuous development of the container technology, the container technology represented by Docker gradually becomes the factual standard of modern software delivery and distribution, and the container PaaS platform based on Kubernetes becomes a "distributed operating system" on the cloud.
At present, large financial institutions begin to use containers in a large scale, and part of business systems are transferred to the containers from servers for deployment and operation. However, the existing container application publishing tools and processes are not compatible enough for the container application to be put into production, and it is difficult to implement online production control and implement automated version deployment.
Disclosure of Invention
In view of this, the present application provides a container application commissioning method and system, which are used for implementing the whole process from development testing to production deployment of a container application, and the technical scheme is as follows:
a container application production method is applied to a test system in a test environment and comprises the following steps:
receiving a container mirror image and a matching file of a target container application;
transmitting the container mirror image to a to-be-put-into-production mirror image warehouse in the test environment, and transmitting the matched file to a test file server in the test environment;
associating the container mirror image in the mirror image warehouse to be put into production with a matching file in a test file server so that a tester can test the container mirror image and the matching file conveniently;
and when the container mirror image and the matched file are tested to pass, transmitting the container mirror image in the to-be-put-into-production mirror image warehouse, the matched file in the test file server and the production related information of the target container application to the production environment, so that a container deployment system in the production environment calls an interface of a container platform based on a change operation control table in the production related information, and deploys the container mirror image and the matched file into the target container application.
Optionally, the transferring the container mirror image in the mirror image warehouse to be put into production and the supporting file in the test file server to the production environment includes:
and transmitting the container mirror image in the mirror image warehouse to be put into production to a production mirror image warehouse in the production environment, and transmitting the matched file in the test file server to a production file server in the production environment.
Optionally, the container mirror image is composed of a plurality of mirror images, each of the plurality of mirror images is composed of a base mirror image and an application mirror image, each base mirror image is the same, and each application mirror image is different;
transferring a container image to a to-be-commissioned image warehouse in a testing environment, comprising:
transmitting a basic mirror image and each application mirror image to a to-be-put-into-production mirror image warehouse in a test environment;
transmitting container images in the mirror image warehouse to be put into production to a production mirror image warehouse in a production environment, comprising:
and transmitting one basic mirror image and each application mirror image in the mirror image warehouse to be put into production to a production mirror image warehouse in the production environment.
A container application commissioning method is applied to a container deployment system in a production environment, and comprises the following steps:
acquiring a container mirror image of a target container application from a production mirror image warehouse in a production environment, acquiring a matching file of the target container application from a production file server in the production environment, and acquiring commissioning related information of the target container application from the production environment, wherein the container mirror image of the target container application in the production mirror image warehouse and the matching file of the target container application in the production file server are the container mirror image and the matching file which are transmitted by a test system in the test environment and pass the test of a tester;
and calling an interface of the container platform based on a change operation control table in the production related information, and deploying the container platform as a target container application according to the container mirror image and the supporting file.
Optionally, the method includes calling an interface of the container platform based on a change operation control table in the production related information, deploying as a target container application according to a container mirror image and a supporting file, and including:
generating a change order according to the production related information so that the change order can be examined and approved by the examination and approval personnel, wherein the change order is a change execution flow work order aiming at the target container application;
and when an approval result indicating implementation of deployment is received, calling an interface of the container platform based on the change operation control table in the production related information, and deploying the container platform into the target container application according to the container mirror image and the supporting file.
Optionally, the container mirror image is composed of a plurality of mirror images;
calling an interface of a container platform based on a change operation control table in the production related information, deploying the container platform as a target container application according to a container mirror image and a supporting file, and comprising the following steps:
acquiring grouping serial numbers respectively corresponding to a plurality of mirrors in a change operation control table in the production related information, wherein the grouping serial numbers respectively corresponding to the plurality of mirrors are obtained by grouping and arranging the plurality of mirrors according to the dependency relationship of the deployment of the plurality of mirrors;
and calling an interface of the container platform based on a change operation control table in the production related information, and performing parallel deployment on the plurality of images according to the grouping serial numbers respectively corresponding to the supporting files and the plurality of images.
A container application commissioning system includes a test system in a test environment and a container deployment system in a production environment;
the testing system is used for receiving a container mirror image and a matching file of the target container application; transmitting the container mirror image to a to-be-put-into-production mirror image warehouse in the test environment, and transmitting the matched file to a test file server in the test environment; associating the container mirror image in the mirror image warehouse to be put into production with a matching file in a test file server so that a tester can test the container mirror image and the matching file conveniently; when the container mirror image and the matched file are tested to pass, transmitting the container mirror image in the mirror image warehouse to be put into production, the matched file in the test file server and the production related information of the target container application to a production environment;
the system comprises a container deployment system, a storage system and a management system, wherein the container deployment system is used for acquiring a container mirror image and a matching file of a target container application and production related information of the target container application from a production environment; and calling an interface of the container platform based on a change operation control table in the production related information, and deploying the container platform as a target container application according to the container mirror image and the supporting file.
Optionally, when the test system transmits the container mirror image in the to-be-commissioned mirror image warehouse and the matching file in the test file server to the production environment, the test system is specifically configured to transmit the container mirror image in the to-be-commissioned mirror image warehouse to the production mirror image warehouse in the production environment, and transmit the matching file in the test file server to the production file server in the production environment;
the container deployment system is specifically used for acquiring a container mirror image of a target container application from a production mirror image warehouse in a production environment and acquiring a matching file of the target container application from a production file server in the production environment when acquiring the container mirror image and the matching file of the target container application from the production environment;
the container deployment system is specifically used for calling the interface of the container platform based on the change operation control table in the production related information when the container deployment system is deployed as a target container application based on the container mirror image and the supporting file, and is deployed as the target container application based on the container mirror image pulled from the production mirror image warehouse and the supporting file pulled from the production file server.
Optionally, the container mirror image is composed of a plurality of mirror images, each of the plurality of mirror images is composed of a base mirror image and an application mirror image, each base mirror image is the same, and each application mirror image is different;
the testing system is specifically used for transmitting a basic mirror image and each application mirror image to a planned-for-production mirror image warehouse in the testing environment when transmitting the container mirror image to the planned-for-production mirror image warehouse in the testing environment;
the test system is specifically used for transmitting a basic mirror image and each application mirror image in the production environment to the production mirror image warehouse in the production environment when transmitting the container mirror image in the production mirror image warehouse to be put into operation to the production mirror image warehouse in the production environment.
Optionally, the container mirror image is composed of a plurality of mirror images;
the container deployment system calls an interface of the container platform based on a change operation control table in the production related information, and is specifically used for:
acquiring grouping serial numbers respectively corresponding to a plurality of mirrors in a change operation control table in the production related information, wherein the grouping serial numbers respectively corresponding to the plurality of mirrors are obtained by grouping and arranging the plurality of mirrors according to the dependency relationship of the deployment of the plurality of mirrors;
and calling an interface of the container platform based on a change operation control table in the production related information, and performing parallel deployment on the plurality of images according to the grouping serial numbers respectively corresponding to the supporting files and the plurality of images.
According to the technical scheme, in the container application commissioning method and the container application commissioning system provided by the application, a testing system in a testing environment receives a container mirror image and a matching file of a target container application, the container mirror image is transmitted to a to-be-commissioned mirror image warehouse in the testing environment, the matching file is transmitted to a testing file server in the testing environment, the container mirror image in the to-be-commissioned mirror image warehouse is associated with the matching file in the testing file server so that a tester can test the container mirror image and the matching file, when the container mirror image and the matching file pass the test, the testing system transmits the container mirror image in the to-be-commissioned mirror image warehouse, the matching file in the testing file server and commissioning related information of the target container application to a production environment, and a container deployment system in the production environment calls an interface of a container platform based on a change operation control table in the commissioning related information, and deploying the container mirror image and the matched file as a target container application. The container application production method and the system can realize the whole process from development testing to production deployment of the container application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart of a container application commissioning method provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of a container application production system according to an embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of a test system according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a container deployment system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, a schematic flow chart of a container application production method provided in an embodiment of the present application is shown, which may include:
step S10, the test system in the test environment receives the container image and the supporting file of the target container application.
When the container application deployment requirement exists, a developer can deliver the container mirror image and the supporting file of the target container application through the development and test pipeline, and then the test system in the test environment can receive the container mirror image and the supporting file of the target container application delivered by the developer. Here, the supporting file may be a configuration file and a YAML file supporting the container image.
For example, the target container application may be a partial business system of a financial institution, and the test system in the test environment may receive a container image and supporting files of the partial business system of the financial institution when the partial business system of the financial institution has a new version deployment requirement.
Optionally, after receiving the supporting file applied by the target container, the test system in the test environment may package the supporting file into a version package file, for example, package the supporting file into a zip file or an tgz file, so as to facilitate the transmission of the supporting file, reduce the amount of transmitted data, and improve the transmission efficiency and the transmission success rate of the supporting file.
And step S11, the testing system in the testing environment transmits the container mirror image to a to-be-put-into-production mirror image warehouse in the testing environment, and transmits the matching file to a testing file server in the testing environment.
After receiving a container mirror image and a matching file applied by a target container, a test system in the test environment transmits the container mirror image and the matching file separately, specifically, transmits the container mirror image to a to-be-put-into-production mirror image warehouse in the test environment, and transmits the matching file to a test file server in the test environment.
Optionally, the manner of transferring the container image to the to-be-commissioned image warehouse in the test environment may be: and directly pushing the container mirror image to a to-be-put mirror image warehouse in the test environment.
And step S12, the test system in the test environment associates the container mirror image in the mirror image warehouse to be put into production with the supporting file in the test file server, so that the tester can test the container mirror image and the supporting file.
In this step, the way of associating the container mirror image in the mirror image warehouse to be put into production with the supporting file in the test file server may be: and associating the container mirror image to be used in the production with the supporting file in the version plan. Here, the version plan further includes information such as a demand item, a development task, a planned online time point (start time and end time of planned deployment), and a collaboration system of the current production.
After a test system in a test environment associates a container mirror image in a to-be-put-into-production mirror image warehouse with a matching file in a test file server, a tester can test the container mirror image and the matching file. The testing of the container mirror image and the supporting files by the tester comprises user testing, non-functional testing, safety testing and installation testing, wherein the user testing mainly comprises testing whether the production function meets the user requirements, the non-functional testing mainly comprises testing whether the developed function has performance problems and whether the developed function meets the operation and maintenance standard requirements, the safety testing mainly comprises testing whether a code has a safety leak, and the installation testing ensures that the target container application can be smoothly installed and deployed in the production environment by applying, installing and deploying the target container in the testing environment.
And step S13, when the container mirror image and the matching file pass the test, the test system in the test environment transmits the container mirror image in the mirror image warehouse to be put into production, the matching file in the test file server and the production related information of the target container application to the production environment.
The container mirror image and the matched file are tested by the tester, the representation can be smoothly installed and deployed in the production environment, and at the moment, the test system in the test environment can automatically transmit the container mirror image in the mirror image warehouse to be put into production, the matched file in the test file server and the production related information of the target container application to the production environment.
In this embodiment of the application, the process of automatically transmitting the container mirror image in the mirror image warehouse to be put into production and the matching file in the test file server to the production environment by the test system in the test environment may specifically include: and the test system in the test environment transmits the container mirror image in the mirror image warehouse to be put into production to the production mirror image warehouse in the production environment, and transmits the matched file in the test file server to the production file server in the production environment.
Optionally, the production related information of the target container application includes production information, test information, and a change operation control table of the target container application, where the production information refers to description information of a new version of the current production, and the production information mainly includes a version plan, a baseline plan, an online document (some documents matched with the production, such as an emergency manual, a daily operation and maintenance manual, and the like), file list information in a matched file, container mirror image information, and the like; the test information is a test result or a test report obtained by testing the container mirror image and the matched file by a tester; the change operation control table is a deployment implementation for the target container application, and mainly includes information such as each change operation step, a host command, and a planning time.
Step S14, the container deployment system in the production environment obtains the container image, the supporting file, and the production related information of the target container application from the production environment.
Specifically, the container deployment system in the production environment may obtain a container image of the target container application from a production image warehouse in the production environment, obtain a matching file of the target container application from a production file server in the production environment, and obtain production related information of the target container application from the production environment.
And step S15, the container deployment system in the production environment calls an interface of the container platform based on the change operation control table in the acquired production related information, and deploys the container as the target container application according to the acquired container mirror image and the supporting file.
Specifically, the container deployment system in the production environment calls an interface of the container platform based on the change operation steps defined in the change operation control table, pulls the container image from the production image warehouse and pulls the supporting file from the production file server, and deploys the pulled container image and the supporting file as the target container application on the container platform. And the interfaces of the container platforms, which are called by the change operation steps defined in the change operation control table at different times, are different. Here, the container platform may be a container cloud PaaS platform.
Optionally, when the target container application is deployed, a brand-new release and rolling upgrade (deployment of the target container application while stopping the original container application) mode may be adopted, where a process of deploying the target container application based on the brand-new release mode is as follows: calling an interface of a container platform, providing and issuing related parameters (such as container mirror name, version number, matching configuration files and other parameters), pulling a container mirror from a production mirror warehouse and pulling matching files from a production file server for deployment, taking the parameters provided in the matching files into effect, and starting service after the deployment is finished; the process of deploying the target container application based on the rolling upgrading mode comprises the following steps: calling an interface of the container platform, providing release related parameters (such as container mirror name, version number, matching configuration files and other parameters), pulling the container mirror from a production mirror warehouse and pulling matching files from a production file server, gradually replacing and upgrading the version of the original container application, starting service, and realizing smooth transition of the container application from an old version to a new version.
In the container application commissioning method provided by the application, a testing system in a testing environment receives a container mirror image and a supporting file of a target container application, the container mirror image is transmitted to a to-be-commissioned mirror image warehouse in the testing environment, the supporting file is transmitted to a testing file server in the testing environment, the container mirror image in the to-be-commissioned mirror image warehouse is associated with the supporting file in the testing file server so as to be convenient for a tester to test the container mirror image and the supporting file, when the container mirror image and the supporting file pass the test, the testing system transmits the container mirror image in the to-be-commissioned mirror image warehouse, the supporting file in the testing file server and commissioning related information of the target container application to a production environment, and a container deployment system in the production environment invokes an interface of a container platform based on a change operation control table to deploy and validate the container mirror image and the supporting file, to achieve the target container application deployment. The container application production method provided by the application can realize the whole process from development testing to production deployment of the container application.
Meanwhile, a to-be-put-into-production mirror image warehouse is built in the test environment, a production mirror image warehouse is built in the production environment, a container release channel from the to-be-put-into-production mirror image warehouse in the test environment to the production mirror image warehouse in the production environment is built, version management of container mirror images delivered by an development test assembly line is achieved, the container mirror images and matched files are also associated and are associated with a version plan, the container mirror images and the matched files are tested after association, on-line management of the container mirror images to be put into production is achieved, the container mirror images can be automatically synchronized from the to-be-put-into-production mirror image warehouse to the production mirror image warehouse through the container release channel after the test is passed, and the production risk management and control capacity of target container application is improved. In addition, the container deployment system in the production environment can call the interface of the container platform based on the change operation control table, so that automatic deployment of the target container application is realized, manual operation is not required in the whole process, the change operation risk is effectively controlled, and the actual requirement of safe and efficient production of the target container application is met.
In an alternative embodiment, considering that the data size of the container mirror of the target container application is generally large, if the entire container mirror is directly transmitted, the transmission efficiency is low, the timeliness of the production implementation of the target container application is affected, and a case that the transmission fails due to the fact that the container mirror is too large may occur. The inventor of the present invention found, after intensive research: the container mirror image of the target container application delivered by the developer is composed of a plurality of mirror images, each mirror image in the plurality of mirror images is composed of a basic mirror image (for example, a mirror image corresponding to an operating system, a JDK and a middleware product) and an application mirror image (for example, a mirror image of an application program), the basic mirror image is located at a basic mirror image layer, the application mirror image is located at an application mirror image layer (the application mirror image layer is located at an upper layer of the basic mirror image layer), all the basic mirror images are the same, and all the application mirror images are different. For example, the container image of the target container application is composed of image 1, image 2, …, image n, wherein image 1 is composed of a base image 11 and an application image 12, image 2 is composed of a base image 21 and an application image 22, …, image n is composed of a base image n1 and an application image n2, the base image 11, the base image 21, …, and the base image n1 are all the same and at the base image level, and the application image 12, the application image 22, …, and the application image n2 are all different and at the application image level. Because the container mirror image has the characteristics of layered storage and layered transmission, and the basic mirror image has the characteristics of sharing in transmission and sharing in storage, if the basic mirror image is transmitted once and each application mirror image is transmitted when the container mirror image is transmitted, the transmission data volume of the container mirror image can be greatly reduced.
Based on this, in step S11, when the test system in the test environment transmits the container image to the virtual production image warehouse in the test environment, the test system may transmit one base image and each application image to the virtual production image warehouse in the test environment based on the characteristics of layered transmission and layered storage of the container image and the characteristics of the base image that are commonly used in transmission and storage.
In contrast, in step S13, when the test system in the test environment transfers the container image in the virtual production image warehouse to the production image warehouse in the production environment, the test system may transfer one base image and each application image in the virtual production image warehouse to the production image warehouse in the production environment based on the characteristics of hierarchical transmission and hierarchical storage of the container image and the characteristics of the base image that are commonly used during transmission and storage.
That is, because the container mirror image has the characteristic of layered transmission and the basic mirror image has the characteristic of sharing during transmission, the container mirror image can be transmitted in a layered manner when being transmitted to the planned production mirror image warehouse and the production mirror image warehouse, and because each basic mirror image is the same and each application mirror image is different, only one basic mirror image needs to be transmitted and each application mirror image needs to be transmitted when the container mirror images are transmitted synchronously; because the container mirror image also has the characteristic of hierarchical storage and the basic mirror image has the characteristic of sharing in storage, the container mirror image of the target container application can be stored hierarchically when the container mirror image is stored in the to-be-commissioned mirror image warehouse and the production mirror image warehouse, namely one basic mirror image is stored in the basic mirror image layer, and each application mirror image is stored in the application mirror image layer, so that when the stored container mirror image of the target container application needs to be used, the container mirror image of the target container application can be obtained from the to-be-commissioned mirror image warehouse and the production mirror image warehouse according to the description file of the container mirror image.
The embodiment of the application is based on the characteristics of layered transmission and storage of the container mirror images and the characteristic that the basic mirror images can be shared during transmission and storage, an incremental transmission mode is adopted during transmission of the container mirror images, namely a mode of transmitting one basic mirror image and each application mirror image is adopted, the data transmission quantity of the container mirror images during transmission to a planned-for-production mirror image warehouse and synchronization of the planned-for-production mirror image warehouse to a production mirror image warehouse can be effectively reduced, and the transmission efficiency of the container mirror images is greatly improved.
In an optional embodiment, in the step S15, the step of invoking, by the container deployment system in the production environment, an interface of the container platform based on the change operation control table in the production related information, and the process of deploying the container image and the supporting file as the target container application may include:
and S151, generating a change order by the container deployment system in the production environment according to the production related information so that the change order can be conveniently examined and approved by an examining and approving personnel.
Here, the change order is a change execution flow work order applied to the target container, and information such as a change operation control table, an online document, a change content description, and a change risk evaluation is integrated into the change order. In the step, when the examination and approval personnel examine and approve the change order, the examination and approval personnel mainly examine and approve information such as a change operation control table, an online document and the like in the change order so as to determine whether the target container application put into production has a change risk.
And S152, when the container deployment system in the production environment receives an approval result indicating implementation of deployment, calling an interface of a container platform based on a change operation control table in the production related information, and deploying the container platform into a target container application according to a container mirror image and a supporting file.
The method comprises the steps that an examination and approval person examines and approves a change order to obtain an examination and approval result indicating whether deployment is carried out or not, if a container deployment system in the production environment receives the examination and approval result indicating the implementation and deployment, the fact that the examination and approval person examines and approves the change order is passed, the change order is in a state capable of being implemented, then the container deployment system in the production environment can call an interface of a container platform based on a change operation control table in production related information, deployment is used as a target container according to a container mirror image and a matched file, and after the deployment is finished, the change order can be closed.
Referring to the introduction in the above embodiment, the container image of the target container application is composed of a plurality of images, and when the container deployment system in the production environment in this step deploys as the target container application according to the container image and the supporting file, the plurality of images are actually deployed according to the supporting file. Optionally, the process of deploying the plurality of images by the container deployment system in the production environment according to the supporting file may include the following steps:
step S1521, the container deployment system in the production environment obtains the grouping sequence numbers corresponding to the plurality of mirrors in the change operation control table in the production related information.
Here, the grouping sequence numbers respectively corresponding to the plurality of images are obtained by grouping and arranging the plurality of images according to the dependency relationship of the deployment of the plurality of images.
Specifically, the plurality of mirror images have a deployment dependency relationship, and developers in the embodiment of the present application can group and arrange the plurality of mirror images according to the deployment dependency relationship of the plurality of mirror images to obtain the group sequence numbers corresponding to the plurality of mirror images, optionally, in the plurality of mirror images having the dependency relationship, the group sequence number corresponding to the depended mirror image is smaller than the group sequence number corresponding to the dependent mirror image, where, if the mirror image X depends on the mirror image Y (i.e., the mirror image X can be deployed after the mirror image Y is deployed), the mirror image Y is the depended mirror image, and the mirror image X is the dependent mirror image; in a plurality of images without dependency relationship, the packet sequence numbers corresponding to the images are the same.
After the developer obtains the packet serial numbers corresponding to the plurality of mirrors respectively, the packet serial numbers corresponding to the plurality of mirrors respectively can be written into the change operation control table, so that when the container deployment system in the production environment needs to deploy the plurality of mirrors, the packet serial numbers corresponding to the plurality of mirrors in the change operation control table can be obtained firstly.
For example, the container images of the target container application include image 1, image 2, image 3, image 4, and image 5, and if the dependencies of the image 1-5 deployment are: the mirror image 2 depends on the mirror image 1, the mirror image 5 depends on the mirror image 2 and the mirror image 4, and the mirror image 3 and the mirror image 4 have no dependency relationship, so that the packet sequence numbers obtained by the container deployment system are respectively: mirror 1 corresponds to packet sequence number 1, mirror 2 corresponds to packet sequence number 2, mirror 3 and mirror 4 correspond to packet sequence number 3, and mirror 5 corresponds to packet sequence number 4.
Step S1522, the container deployment system in the production environment calls an interface of the container platform based on the change operation control table in the production related information, and deploys the plurality of mirror images in parallel according to the group serial numbers corresponding to the supporting files and the plurality of mirror images respectively.
When the container deployment system in the production environment deploys the plurality of mirror images in parallel according to the supporting files, the grouping sequence numbers corresponding to the plurality of mirror images respectively need to be considered, specifically, if the grouping sequence numbers corresponding to the mirror images are the same, the mirror images can be deployed in parallel, if the grouping sequence numbers corresponding to the mirror images are different, the mirror images with smaller grouping sequence numbers are deployed firstly, and then the mirror images with larger grouping sequence numbers are deployed after the deployment is finished.
For example, in the previous example, the mirror image 1 is deployed first, after the deployment of the mirror image 1 is completed, the mirror image 2 is deployed, after the deployment of the mirror image 2 is completed, the mirror image 3 and the mirror image 4 are deployed in parallel, and after the deployment of the mirror image 3 and the mirror image 4 is completed, the mirror image 5 is deployed.
It should be noted that the container deployment system may immediately deploy the target container application after acquiring the container image, the supporting file, and the production related information of the target container application, and in addition, the container deployment system may also preset deployment start time, so that after acquiring the container image, the supporting file, and the production related information of the target container application, the target container application is deployed only when the deployment start time is reached.
When the container deployment system is deployed as a target container application, the serial deployment and the parallel deployment of the plurality of mirror images can be realized according to the grouping sequence numbers respectively corresponding to the plurality of mirror images, serial deployment is realized by setting different grouping sequence numbers for the mirror images with dependency relationship, the same grouping sequence number can be set for the mirror images without dependency relationship to realize parallel deployment, and the deployment efficiency is improved.
In an optional embodiment, considering that before the target container application is deployed, a data file generated in the running process by the original container application may be more important, and if the data file is lost, the risk that the target container application cannot run after being deployed may be caused, so that the container deployment system in the production environment may also call an interface of a container platform based on a change operation control table before the target container application is deployed, and backup is performed on a data file which is generated in the running process of the original container application and is not included in a container mirror image, so that when the important data file is lost, the important data file can be restored in time based on the backup file. For example, before deploying the target container application, the container deployment system calls an interface of the container platform based on the change operation control table to backup the persistent data file outside the container image.
In another optional embodiment, if the container deployment system in the production environment does not deploy in a rolling upgrade manner when deploying the target container application, it is necessary to call an interface of the container platform based on the change operation control table before deploying the target container application, and stop all or part of the original container application corresponding to the specified service.
In yet another optional embodiment, after the target container application is deployed, the container deployment system in the production environment may further call an interface of the container platform based on the change operation control table, and perform a set change operation on the target container application according to the change operation control table. Alternatively, the setting change operation may be an operation of externally issuing a service that is not included in the start script. For example, for a target container application, there may be a problem with historical data generated in the running process of an original container application, and at this time, the container deployment system may modify or delete the historical data after the target container application is deployed; for another example, after the target container application is deployed in the distributed system, the service of the target container application is not provided to the outside, at this time, registration needs to be performed in a registration center or a service directory, and the service of the target container application can be provided to the outside only after the registration is completed.
In yet another optional embodiment, after the target container application is deployed, the running state of the target container application may be further checked to check whether the service of the target container application is normal, that is, after the target container application is deployed, the container deployment system in the production environment may invoke an interface of the container platform based on the change operation control table to check the running state of the target container application. Optionally, the checking performed on the target container application includes a ready check and a health check, where the ready check refers to checking a ready condition after the target container application is started.
The method comprises the steps of dividing a complete deployment process of a target container application into 5 standard change operation steps, namely firstly backing up an important data file, then stopping an original container application corresponding to a specified service, then deploying the target container application, then executing a set change operation on the target container application, and finally checking the running state of the target container application. According to the method and the device, 5 standard change operation steps are executed by calling the interface of the container platform, and automatic deployment of the target container application is achieved.
An embodiment of the present application further provides a container application commissioning system, where the container application commissioning system includes the above-mentioned test system in the test environment and the container deployment system in the production environment.
Here, the interactive process of the test system and the container deployment system includes the following:
the testing system can receive a container mirror image and a matched file of a target container application, transmit the container mirror image to a to-be-put-into-production mirror image warehouse in a testing environment, transmit the matched file to a testing file server in the testing environment, associate the container mirror image in the to-be-put-into-production mirror image warehouse with the matched file in the testing file server so that a tester can test the container mirror image and the matched file conveniently, and transmit the container mirror image in the to-be-put-into-production mirror image warehouse, the matched file in the testing file server and the put-into-production related information of the target container application to a production environment when the container mirror image and the matched file pass the testing.
After the test system transmits the container mirror image, the supporting file and the production related information of the target container application to the production environment, the container deployment system in the production environment can acquire the container mirror image, the supporting file and the production related information of the target container application from the production environment, call an interface of a container platform based on a change operation control table in the production related information, and deploy the container mirror image, the supporting file and the production related information of the target container application into the target container application according to the container mirror image and the supporting file.
Optionally, the process of the test system transmitting the container image in the to-be-commissioned image warehouse and the supporting file in the test file server to the production environment may specifically include: and transmitting the container mirror image in the mirror image warehouse to be put into production to a production mirror image warehouse in the production environment, and transmitting the matched file in the test file server to a production file server in the production environment.
Correspondingly, the process of the container deployment system acquiring the container image and the supporting file of the target container application from the production environment may specifically include: and acquiring a container mirror image of the target container application from a production mirror image warehouse in the production environment, and acquiring a matching file of the target container application from a production file server in the production environment.
The container deployment system calls an interface of the container platform based on a change operation control table in the production related information, and the process of deploying the container application as the target container according to the container mirror image and the supporting file specifically may include: and calling an interface of the container platform based on the change operation control table in the production related information, and deploying the container mirror image pulled from the production mirror image warehouse and the matched file pulled from the production file server into the target container application.
Optionally, the container mirror image of the target container application is composed of a plurality of mirror images, each of the plurality of mirror images is composed of a base mirror image and an application mirror image, each base mirror image is the same, and each application mirror image is different.
Based on this, the process of the test system transmitting the container image to the to-be-put-into-production image warehouse in the test environment may specifically include: and transmitting a base image and each application image to a to-be-put-into-production image warehouse in the test environment.
Correspondingly, the process of the test system transferring the container mirror image in the to-be-put-into-production mirror image warehouse to the production mirror image warehouse in the production environment may specifically include: and transmitting one basic mirror image and each application mirror image in the mirror image warehouse to be put into production to a production mirror image warehouse in the production environment.
Optionally, the container deployment system calls an interface of the container platform based on the change operation control table in the production related information, and the process of deploying the container image and the supporting file as the target container application may specifically include: and generating a change order according to the production related information so that an examination and approval person can examine and approve the change order, calling an interface of a container platform based on a change operation control table in the production related information when receiving an examination and approval result indicating implementation and deployment, and deploying the change operation control table into target container application according to a container mirror image and a matched file.
Optionally, the container image of the target container application is composed of a plurality of images, the container deployment system calls an interface of the container platform based on a change operation control table in the production related information, and the process of deploying the container image and the supporting file into the target container application may specifically include: the method comprises the steps of obtaining grouping serial numbers corresponding to a plurality of images in a change operation control table in the production related information, grouping and arranging the plurality of images according to the dependency relationship of the deployment of the plurality of images, calling an interface of a container platform based on the change operation control table in the production related information, and deploying the plurality of images in parallel according to the grouping serial numbers corresponding to the matched file and the plurality of images.
In order to make those skilled in the art understand the production process of the target container application in the present application, the following description is made in detail with reference to fig. 2.
Referring to fig. 2, a developer may deliver a container mirror image and a supporting file through a development and test pipeline, after receiving the container mirror image and the supporting file, a test system may transmit the container mirror image to a to-be-put-into-production mirror image warehouse, transmit the supporting file to a test file server, after associating the container mirror image in the to-be-put-into-production mirror image warehouse with the supporting file in the test file server, the tester may test the container mirror image and the supporting file, after the test is completed, test information may be obtained, after the test of the container mirror image and the supporting file is passed, the test system may synchronize the container mirror image in the to-be-put-into-production mirror image warehouse to a production mirror image warehouse, synchronize the supporting file in the test file server to a production file server, and synchronize the production related information (including test information and a change control table) applied to a target container to a production environment, after the container deployment system in the production environment acquires the production commissioning related information from the production environment, a change order is generated according to the production commissioning related information, so that an approver can conveniently approve the generated change order according to an approval process and obtain an approval result indicating whether to implement deployment, if the approval result indicating to implement deployment is obtained, the container deployment system calls an interface of a container platform based on a change operation control table and deploys the container platform as a target container application according to a container mirror image and a supporting file.
The following describes the test system provided by the embodiment of the present application, and the test system described below and the test system in the container application commissioning method described above may be referred to in a corresponding manner.
Referring to fig. 3, a schematic structural diagram of a test system according to an embodiment of the present application is shown, and as shown in fig. 3, the test system may include: a file receiving module 301, a first file transmission module 302, a file association module 303 and a second file transmission module 304.
And the file receiving module is used for 301 and is used for receiving the container mirror image and the matching file of the target container application.
The first file transmission module 302 is configured to transmit the container image to a to-be-put-into-production image warehouse in the test environment, and transmit the supporting file to a test file server in the test environment.
The file association module 303 is configured to associate the container image in the image warehouse to be put into production with the supporting file in the test file server, so that a tester can test the container image and the supporting file.
The second file transmission module 304 is configured to transmit the container image in the to-be-commissioned image warehouse, the supporting file in the test file server, and the commissioning related information of the target container application to the production environment when the container image and the supporting file are tested to pass, so that the container deployment system in the production environment calls an interface of the container platform based on the change operation control table in the commissioning related information, and deploys the container image and the supporting file into the target container application.
The test system provided by the application firstly receives the container mirror image and the matching file of the target container application, then the container mirror image is transmitted to a to-be-put-into-production mirror image warehouse in the testing environment, the matching file is transmitted to a testing file server in the testing environment, the container image in the to-be-commissioned image repository is then associated with the companion file in the test file server, so that the tester can test the container mirror image and the matched file, and finally when the container mirror image and the matched file pass the test, transmitting the container mirror image in the mirror image warehouse to be put into production, the matching file in the test file server and the production related information of the target container application to the production environment, and the container deployment system in the production environment calls an interface of the container platform based on the change operation control table in the production related information, and deploys the container as the target container application according to the container mirror image and the supporting file. The test system provided by the application can realize the test of the target container application in the test environment, and transmits the target container application to the production environment for deployment when the test is passed.
In a possible implementation manner, the second file transfer module 304 may include: a container mirror image transmission module and a matched file transmission module.
And the container mirror image transmission module is used for transmitting the container mirror image in the mirror image warehouse to be put into production to the production mirror image warehouse in the production environment.
And the matching file transmission module is used for transmitting the matching files in the test file server to a production file server in a production environment.
In one possible implementation, the container mirror is composed of a plurality of mirrors, each of the plurality of mirrors is composed of a base mirror and an application mirror, each base mirror is the same, and each application mirror is different.
The first file transmission module 302 is specifically configured to transmit a base image and each application image to a to-be-commissioned image warehouse in the test environment when transmitting the container image to the to-be-commissioned image warehouse in the test environment.
The container mirror image transmission module is specifically configured to, when transmitting the container mirror image in the mirror image warehouse to be put into production to the production mirror image warehouse in the production environment: and transmitting one basic mirror image and each application mirror image in the mirror image warehouse to be put into production to a production mirror image warehouse in the production environment.
The container deployment system provided by the embodiment of the present application is described below, and the container deployment system described below and the container deployment system in the container application commissioning method described above may be referred to in a corresponding manner.
Referring to fig. 4, a schematic structural diagram of a container deployment system provided in an embodiment of the present application is shown, and as shown in fig. 4, the container deployment system may include: a file acquisition module 401 and a container application deployment module 402.
The file obtaining module 401 is configured to obtain a container mirror image of a target container application from a production mirror image warehouse in a production environment, obtain a matching file of the target container application from a production file server in the production environment, and obtain commissioning related information of the target container application from the production environment, where the container mirror image of the target container application in the production mirror image warehouse and the matching file of the target container application in the production file server are the container mirror image and the matching file that are transmitted by a test system in the test environment and pass a test of a tester.
And the container application deployment module 402 is configured to call an interface of the container platform based on the change operation control table in the production related information, and deploy the container platform as the target container application according to the container image and the supporting file.
The container deployment system first acquires a container mirror image of a target container application from a production mirror image warehouse in a production environment, acquires a matching file of the target container application from a production file server in the production environment, acquires production related information of the target container application from the production environment, calls an interface of a container platform based on a change operation control table in the acquired production related information, and deploys the container mirror image and the matching file into the target container application. The whole process deployed to the target container application is free of manual operation, and the operation risk is effectively controlled.
In a possible implementation manner, the container application deployment module 402 calls an interface of the container platform based on the change operation control table in the production related information, and when the deployment is performed as the target container application according to the container mirror image and the supporting file, is specifically configured to generate a change order according to the production related information, so that an approval worker approves the change order, where the change order is a change execution flow work order for the target container application, and when an approval result indicating implementation of deployment is received, calls the interface of the container platform based on the change operation control table in the production related information, and deploys the interface as the target container application according to the container mirror image and the supporting file.
In a possible implementation manner, the container mirror is composed of multiple mirrors, the container application deployment module 402 is configured to call an interface of the container platform based on a change operation control table in the production related information, and when deployed as a target container application according to the container mirror and the supporting file, is specifically configured to obtain packet sequence numbers corresponding to the multiple mirrors in the change operation control table in the production related information, where the packet sequence numbers corresponding to the multiple mirrors are obtained by grouping and arranging the multiple mirrors according to a dependency relationship deployed by the multiple mirrors, call the interface of the container platform based on the change operation control table in the production related information, and deploy the multiple mirrors in parallel according to the supporting file and the packet sequence numbers corresponding to the multiple mirrors.
Finally, it is further noted that, herein, relational terms such as, for example, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A container application commissioning method is characterized in that a test system applied to a test environment comprises the following steps:
receiving a container mirror image and a matching file of a target container application;
transmitting the container mirror image to a to-be-put-into-production mirror image warehouse in the test environment, and transmitting the matched file to a test file server in the test environment;
associating the container mirror image in the to-be-commissioned mirror image warehouse with the supporting file in the test file server so that a tester can test the container mirror image and the supporting file;
and when the container mirror image and the assorted file pass the test, transmitting the container mirror image in the to-be-put-into-operation mirror image warehouse, the assorted file in the test file server and the production related information of the target container application to a production environment, so that a container deployment system in the production environment calls an interface of a container platform based on a change operation control table in the production related information, and deploys the container mirror image and the assorted file into the target container application.
2. The container application commissioning method of claim 1, wherein transferring the container image in the to-be-commissioned image repository and the companion file in the test file server to a production environment comprises:
and transmitting the container mirror image in the mirror image warehouse to be put into production to a production mirror image warehouse in the production environment, and transmitting the matched file in the test file server to a production file server in the production environment.
3. The container application commissioning method of claim 2, wherein the container mirror image is comprised of a plurality of mirror images, each of the plurality of mirror images being comprised of a base mirror image and an application mirror image, each base mirror image being the same and each application mirror image being different;
the transmitting the container image to a to-be-commissioned image warehouse in the testing environment includes:
transmitting a base image and each application image to a to-be-put-into-production image warehouse in the test environment;
the transferring the container image in the to-be-commissioned image warehouse to a production image warehouse in the production environment includes:
and transmitting one basic mirror image and each application mirror image in the mirror image warehouse to be put into production to a production mirror image warehouse in the production environment.
4. A container application commissioning method applied to a container deployment system in a production environment, comprising:
acquiring a container mirror image of a target container application from a production mirror image warehouse in a production environment, acquiring a matching file of the target container application from a production file server in the production environment, and acquiring production related information of the target container application from the production environment, wherein the container mirror image of the target container application in the production mirror image warehouse and the matching file of the target container application in the production file server are the container mirror image and the matching file which are transmitted by a test system in a test environment and pass the test of a tester;
and calling an interface of a container platform based on the change operation control table in the production related information, and deploying the container image and the supporting file into the target container application.
5. The container application production method according to claim 4, wherein the invoking an interface of a container platform based on a change operation control table in the production related information, deploying as the target container application according to the container image and the supporting file, comprises:
generating a change form according to the production related information so that an examination and approval person can examine and approve the change form, wherein the change form is a change execution process work order applied to the target container;
and when an approval result indicating implementation of deployment is received, calling an interface of a container platform based on a change operation control table in the production related information, and deploying the container mirror image and the supporting file into the target container application.
6. The container application commissioning method of claim 5, wherein said container mirror image is comprised of a plurality of mirror images;
the calling an interface of a container platform based on the change operation control table in the production related information, deploying as the target container application according to the container mirror image and the supporting file, and comprising:
acquiring grouping sequence numbers respectively corresponding to the plurality of mirrors in a change operation control table in the production related information, wherein the grouping sequence numbers respectively corresponding to the plurality of mirrors are obtained by grouping and arranging the plurality of mirrors according to the dependency relationship of the deployment of the plurality of mirrors;
and calling an interface of a container platform based on a change operation control table in the production related information, and performing parallel deployment on the plurality of mirror images according to the group sequence numbers respectively corresponding to the supporting files and the plurality of mirror images.
7. A container application commissioning system comprising a test system in a test environment and a container deployment system in a production environment;
the test system is used for receiving a container mirror image and a matching file of a target container application; transmitting the container mirror image to a to-be-put-into-production mirror image warehouse in the test environment, and transmitting the matched file to a test file server in the test environment; associating the container mirror image in the to-be-commissioned mirror image warehouse with the supporting file in the test file server so that a tester can test the container mirror image and the supporting file; when the container mirror image and the matching file pass the test, transmitting the container mirror image in the to-be-put-into-production mirror image warehouse, the matching file in the test file server and the production related information of the target container application to the production environment;
the container deployment system is used for acquiring the container mirror image of the target container application, the supporting file and the production related information of the target container application from the production environment; and calling an interface of a container platform based on the change operation control table in the production related information, and deploying the container image and the supporting file into the target container application.
8. The container application commissioning system of claim 7, wherein the test system, when transmitting the container image in the to-be-commissioned image repository and the companion file in the test file server to the production environment, is specifically configured to transmit the container image in the to-be-commissioned image repository to a production image repository in the production environment, and transmit the companion file in the test file server to a production file server in the production environment;
the container deployment system is specifically configured to, when acquiring the container image and the supporting file of the target container application from the production environment, acquire the container image of the target container application from a production image warehouse in the production environment, and acquire the supporting file of the target container application from a production file server in the production environment;
the container deployment system is specifically configured to invoke an interface of a container platform based on a change operation control table in the commissioning related information when the container deployment system invokes the interface of the container platform based on the change operation control table in the commissioning related information is deployed as the target container application according to the container image and the supporting file, and deploy the container image pulled from the production image warehouse and the supporting file pulled from the production file server as the target container application.
9. The container application commissioning system of claim 8, wherein said container mirror image is comprised of a plurality of mirror images, each of said plurality of mirror images comprised of a base mirror image and an application mirror image, each base mirror image being the same and each application mirror image being different;
the test system is specifically used for transmitting a basic mirror image and each application mirror image to a to-be-put-into-production mirror image warehouse in the test environment when transmitting the container mirror image to the to-be-put-into-production mirror image warehouse in the test environment;
the test system is specifically configured to transmit a base image and each application image in the planned commissioning mirror image warehouse to a production mirror image warehouse in the production environment when transmitting the container mirror image in the planned commissioning mirror image warehouse to the production mirror image warehouse in the production environment.
10. The container application commissioning system of claim 8, wherein said container mirror image is comprised of a plurality of mirror images;
the container deployment system calls an interface of a container platform based on a change operation control table in the production related information, and is specifically configured to, when deployed as the target container application according to the container mirror image and the supporting file:
acquiring grouping sequence numbers respectively corresponding to the plurality of mirrors in a change operation control table in the production related information, wherein the grouping sequence numbers respectively corresponding to the plurality of mirrors are obtained by grouping and arranging the plurality of mirrors according to the dependency relationship of the deployment of the plurality of mirrors;
and calling an interface of a container platform based on a change operation control table in the production related information, and performing parallel deployment on the plurality of mirror images according to the group sequence numbers respectively corresponding to the supporting files and the plurality of mirror images.
CN202110297179.1A 2021-03-19 2021-03-19 Container application production method and system Pending CN113010267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110297179.1A CN113010267A (en) 2021-03-19 2021-03-19 Container application production method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110297179.1A CN113010267A (en) 2021-03-19 2021-03-19 Container application production method and system

Publications (1)

Publication Number Publication Date
CN113010267A true CN113010267A (en) 2021-06-22

Family

ID=76403444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110297179.1A Pending CN113010267A (en) 2021-03-19 2021-03-19 Container application production method and system

Country Status (1)

Country Link
CN (1) CN113010267A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115756733A (en) * 2023-01-10 2023-03-07 北京数原数字化城市研究中心 Container mirror image calling system and container mirror image calling method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115756733A (en) * 2023-01-10 2023-03-07 北京数原数字化城市研究中心 Container mirror image calling system and container mirror image calling method

Similar Documents

Publication Publication Date Title
CN111309441B (en) Micro-service deployment method for realizing DevOps based on Jenkins
CN111198744A (en) Method for automatic application program containerization and mirror image backup release
CN103229142B (en) A method computer program and system for managing pre-requisite of a software product virtual image
CN111142879B (en) Software integrated release method and automatic operation and maintenance platform
CN111610989B (en) Application publishing/updating method and system for offline container cloud environment
US20040181787A1 (en) Software updating system and method
CN107038519B (en) Method and system for bidirectional data synchronization between systems
CN107025108B (en) Exporting hierarchical data from a Source Code Management (SCM) system to a Product Lifecycle Management (PLM) system
CN107885551A (en) A kind of service arrangement method, apparatus, computer-readable recording medium and storage control
CN103353844A (en) Upgrading method and system of SDK (software development kit)
CN101442688A (en) Method and system for updating intelligent network platform, controller and intelligent network platform equipment
CN104881604B (en) The operation method and device of version file
CN103309751A (en) Apparatus and method of terminal for providing file system function
CN113010267A (en) Container application production method and system
CN110780904A (en) Application updating method and device
CN112286543B (en) Application service deployment method and device
EP3166030B1 (en) Exporting hierarchical data from a product lifecycle management (plm) system to a source code management (scm) system
CN112612572B (en) Interactive cloud native application distribution management system and method based on graphics
CN115426370A (en) Heterogeneous container cloud platform and edge manufacturing service subscription implementation method thereof
CN114327600A (en) All-environment integrated CICD application deployment platform
CN113791977A (en) Code development processing method and device, electronic equipment and storage medium
CN114841298B (en) Method and device for training algorithm model, electronic equipment and storage medium
CN113485759A (en) Micro-service configuration information management system, method, electronic device and storage medium
CN118012453A (en) Software deployment method, device, electronic equipment, storage medium and program product
CN118051256A (en) Code branch management method, device, equipment, storage medium and product

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