CN108429787B - Container deployment method and device, computer storage medium and terminal - Google Patents

Container deployment method and device, computer storage medium and terminal Download PDF

Info

Publication number
CN108429787B
CN108429787B CN201810088111.0A CN201810088111A CN108429787B CN 108429787 B CN108429787 B CN 108429787B CN 201810088111 A CN201810088111 A CN 201810088111A CN 108429787 B CN108429787 B CN 108429787B
Authority
CN
China
Prior art keywords
container
objects
deployed
file
deployment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810088111.0A
Other languages
Chinese (zh)
Other versions
CN108429787A (en
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 ECONOMIC INFORMATION SERVICE Co.,Ltd.
Original Assignee
Zhongjingshe Holdings Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongjingshe Holdings Ltd filed Critical Zhongjingshe Holdings Ltd
Priority to CN201810088111.0A priority Critical patent/CN108429787B/en
Publication of CN108429787A publication Critical patent/CN108429787A/en
Application granted granted Critical
Publication of CN108429787B publication Critical patent/CN108429787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5045Making service definitions prior to deployment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5017Task decomposition

Abstract

A container deployment method and device, a computer storage medium and a terminal are provided, and the method comprises the following steps: acquiring load balancing objects, service objects, storage objects and information of incidence relations among the load balancing objects, the service objects and the storage objects, wherein the load balancing objects, the service objects and the storage objects are obtained by abstracting containers to be deployed and are input by users; arranging the load balancing objects, the service objects and the storage objects based on the information of the incidence relation among the load balancing objects, the service objects and the storage objects of the container to be deployed to generate a container arrangement task file corresponding to the container to be deployed; generating a corresponding arrangement subtask file based on the generated container arrangement task file; and executing the generated editing subtask file to deploy the container to be deployed to the corresponding server. By the scheme, the deployment operation of the container can be simplified, and the deployment efficiency of the container is improved.

Description

Container deployment method and device, computer storage medium and terminal
Technical Field
The present invention relates to the field of container deployment technologies, and in particular, to a container deployment method and apparatus, a computer storage medium, and a terminal.
Background
Containers are fully sandboxed, have no interfaces to each other, have little performance overhead, and can be easily run in machines and data centers. Most importantly, they are not dependent on any language, framework, including system.
The open source application container engine Docker enables developers to package their applications and dependencies into a portable container and then distribute the same to any popular Linux machine, and also enables virtualization. With the popularization of Docker technology in cloud computing, more and more application services are beginning to be deployed in containers.
However, the existing container deployment method has the problems of complex operation and low deployment efficiency.
Disclosure of Invention
The technical problem solved by the embodiment of the invention is how to simplify the deployment operation of the container and improve the deployment efficiency of the container.
To solve the above problem, an embodiment of the present invention provides a container deployment method, where the method includes:
acquiring load balancing objects, service objects, storage objects and information of incidence relations among the load balancing objects, the service objects and the storage objects, wherein the load balancing objects, the service objects and the storage objects are obtained by abstracting containers to be deployed and are input by users; the load balancing object is used for recording the entrance information of the container to be deployed; the service object is used for recording the information of the deployment components forming the container to be deployed; the storage object is used for storing the information of the data of the deployment component;
arranging the load balancing objects, the service objects and the storage objects based on the information of the incidence relation among the load balancing objects, the service objects and the storage objects of the container to be deployed to generate a container arrangement task file corresponding to the container to be deployed;
generating a corresponding arrangement subtask file based on the generated container arrangement task file;
and executing the generated editing subtask file to deploy the container to be deployed to the corresponding server.
Optionally, the generating a corresponding orchestration subtask file based on the generated container orchestration task file includes:
and splitting the container arrangement task file to obtain a plurality of corresponding arrangement subtask files.
Optionally, before splitting the container orchestration task file, the method further includes:
and carrying out validity check on the container arrangement task file, and executing the operation of splitting the container arrangement task file when the check is passed.
Optionally, before executing the generated orchestration subtask file, the method further includes:
and carrying out validity check on the to-be-executed arrangement subtask file, and executing the arrangement subtask file when the validity check of the to-be-executed arrangement subtask file passes.
An embodiment of the present invention further provides a container deployment apparatus, where the apparatus includes:
the system comprises an acquisition unit, a deployment unit and a deployment unit, wherein the acquisition unit is suitable for acquiring load balancing objects, service objects, storage objects and information of incidence relations among the load balancing objects, the service objects, the storage objects and the storage objects, which are input by a user and obtained by abstracting a container to be deployed; the load balancing object is used for recording the entrance information of the container to be deployed; the service object is used for recording the information of the deployment components forming the container to be deployed; the storage object is used for storing the information of the data of the deployment component;
the arranging unit is suitable for arranging the load balancing objects, the service objects and the storage objects based on the information of the incidence relation among the load balancing objects, the service objects and the storage objects of the container to be deployed to generate a container arranging task file corresponding to the container to be deployed;
the generating unit is suitable for generating corresponding arranging subtask files based on the generated container arranging task files;
and the execution unit is suitable for executing the generated scheduling subtask file so as to deploy the container to be deployed to the corresponding server.
Optionally, the generating unit is adapted to split the container arrangement task file to obtain a plurality of corresponding arrangement subtask files.
Optionally, the generating unit is further adapted to, before splitting the container orchestration task file, perform validity check on the container orchestration task file, and execute the operation of splitting the container orchestration task file when the check passes.
Optionally, the executing unit is further adapted to, before executing the generated layout subtask file, perform validity check on the layout subtask file to be executed, and execute the layout subtask file when the validity check on the layout subtask file to be executed passes.
An embodiment of the present invention further provides a computer-readable storage medium, on which computer instructions are stored, where the computer instructions, when executed, perform the steps of the container deployment method described in any one of the above.
The embodiment of the present invention further provides a terminal, which includes a memory and a processor, where the memory stores computer instructions capable of being executed on the processor, and the processor executes the steps of any one of the container deployment methods when executing the computer instructions.
Compared with the prior art, the technical scheme of the invention has the following beneficial effects:
according to the scheme, the load balancing object, the service object, the storage object and the information of the incidence relation among the load balancing object, the service object, the storage object and the three are obtained by abstracting the container to be deployed and input by a user, the container arrangement task file corresponding to the container to be deployed is generated by arranging the load balancing object, the service object and the storage object based on the information of the incidence relation among the load balancing object, the service object and the storage object of the container to be deployed, the corresponding arrangement subtask file is generated based on the generated container arrangement task file, and the generated arrangement subtask file is executed finally, so that the container to be deployed is deployed to the corresponding server, and only the user needs to input the information of the incidence relation among the load balancing object, the service object, the storage object and the three obtained by abstracting the container to be deployed in the container deployment process, and complicated parameters, service calling relations and the like do not need to be input for configuration, so that the operation of container deployment can be simplified, and the use experience of a user is improved.
Drawings
FIG. 1 is a flow chart of a method of container deployment in an embodiment of the present invention;
FIG. 2 is a flow chart of another method for deploying a container in an embodiment of the invention;
fig. 3 is a schematic structural diagram of a container deployment device in an embodiment of the invention.
Detailed Description
As the background art shows, the container deployment method in the prior art has the problem of cumbersome operation, which seriously affects the user experience.
In order to solve the above problems in the prior art, in the technical scheme adopted in the embodiment of the present invention, information of an association relationship among a load balancing object, a service object, a storage object, and the like obtained by abstracting a container to be deployed and input by a user is obtained, the load balancing object, the service object, the storage object, and the like are arranged based on the information of the association relationship among the load balancing object, the service object, and the storage object of the container to be deployed, a container arrangement task file corresponding to the container to be deployed is generated, a corresponding arrangement subtask file is generated based on the generated container arrangement task file, and finally the generated arrangement subtask file is executed, so that the container to be deployed is deployed on a corresponding server The service object, the storage object and the information of the incidence relation among the service object, the storage object and the storage object do not need to input complicated parameters, service calling relation and the like for configuration, so that the operation of container deployment can be simplified, and the use experience of a user is improved.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 1 shows a flow chart of a container deployment method in an embodiment of the invention. The container deployment method shown in fig. 1 may specifically include the following operations:
step S101: and acquiring the load balancing object, the service object, the storage object and the information of the incidence relation among the load balancing object, the service object and the storage object, which are input by a user and obtained by abstracting the container to be deployed.
In a specific implementation, the load balancing object is configured to expose information of an entry of the container to be deployed, and a user may access the container deployed on a corresponding server through the entry; the service object is used for storing the deployment components for forming the container to be deployed, namely the components obtained by splitting the container to be deployed; the storage object is used for storing permanent or temporary data of the deployment components forming the container to be deployed.
In a specific implementation, the load balancing object, the service object, the storage object, and an association relationship among the three are dependency relationships and sequential execution relationships among the load balancing object, the service object, and the storage object. When the input data of one object is the output data of another object, the two objects are in a dependency relationship; when one object needs to wait for the other object to finish executing, the two objects are in a sequential execution relation.
Step S102: arranging the load balancing objects, the service objects and the storage objects based on the information of the incidence relation among the load balancing objects, the service objects and the storage objects of the container to be deployed, and generating a container arrangement task file corresponding to the container to be deployed.
In specific implementation, the container scheduling task file corresponding to the container to be deployed includes information of a deployment step of deploying the container to be deployed. The execution relation among the deployment steps is set according to the incidence relation among the load balancing object, the service object and the storage object of the container to be deployed.
Step S103: and generating a corresponding arranging subtask file based on the generated container arranging task file.
In a specific implementation, the scheduling subtask file is obtained by further splitting the container scheduling task file. In other words, the container deployment tasks in the orchestration subtask file are components of the tasks in the container orchestration task file.
Step S104: and executing the generated editing subtask file to deploy the container to be deployed to the corresponding server.
In a specific implementation, the server is a host of the container to be deployed. The resource configuration of the server, such as the memory of the remaining container, the openable port, the writable directory and the like, meets the deployment requirement of the container to be deployed.
In a specific implementation, the number of servers to deploy the container to be deployed may be set according to an actual need, such as 1 or more, and a person skilled in the art may set according to an actual need, which is not limited herein.
According to the scheme, the load balancing object, the service object, the storage object and the information of the incidence relation among the load balancing object, the service object, the storage object and the three are obtained by abstracting the container to be deployed and input by a user, the container arrangement task file corresponding to the container to be deployed is generated by arranging the load balancing object, the service object and the storage object based on the information of the incidence relation among the load balancing object, the service object and the storage object of the container to be deployed, the corresponding arrangement subtask file is generated based on the generated container arrangement task file, and the generated arrangement subtask file is executed finally, so that the container to be deployed is deployed to the corresponding server, and only the user needs to input the information of the incidence relation among the load balancing object, the service object, the storage object and the three obtained by abstracting the container to be deployed in the container deployment process, and complicated parameters, service calling relations and the like do not need to be input for configuration, so that the operation of container deployment can be simplified, and the use experience of a user is improved.
The container deployment method in the embodiment of the present invention will be described in further detail with reference to fig. 2, but is not limited to this in practical application.
Referring to fig. 2, in the container deployment method in the embodiment of the present invention, when container deployment is performed, a user (or referred to as a container deployment person) is first required to perform analysis and logical abstraction on an application framework of a container to be deployed, so as to obtain three types of object data of a load balancing object, a service object, and a storage object corresponding to the container to be deployed, and an association relationship between the three types of object data. When three types of object data, namely a load balancing object, a service object and a storage object, of a container to be deployed and an association relationship among the three types of object data are obtained through logical abstraction, the container deployment method in the embodiment of the present invention may use a corresponding user interface to obtain three types of object data, namely, load balancing object, service object and storage object data, corresponding to the container to be deployed and information of the association relationship among the three types of object data, that is, step S201 is executed to obtain information of the load balancing object, service object, storage object and the association relationship among the three types of object data, which is obtained by abstracting the container to be deployed and is input by a user.
For example, for container deployment of a reduced version of the Platform-as-a-Service (PaaS) Platform, the deployment components include two tommy cats, i.e., PaaS-web and PaaS-server, a Zookeeper Service registry, RabbitMQ messaging middleware, and a Mysql database. When the container of the platform is logically abstracted, the corresponding load balancing object is used for recording information of an access entrance of the platform, namely a service platform, the service object comprises a PaaS-web Tom cat component, a PaaS-server Tom cat component, a Zookeeper service registration center component, a RabbitMQ message middleware component and a Mysql database component, and the storage object comprises temporary data and permanent data of the 5 deployment components, namely the PaaS-web Tom cat component, the PaaS-server Tom cat component, the Zookeeper service registration center component, the RabbitMQ message middleware component and the Mysql database component.
When the load balancing object, the service object, the storage object corresponding to the container to be deployed and the information of the association relationship among the three types of objects input by the user are acquired, the load balancing object, the service object, the storage object corresponding to the container to be deployed and the information of the association relationship among the three types of objects, which are acquired and input by the user, may be stored in the database, and step S202 may be executed to schedule the load balancing object, the service object and the storage object based on the information of the association relationship among the load balancing object, the service object and the storage object of the container to be deployed and generate a container scheduling task file corresponding to the container to be deployed.
By executing step S202, under the condition that the user does not perceive, through the association relationship among the load balancing object, the service object, and the storage object of the container to be deployed, the three types of object data of the load balancing object, the service object, and the storage object of the container to be deployed are organically combined, so as to automatically generate the container arrangement task file for deploying the container to be deployed. The container scheduling task file comprises information of tasks, namely deployment steps, which need to be executed to complete the deployment work of the container to be deployed, so that the container to be deployed is deployed to a corresponding server by executing the deployment steps in the container scheduling task file in the following.
After the step S202 is completed, step S203 may be executed to acquire a container arrangement task file corresponding to the container to be deployed, and perform validity check on the acquired container arrangement task file. In the step, the validity of the acquired container scheduling task file is verified, so that the integrity and the accuracy of data can be ensured, and the accuracy of container deployment operation can be improved.
When the validity check of the acquired container arrangement task file fails, step S204 may be executed to output corresponding error prompt information, so that the user may acquire the error prompt information that the validity check of the acquired container arrangement task file fails, to take corresponding measures to eliminate the error, and to ensure smooth container deployment operation.
When the validity check of the acquired container scheduling task file passes, step S205 may be executed to split the container scheduling task file into a plurality of corresponding scheduling subtask files. The method includes the steps of splitting the container arrangement task file into a plurality of corresponding arrangement subtask files, namely splitting one or more deployment tasks which cannot be directly executed in the container arrangement task file into a plurality of corresponding arrangement subtask files, and obtaining a plurality of corresponding arrangement subtask files, namely the arrangement subtask files. Wherein each subtask of each orchestration subtask file is an atomic operation.
After the container orchestration task file is split into the corresponding orchestration sub-task files through step S205, step S206 may be performed to schedule the generated orchestration sub-task files. Specifically, when scheduling the generated multiple container deployment tasks, the multiple scheduling sub-task files generated in step S205 may be scheduled according to the relationship between the tasks in the container scheduling file generated in step S202. For the deployment tasks of the deployment components with dependency relationships, scheduling the corresponding scheduling subtask files according to a sequence; for the deployment tasks corresponding to the deployment components which are not purely in the dependency relationship, a plurality of corresponding scheduling subtask files can be scheduled in parallel, so that the efficiency is improved.
Finally, step S207 may be executed to execute the issued orchestration subtask file, so as to deploy the container to be deployed to the corresponding server. In an embodiment of the present invention, when executing the issued container deployment subtasks, each issued subtask file may be analyzed by using a container management frame kubernets, so as to complete a specific deployment operation. When the execution of each scheduling subtask file is finished, corresponding execution result information is output, such as different status codes are returned, so as to determine whether to interrupt or continue the scheduling behavior of the current scheduling subtask file subsequently.
In an embodiment of the present invention, in order to schedule the data integrity and accuracy of the subtask file, so as to improve the accuracy of the container deployment operation, the validity of the scheduled scheduling subtask file may be checked before each scheduled container deployment subtask is executed, and step S207 is executed when the check is passed; otherwise, outputting corresponding error prompt information so that the deployment personnel can acquire the information that the legality verification of the scheduled scheduling subtask file fails, and taking corresponding measures.
The container deployment method in the embodiment of the present invention is described in detail above, and apparatuses corresponding to the method are described below.
Fig. 3 illustrates the structure of a container deployment device in an embodiment of the invention. Referring to fig. 3, a container deployment apparatus 30 may include an acquisition unit 301, an orchestration unit 302, a generation unit 303, and an execution unit 304, wherein:
the obtaining unit 301 is adapted to obtain a load balancing object, a service object, a storage object and information of an association relationship among the load balancing object, the service object, the storage object and the storage object, which are obtained by abstracting a container to be deployed and are input by a user; the load balancing object is used for recording the entrance information of the container to be deployed; the service object is used for recording the information of the deployment components forming the container to be deployed; the storage object is used for storing the information of the data of the deployment component;
the arranging unit 302 is adapted to arrange the load balancing object, the service object and the storage object based on the information of the association relationship among the load balancing object, the service object and the storage object of the container to be deployed, and generate a container arranging task file corresponding to the container to be deployed;
the generating unit 303 is adapted to generate a corresponding layout subtask file based on the generated container layout task file. In a specific implementation, the generating unit 303 is adapted to split the container orchestration task file to obtain a plurality of corresponding orchestration subtask files. In an embodiment of the present invention, the generating unit 303 is further adapted to, before splitting the container scheduling task file, perform validity check on the container scheduling task file, and execute the operation of splitting the container scheduling task file when the check is passed.
The execution unit 304 is adapted to execute the generated orchestration subtask file to deploy the container to be deployed to a corresponding server. In an embodiment of the present invention, the executing unit 304 is further adapted to, before executing the generated layout subtask file, perform validity check on the layout subtask file to be executed, and execute the layout subtask file when the validity check on the layout subtask file to be executed passes.
The embodiment of the invention also provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions execute the steps of the container deployment method when running. For the container deployment method, reference is made to the detailed description of the foregoing section, which is not repeated.
The embodiment of the invention also provides a terminal, which comprises a memory and a processor, wherein the memory is stored with computer instructions capable of running on the processor, and the processor executes the steps of the container deployment method when running the computer instructions. For the container deployment method, reference is made to the detailed description of the foregoing section, which is not repeated.
By adopting the scheme in the embodiment of the invention, the load balancing object, the service object, the storage object and the information of the incidence relation among the load balancing object, the service object and the storage object, which are obtained by abstracting the container to be deployed and input by a user, are obtained, the load balancing object, the service object and the storage object are arranged based on the information of the incidence relation among the load balancing object, the service object and the storage object of the container to be deployed, the container arrangement task file corresponding to the container to be deployed is generated, then the corresponding arrangement subtask file is generated based on the generated container arrangement task file, and finally the generated arrangement subtask file is executed, so that the container to be deployed is deployed on the corresponding server The information of the object and the incidence relation among the object and the object is stored, and complicated parameters, service calling relations and the like do not need to be input for configuration, so that the operation of container deployment can be simplified, and the use experience of a user is improved.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by instructions associated with hardware via a program, which may be stored in a computer-readable storage medium, and the storage medium may include: ROM, RAM, magnetic or optical disks, and the like.
The method and system of the embodiments of the present invention have been described in detail, but the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method of deploying a container, comprising:
acquiring load balancing objects, service objects, storage objects and information of incidence relations among the load balancing objects, the service objects and the storage objects, wherein the load balancing objects, the service objects and the storage objects are obtained by abstracting containers to be deployed and are input by users; the load balancing object is used for recording the entrance information of the container to be deployed; the service object is used for recording the information of the deployment components forming the container to be deployed; the storage object is used for storing the information of the data of the deployment component;
arranging the load balancing objects, the service objects and the storage objects based on the information of the incidence relation among the load balancing objects, the service objects and the storage objects of the container to be deployed to generate a container arrangement task file corresponding to the container to be deployed;
generating a corresponding arrangement subtask file based on the generated container arrangement task file;
when the generated multiple container deployment tasks are scheduled, scheduling the generated multiple scheduling subtasks according to the relationship among the tasks in the generated container scheduling task file;
and executing the generated editing subtask file to deploy the container to be deployed to the corresponding server.
2. The container deployment method according to claim 1, wherein generating a corresponding orchestration subtask file based on the generated container orchestration task file comprises:
and splitting the container arrangement task file to obtain a plurality of corresponding arrangement subtask files.
3. The container deployment method of claim 2, further comprising, prior to splitting the container orchestration task file:
and carrying out validity check on the container arrangement task file, and executing the operation of splitting the container arrangement task file when the check is passed.
4. The container deployment method of claim 3, wherein prior to executing the generated orchestration subtask file, further comprising:
and carrying out validity check on the to-be-executed arrangement subtask file, and executing the arrangement subtask file when the validity check of the to-be-executed arrangement subtask file passes.
5. A container deployment apparatus, comprising:
the system comprises an acquisition unit, a deployment unit and a deployment unit, wherein the acquisition unit is suitable for acquiring load balancing objects, service objects, storage objects and information of incidence relations among the load balancing objects, the service objects, the storage objects and the storage objects, which are input by a user and obtained by abstracting a container to be deployed; the load balancing object is used for recording the entrance information of the container to be deployed; the service object is used for recording the information of the deployment components forming the container to be deployed; the storage object is used for storing the information of the data of the deployment component;
the arranging unit is suitable for arranging the load balancing objects, the service objects and the storage objects based on the information of the incidence relation among the load balancing objects, the service objects and the storage objects of the container to be deployed to generate a container arranging task file corresponding to the container to be deployed;
the generating unit is suitable for generating corresponding arranging subtask files based on the generated container arranging task files;
the execution unit is suitable for scheduling the generated multiple container deployment tasks, scheduling the generated multiple scheduling subtasks according to the relationship among the tasks in the generated container scheduling task file; and executing the generated editing subtask file to deploy the container to be deployed to the corresponding server.
6. The container deployment device according to claim 5, wherein the generating unit is adapted to split the container orchestration task file to obtain a plurality of corresponding orchestration subtask files.
7. The container deployment device according to claim 6, wherein the generating unit is further adapted to perform a validity check on the container orchestration task file before splitting the container orchestration task file, and perform the operation of splitting the container orchestration task file when the check is passed.
8. The container deployment device according to claim 7, wherein the executing unit is further adapted to perform a validity check on the to-be-executed orchestration subtask file before executing the generated orchestration subtask file, and execute the orchestration subtask file when the validity check on the to-be-executed orchestration subtask file passes.
9. A computer readable storage medium having stored thereon computer instructions, wherein the computer instructions when executed perform the steps of the container deployment method of any of claims 1 to 4.
10. A terminal, comprising a memory having stored thereon computer instructions capable of being executed on the processor, and a processor that, when executing the computer instructions, performs the steps of the container deployment method of any of claims 1 to 4.
CN201810088111.0A 2018-01-30 2018-01-30 Container deployment method and device, computer storage medium and terminal Active CN108429787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810088111.0A CN108429787B (en) 2018-01-30 2018-01-30 Container deployment method and device, computer storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810088111.0A CN108429787B (en) 2018-01-30 2018-01-30 Container deployment method and device, computer storage medium and terminal

Publications (2)

Publication Number Publication Date
CN108429787A CN108429787A (en) 2018-08-21
CN108429787B true CN108429787B (en) 2021-06-08

Family

ID=63156163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810088111.0A Active CN108429787B (en) 2018-01-30 2018-01-30 Container deployment method and device, computer storage medium and terminal

Country Status (1)

Country Link
CN (1) CN108429787B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984396A (en) * 2019-05-24 2020-11-24 上海擎感智能科技有限公司 Load balancing method, system, medium and equipment of high-availability network architecture
CN110532075A (en) * 2019-08-09 2019-12-03 济南浪潮数据技术有限公司 The implementation method and device of stateful load
CN111274000B (en) * 2020-01-21 2023-01-10 苏州浪潮智能科技有限公司 Service arrangement method and device, electronic equipment and storage medium
CN113141405B (en) * 2021-04-23 2022-11-15 北京奇艺世纪科技有限公司 Service access method, middleware system, electronic device, and storage medium
CN115576534B (en) * 2022-09-30 2024-02-20 北京百度网讯科技有限公司 Method and device for arranging atomic service, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364288A (en) * 2008-09-03 2009-02-11 于万钦 Method for constructing BOM container based on SOA architecture
CN101957794B (en) * 2010-09-21 2012-05-23 中国科学院软件研究所 Deployment constraint automatic detection method for Web application
US10230571B2 (en) * 2014-10-30 2019-03-12 Equinix, Inc. Microservice-based application development framework
US9582268B2 (en) * 2015-05-27 2017-02-28 Runnable Inc. Automatic communications graphing for a source application
US20170085419A1 (en) * 2015-09-18 2017-03-23 Le Holdings (Beijing) Co., Ltd. System and method for deploying an application
CN106020930B (en) * 2016-05-13 2019-07-23 深圳市中润四方信息技术有限公司 A kind of application management method and system based on application container
CN106506587B (en) * 2016-09-23 2021-08-06 中国人民解放军国防科学技术大学 Docker mirror image downloading method based on distributed storage
CN107016059A (en) * 2017-03-10 2017-08-04 北京聚睿智能科技有限公司 A kind of data-base cluster dispositions method, device and physical server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Docker可视化管理工具Shipyard安装与配置;garyond;《https://www.jianshu.com/p/497615077c71》;20180106;全文 *

Also Published As

Publication number Publication date
CN108429787A (en) 2018-08-21

Similar Documents

Publication Publication Date Title
CN108429787B (en) Container deployment method and device, computer storage medium and terminal
US20210311858A1 (en) System and method for providing a test manager for use with a mainframe rehosting platform
US9032373B1 (en) End to end testing automation and parallel test execution
CN105453040B (en) The method and system of data flow is handled in a distributed computing environment
US10146674B2 (en) Plugin-based software verification system
Jain et al. Performance analysis of various server hosting techniques
US20230401058A1 (en) Semantic functional wrappers of services
CN114818565A (en) Simulation environment management platform, method, equipment and medium based on python
WO2022100439A1 (en) Workflow patching
US10530892B2 (en) Processing request for multi-versioned service
US11714615B2 (en) Application migration using cost-aware code dependency graph
Harichane et al. KubeSC‐RTP: Smart scheduler for Kubernetes platform on CPU‐GPU heterogeneous systems
CN114006815B (en) Automatic deployment method and device for cloud platform nodes, nodes and storage medium
US10534640B2 (en) System and method for providing a native job control language execution engine in a rehosting platform
US11726778B2 (en) Translating clusters of a monolith application to microservices
CN115769191A (en) Managing asynchronous operations in a cloud computing environment
Buchert et al. A workflow-inspired, modular and robust approach to experiments in distributed systems
CN113037582A (en) Network Function Virtualization (NFV) test method, device and system
Venugopal et al. Serverless through cloud native architecture
CN117112184B (en) Task scheduling service method and system based on container technology
CN114647464B (en) Application parallel starting processing method and device and electronic equipment
US11907108B2 (en) Generating workloads for system verification
Marshall et al. Ensemble dispatching on an IBM Blue Gene/L for a bioinformatics knowledge environment
US11640552B2 (en) Two stage training to obtain a best deep learning model with efficient use of computing resources
Sun et al. V-mcs: A configuration system for virtual machines

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210819

Address after: 100803 No. 57 West Street, Xicheng District, Beijing, Xuanwumen

Patentee after: CHINA ECONOMIC INFORMATION SERVICE Co.,Ltd.

Address before: 100803 No. 57 West Street, Xicheng District, Beijing, Xuanwumen

Patentee before: ZHONGJINGSHE HOLDINGS Ltd.