CN108429787A - Container dispositions method and device, computer storage media, terminal - Google Patents
Container dispositions method and device, computer storage media, terminal Download PDFInfo
- Publication number
- CN108429787A CN108429787A CN201810088111.0A CN201810088111A CN108429787A CN 108429787 A CN108429787 A CN 108429787A CN 201810088111 A CN201810088111 A CN 201810088111A CN 108429787 A CN108429787 A CN 108429787A
- Authority
- CN
- China
- Prior art keywords
- container
- layout
- file
- deployment
- subtask
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5072—Grid computing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5083—Techniques for rebalancing the load in a distributed system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5041—Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
- H04L41/5045—Making service definitions prior to deployment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5017—Task decomposition
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
A kind of container dispositions method and device, computer storage media, terminal, the method includes:Obtain the information input by user for treating the incidence relation between load balancing object, service object, storage object and the three that deployment container is abstracted;Information based on the incidence relation between the load balancing object for waiting for deployment container, service object, storage object, layout is carried out to the load balancing object, service object and storage object, the corresponding container layout assignment file of deployment container is waited for described in generation;Based on the container layout assignment file generated, corresponding layout subtask file is generated;Generated layout subtask file is executed, waits for that deployment container is deployed on corresponding server by described.Above-mentioned scheme can simplify the deployment operation of container, improve the efficiency of container deployment.
Description
Technical field
The present invention relates to container deployment techniques fields, are deposited more particularly to a kind of container dispositions method and device, computer
Storage media, terminal.
Background technology
Container is to use sandbox mechanism completely, does not have any interface between each other, can be very almost without performance cost
Easily run in machine and data center.Most of all, they are independent of any language, frame including system.
The application container engine Docker to increase income, allow developer can be packaged they application and rely on packet can to one
In the container of transplanting, then it is published on the Linux machines of any prevalence, can also realizes virtualization.With Docker technologies
Popularization in cloud computing, more and more application services start deployment in a reservoir.
But existing container dispositions method, there is it is cumbersome, deployment inefficiency the problem of.
Invention content
The technical issues of embodiment of the present invention solves is how to simplify the deployment operation of container, improves the effect of container deployment
Rate.
To solve the above problems, an embodiment of the present invention provides a kind of container dispositions method, the method includes:
Obtain it is input by user treat load balancing object, service object, storage object that deployment container is abstracted and
The information of incidence relation between three;The load balancing object is used to record the access information for waiting for deployment container;Institute
State information of the service object for recording the deployment component for waiting for deployment container described in composition;The storage object is described for storing
Dispose the information of the data of component;
It is right based on the information of the incidence relation between the load balancing object for waiting for deployment container, service object, storage object
The load balancing object, service object and storage object carry out layout, and the corresponding container layout of deployment container is waited for described in generation
Assignment file;
Based on the container layout assignment file generated, corresponding layout subtask file is generated;
Generated layout subtask file is executed, waits for that deployment container is deployed on corresponding server by described.
Optionally, described that corresponding layout subtask file is generated based on the container layout assignment file generated, packet
It includes:
The container layout assignment file is split, corresponding multiple layout subtasks file is obtained.
Optionally, before being split the container layout assignment file, further include:
Legitimacy verifies are carried out to the container layout assignment file, and are executed when verification passes through described by the container layout
The operation that assignment file is split.
Optionally, before the generated layout subtask file of the execution, further include:
Legitimacy verifies are carried out to pending layout subtask file, and to the legal of pending layout subtask file
Property verification when passing through, execute layout subtask file.
The embodiment of the present invention additionally provides a kind of container deployment device, and described device includes:
Acquiring unit input by user treated load balancing object that deployment container be abstracted, is serviced pair suitable for obtaining
As the information of the incidence relation between, storage object and three;The load balancing object waits for deployment container described in being used to record
Access information;The service object is used to record the information for the deployment component that deployment container is waited for described in composition;The storage pair
As the information of the data for storing the deployment component;
Arranging unit, suitable for based on the association between the load balancing object for waiting for deployment container, service object, storage object
The information of relationship carries out layout to the load balancing object, service object and storage object, deployment container pair is waited for described in generation
The container layout assignment file answered;
Generation unit, suitable for based on the container layout assignment file generated, generating corresponding layout subtask file;
Execution unit is adapted for carrying out generated layout subtask file, waits for that deployment container is deployed to corresponding clothes by described
It is engaged on device.
Optionally, the generation unit obtains corresponding multiple suitable for splitting the container layout assignment file
Layout subtask file.
Optionally, the generation unit is further adapted for before being split the container layout assignment file, to described
Container layout assignment file carries out legitimacy verifies, and execute when verification passes through it is described by the container layout assignment file into
The operation that row is split.
Optionally, the execution unit is further adapted for before executing generated layout subtask file, to pending
Layout subtask file carries out legitimacy verifies, and to the legitimacy verifies of pending layout subtask file by when,
Execute layout subtask file.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored thereon with computer instruction, described
The step of computer instruction executes container dispositions method described in any one of the above embodiments when running.
The embodiment of the present invention additionally provides a kind of terminal, including memory and processor, and energy is stored on the memory
Enough computer instructions run on the processor, the processor execute any of the above-described when running the computer instruction
The step of described container dispositions method.
Compared with prior art, technical scheme of the present invention has advantageous effect below:
Above-mentioned scheme treats load balancing object, the service that deployment container is abstracted by the way that acquisition is input by user
The information of incidence relation between object, storage object and three, and based on the load balancing object for waiting for deployment container, clothes
The information for the incidence relation being engaged between object, storage object carries out the load balancing object, service object and storage object
Layout, waits for the corresponding container layout assignment file of deployment container described in generation, then based on the container layout assignment file generated,
Corresponding layout subtask file is generated, generated layout subtask file is finally executed, to wait for deployment container by described
It is deployed on corresponding server, is abstracted to obtain because only needing user's input to treat deployment container during container deployment
Load balancing object, service object, incidence relation between storage object and three information, without inputting cumbersome ginseng
Number and service call relation etc. are configured, therefore can simplify the operation of container deployment, improve the usage experience of user.
Description of the drawings
Fig. 1 is a kind of flow chart of container dispositions method in the embodiment of the present invention;
Fig. 2 is the flow chart of another container dispositions method in the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of container deployment device in the embodiment of the present invention.
Specific implementation mode
Just as described in the background art, container dispositions method in the prior art has cumbersome, serious shadow
The usage experience of user is rung.
To solve the above-mentioned problems in the prior art, technical solution used in the embodiment of the present invention is by obtaining user
The pass of input treated between load balancing object, service object, storage object and the three that deployment container is abstracted
The information of connection relationship, and closed based on the association between the load balancing object for waiting for deployment container, service object, storage object
The information of system carries out layout to the load balancing object, service object and storage object, waits for that deployment container corresponds to described in generation
Container layout assignment file, then based on the container layout assignment file generated, generate corresponding layout subtask file, most
Generated layout subtask file is executed afterwards, to wait for that deployment container is deployed on corresponding server by described, because holding
User is only needed to input the load balancing object treated deployment container and be abstracted, service object, deposit during device deployment
The information for storing up the incidence relation between object and three is matched without inputting cumbersome parameter and service call relation etc.
It sets, therefore the operation of container deployment can be simplified, improve the usage experience of user.
To make the above purposes, features and advantages of the invention more obvious and understandable, below in conjunction with the accompanying drawings to the present invention
Specific embodiment be described in detail.
Fig. 1 shows a kind of flow chart of container dispositions method in the embodiment of the present invention.Container deployment as shown in Figure 1
Method can specifically include following operation:
Step S101:It obtains and input by user treat load balancing object that deployment container is abstracted, service object, deposits
Store up the information of the incidence relation between object and three.
In specific implementation, the load balancing object, the information of the entrance for waiting for deployment container described in exposure, passes through
The portal users can access the container being deployed on corresponding server;The service object, for storing described in composition
Wait for the deployment component of deployment container, i.e., the composition component that will wait for that deployment container is split;The storage object, for depositing
The off permanently or temporarily data of the deployment component of deployment container are waited for described in storage composition.
In specific implementation, the incidence relation between the load balancing object, service object, storage object and three,
Relationship is executed for the load balancing object, service object and the mutual dependence of storage object and sequence.Wherein, one
It is dependence when the input data of a object is the output data of another pair elephant, between two object;When an object needs
When waiting for another pair that can be executed as being finished, relationship is executed for sequence between two object.
Step S102:Based on the pass between load balancing object, service object and the storage object for waiting for deployment container
The information of connection relationship carries out layout to the load balancing object, service object and storage object, deployment container is waited for described in generation
Corresponding container layout assignment file.
In specific implementation, described to wait for that the corresponding container layout assignment file of deployment container includes waiting disposing described in deployment
The information of the deploying step of container.Wherein, the execution relationship between the deploying step is with the load for waiting for deployment container
Incidence relation between balanced object, service object, storage object is that foundation is set.
Step S103:Based on the container layout assignment file generated, corresponding layout subtask file is generated.
In specific implementation, layout subtask file is further to be split to the container layout assignment file
It obtains.In other words, the container deployment task in the file of the layout subtask is the task in the container layout assignment file
Component part.
Step S104:Generated layout subtask file is executed, waits for that deployment container is deployed to corresponding clothes by described
It is engaged on device.
In specific implementation, the server is the host for waiting for deployment container.Wherein, the resource of the server
Configuration, such as residue container memory, can open port and writeable catalogue, meet the deployment request for waiting for deployment container.
In specific implementation, disposing the quantity of the server for waiting for deployment container can be set according to the actual needs
It is fixed, such as 1 or multiple, those skilled in the art can set according to the actual needs, not be limited herein.
Above-mentioned scheme, by obtain it is input by user treat load balancing object that deployment container is abstracted,
The information of incidence relation between service object, storage object and three, and based on the load balancing pair for waiting for deployment container
As the information of the incidence relation between, service object, storage object, to the load balancing object, service object and storage pair
As carrying out layout, the corresponding container layout assignment file of deployment container is waited for described in generation, then appoint based on the container layout generated
Business file, generates corresponding layout subtask file, finally executes generated layout subtask file, to wait for portion by described
Administration's container is deployed on corresponding server, is taken out because only needing user's input to treat deployment container during container deployment
It is numerous without inputting as the information of the incidence relation between obtained load balancing object, service object, storage object and three
Trivial parameter and service call relation etc. are configured, therefore can simplify the operation of container deployment, improve the usage experience of user.
Below in conjunction with Fig. 2 to the further details of introduction of container dispositions method progress in the embodiment of the present invention, but
It is not limited to this in practical application.
Referring to Fig. 2, a kind of container dispositions method in the embodiment of the present invention, when carrying out container deployment, it is necessary first to use
Family(Or referred to as container disposes personnel)The application framework for treating deployment container carries out parsing and logical abstraction, to obtain waiting for portion
Between the corresponding load balancing object of administration's container, service object and storage object three classes object data and three classes object data
Incidence relation.When load equilibrium object, service object and the storage object three classes pair for obtaining waiting for deployment container by logical abstraction
When incidence relation between image data and three classes object data, the container dispositions method in the embodiment of the present invention may be used
Corresponding user interface obtains this and waits for the balanced object of the corresponding load of deployment container, service object and storage object three classes number of objects
According to and three classes object data between incidence relation information, namely execute step S201, obtain and input by user treats portion
The information of incidence relation between load balancing object, service object, storage object and three that administration's container is abstracted.
For example, the platform for a simplified version services(Platform-as-a-Service, PaaS)The container of platform
For deployment, deployment component includes two tom cats, i.e. PaaS-web and PaaS-server, a Zookeeper service note
Volume center, a RabbitMQ message-oriented middleware and a Mysql database.Logic pumping is carried out in the container to above-mentioned platform
As when, corresponding load balancing object is used to record the information of the platform i.e. access entrance of service platform, and service object includes
PaaS-web tom cats component, PaaS-server tom cats component, Zookeeper service register centers component, RabbitMQ disappear
Middleware component and Mysql database components are ceased, storage object includes above-mentioned 5 deployment component, i.e. PaaS-web tom cats group
Part, PaaS-server tom cats component, Zookeeper service register centers component, RabbitMQ message-oriented middlewares component and
The provisional data and permanent data of Mysql database components.
Get it is input by user wait for the corresponding load balancing object of deployment container, service object, storage object, and
When the information of the incidence relation between three class objects, it can will get and input by user wait for the corresponding load balancing of deployment container
In the information storage to database of incidence relation between object, service object, storage object and three class objects, and can be with
Step S202 is executed, based on the incidence relation between the load balancing object for waiting for deployment container, service object, storage object
Information, layout is carried out to the load balancing object, service object and storage object, waits for that deployment container is corresponding described in generation
Container layout assignment file.
It, can be in the case of user's unaware, by the load balancing pair for waiting for deployment container by executing step S202
As the incidence relation between, service object, storage object, load balancing object, service object and the storage pair of deployment container are waited for
As three classes object data progress organic assembling, to be automatically generated for waiting for that the container layout that deployment container is disposed is appointed to this
Business file.Wherein, the container layout assignment file includes completing required times executed that map out the work for waiting for deployment container
Business, the i.e. information of deploying step, subsequently through the deploying step in executing the container layout assignment file, this is waited for portion
Administration's container is deployed on corresponding server.
After step S202 is finished, step S203 can be executed, waits for that the corresponding container of deployment container is compiled described in acquisition
Assignment file is arranged, and legitimacy verifies are carried out to acquired container layout assignment file.This step passes through to acquired appearance
Device layout assignment file carries out legitimacy verifies, it can be ensured that the integrality and accuracy of data, so as to improve container portion
Affix one's name to the accuracy of operation.
When to the legitimacy verifies of acquired container layout assignment file not by when, step S204 can be executed, it is defeated
Go out corresponding miscue information so that user can obtain to the legitimacy verifies of acquired container layout assignment file not
By miscue information, with take appropriate measures eliminate the mistake, it is ensured that container deployment operation is smoothed out.
When to the legitimacy verifies of acquired container layout assignment file by when, step S205 can be executed, by institute
It states container layout assignment file and is split as corresponding multiple layout subtasks file.Wherein, by the container layout assignment file
Be split as corresponding multiple layout subtasks file, also i.e. by the one or more in the container layout assignment file can not
The deployment task directly executed is split to obtain corresponding multiple subtasks that can directly execute respectively, to be corresponded to
Multiple layout subtasks file namely layout subtask file.Wherein, each subtask of each layout subtask file
For an atomic operation.
It, can be with after container layout assignment file is split as corresponding multiple layout subtasks file by step S205
Step S206 is executed, the multiple layout subtasks file generated is scheduled.Specifically, in the multiple containers to being generated
It, can be according to the pass between executing in the container organization file that step S202 is generated for task when deployment task is scheduled
System, is scheduled the multiple layout subtasks file generated in corresponding step S205.Wherein, for there are dependences
The deployment task of component is disposed, needs to be scheduled in sequence between the file of corresponding layout subtask;For it is impure according to
The corresponding deployment task of deployment component for the relationship of relying, corresponding multiple layout subtasks file can be with Parallel Schedulings, to improve effect
Rate.
Finally, step S207 can be executed, the layout subtask file issued is executed, waits for that deployment container is disposed by described
Onto corresponding server.In an embodiment of the present invention, when executing the container issued deployment subtask, container may be used
Governance framework kubernetes parses each layout subtask file issued, completes specific deployment operation.Wherein, each
When layout subtask file is finished, by the corresponding execution result information of output, such as different conditional codes is returned to, with true
The fixed follow-up scheduling behavior whether interrupted or continue current layout subtask file.
In an embodiment of the present invention, for the data integrity and accuracy of layout subtask file, so as to carry
The accuracy of high container deployment operation, can be before executing each scheduled container deployment subtask, to scheduled volume
Arrange subtask file and carry out legitimacy verifies, and verification by when execute step S207;It is carried conversely, then exporting corresponding mistake
Show information, so that deployment personnel can know the unsanctioned letter of legitimacy verifies to scheduled layout subtask file
Breath, to take appropriate measures.
The above-mentioned container dispositions method in the embodiment of the present invention is described in detail, below will be to above-mentioned method
Corresponding device is introduced.
Fig. 3 shows a kind of structure of the deployment device of container in the embodiment of the present invention.Referring to Fig. 3, a kind of container deployment
Device 30 may include acquiring unit 301, arranging unit 302, generation unit 303 and execution unit 304, wherein:
The acquiring unit 301, suitable for obtain it is input by user treat load balancing object that deployment container is abstracted,
The information of incidence relation between service object, storage object and three;The load balancing object waits for portion described in being used to record
Affix one's name to the access information of container;The service object is used to record the information for the deployment component that deployment container is waited for described in composition;It is described
Storage object is used to store the information of the data of the deployment component;
The arranging unit 302, suitable for based on the load balancing object for waiting for deployment container, service object, storage object it
Between incidence relation information, layout is carried out to the load balancing object, service object and storage object, waits for portion described in generation
Affix one's name to the corresponding container layout assignment file of container;
The generation unit 303, suitable for based on the container layout assignment file generated, generating corresponding layout subtask text
Part.In specific implementation, the generation unit 303 obtains corresponding suitable for splitting the container layout assignment file
Multiple layout subtasks file.In an embodiment of the present invention, the generation unit 303 is further adapted for by the container layout
Before assignment file is split, legitimacy verifies are carried out to the container layout assignment file, and execute when verification passes through
The operation that the container layout assignment file is split.
The execution unit 304 is adapted for carrying out generated layout subtask file, waits for that deployment container is disposed by described
Onto corresponding server.In an embodiment of the present invention, the execution unit 304 is further adapted for executing generated layout
Before the file of subtask, legitimacy verifies are carried out to pending layout subtask file, and appoint to pending layout
Be engaged in file legitimacy verifies by when, execute layout subtask file.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored thereon with computer instruction, described
The step of container dispositions method is executed when computer instruction is run.Wherein, the container dispositions method refers to aforementioned
Partial is discussed in detail, and repeats no more.
The embodiment of the present invention additionally provides a kind of terminal, including memory and processor, and energy is stored on the memory
Enough computer instructions run on the processor, the processor execute the container when running the computer instruction
The step of dispositions method.Wherein, the container dispositions method refers to being discussed in detail for preceding sections, repeats no more.
Using the said program in the embodiment of the present invention, by obtain it is input by user treat deployment container carry out it is abstract
The information of incidence relation between the load balancing object, service object, storage object and the three that arrive, and wait disposing based on described
The information of incidence relation between the load balancing object of container, service object, storage object, to the load balancing object,
Service object and storage object carry out layout, the corresponding container layout assignment file of deployment container are waited for described in generation, then be based on institute
The container layout assignment file of generation, generates corresponding layout subtask file, finally executes generated layout subtask text
Part, to wait for that deployment container is deployed on corresponding server by described, because only user being needed to input during container deployment
Treat the incidence relation between load balancing object, service object, storage object and the three that deployment container is abstracted
Information, configured without inputting cumbersome parameter and service call relation etc., therefore the operation of container deployment can be simplified,
Improve the usage experience of user.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in computer readable storage medium, and storage is situated between
Matter may include:ROM, RAM, disk or CD etc..
The method and system of the embodiment of the present invention are had been described in detail above, the present invention is not limited thereto.Any
Field technology personnel can make various changes or modifications without departing from the spirit and scope of the present invention, therefore the guarantor of the present invention
Shield range should be subject to claim limited range.
Claims (10)
1. a kind of container dispositions method, which is characterized in that including:
Obtain it is input by user treat load balancing object, service object, storage object that deployment container is abstracted and
The information of incidence relation between three;The load balancing object is used to record the access information for waiting for deployment container;Institute
State information of the service object for recording the deployment component for waiting for deployment container described in composition;The storage object is described for storing
Dispose the information of the data of component;
It is right based on the information of the incidence relation between the load balancing object for waiting for deployment container, service object, storage object
The load balancing object, service object and storage object carry out layout, and the corresponding container layout of deployment container is waited for described in generation
Assignment file;
Based on the container layout assignment file generated, corresponding layout subtask file is generated;
Generated layout subtask file is executed, waits for that deployment container is deployed on corresponding server by described.
2. container dispositions method according to claim 1, which is characterized in that described based on the container layout task generated
File generates corresponding layout subtask file, including:
The container layout assignment file is split, corresponding multiple layout subtasks file is obtained.
3. container dispositions method according to claim 2, which is characterized in that carried out by the container layout assignment file
Before fractionation, further include:
Legitimacy verifies are carried out to the container layout assignment file, and are executed when verification passes through described by the container layout
The operation that assignment file is split.
4. container dispositions method according to claim 3, which is characterized in that described to execute generated layout subtask text
Before part, further include:
Legitimacy verifies are carried out to pending layout subtask file, and to the legal of pending layout subtask file
Property verification when passing through, execute layout subtask file.
5. a kind of container disposes device, which is characterized in that including:
Acquiring unit input by user treated load balancing object that deployment container be abstracted, is serviced pair suitable for obtaining
As the information of the incidence relation between, storage object and three;The load balancing object waits for deployment container described in being used to record
Access information;The service object is used to record the information for the deployment component that deployment container is waited for described in composition;The storage pair
As the information of the data for storing the deployment component;
Arranging unit, suitable for based on the association between the load balancing object for waiting for deployment container, service object, storage object
The information of relationship carries out layout to the load balancing object, service object and storage object, deployment container pair is waited for described in generation
The container layout assignment file answered;
Generation unit, suitable for based on the container layout assignment file generated, generating corresponding layout subtask file;
Execution unit is adapted for carrying out generated layout subtask file, waits for that deployment container is deployed to corresponding clothes by described
It is engaged on device.
6. container according to claim 5 disposes device, which is characterized in that the generation unit is suitable for the container
Layout assignment file is split, and corresponding multiple layout subtasks file is obtained.
7. container according to claim 6 disposes device, which is characterized in that the generation unit is further adapted for will be described
Before container layout assignment file is split, legitimacy verifies are carried out to the container layout assignment file, and logical in verification
It is out-of-date to execute the operation for splitting the container layout assignment file.
8. container according to claim 7 disposes device, which is characterized in that the execution unit is further adapted for executing institute
Before the layout subtask file of generation, legitimacy verifies are carried out to pending layout subtask file, and to pending
Layout subtask file legitimacy verifies by when, execute layout subtask file.
9. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the computer instruction fortune
Perform claim requires the step of 1 to 4 any one of them container dispositions method when row.
10. a kind of terminal, which is characterized in that including memory and processor, being stored on the memory can be at the place
The computer instruction run on reason device, perform claim requires any one of 1 to 4 institute when the processor runs the computer instruction
The step of container dispositions method stated.
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 true CN108429787A (en) | 2018-08-21 |
CN108429787B 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) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110532075A (en) * | 2019-08-09 | 2019-12-03 | 济南浪潮数据技术有限公司 | The implementation method and device of stateful load |
CN111274000A (en) * | 2020-01-21 | 2020-06-12 | 苏州浪潮智能科技有限公司 | Service arranging method and device, electronic equipment and storage medium |
CN111984396A (en) * | 2019-05-24 | 2020-11-24 | 上海擎感智能科技有限公司 | Load balancing method, system, medium and equipment of high-availability network architecture |
CN113141405A (en) * | 2021-04-23 | 2021-07-20 | 北京奇艺世纪科技有限公司 | Service access method, middleware system, electronic device, and storage medium |
CN115576534A (en) * | 2022-09-30 | 2023-01-06 | 北京百度网讯科技有限公司 | Arranging method and device of atomic service, electronic equipment and storage medium |
Citations (8)
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 |
CN101957794A (en) * | 2010-09-21 | 2011-01-26 | 中国科学院软件研究所 | Deployment constraint automatic detection method for Web application |
US20160124742A1 (en) * | 2014-10-30 | 2016-05-05 | Equinix, Inc. | Microservice-based application development framework |
CN106020930A (en) * | 2016-05-13 | 2016-10-12 | 深圳市中润四方信息技术有限公司 | Application container based application management method and system |
US20160350105A1 (en) * | 2015-05-27 | 2016-12-01 | Runnable Inc. | Automatic communications graphing for a source application |
CN106506587A (en) * | 2016-09-23 | 2017-03-15 | 中国人民解放军国防科学技术大学 | A kind of Docker image download methods based on distributed storage |
US20170085419A1 (en) * | 2015-09-18 | 2017-03-23 | Le Holdings (Beijing) Co., Ltd. | System and method for deploying an application |
CN107016059A (en) * | 2017-03-10 | 2017-08-04 | 北京聚睿智能科技有限公司 | A kind of data-base cluster dispositions method, device and physical server |
-
2018
- 2018-01-30 CN CN201810088111.0A patent/CN108429787B/en active Active
Patent Citations (8)
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 |
CN101957794A (en) * | 2010-09-21 | 2011-01-26 | 中国科学院软件研究所 | Deployment constraint automatic detection method for Web application |
US20160124742A1 (en) * | 2014-10-30 | 2016-05-05 | Equinix, Inc. | Microservice-based application development framework |
US20160350105A1 (en) * | 2015-05-27 | 2016-12-01 | 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 |
CN106020930A (en) * | 2016-05-13 | 2016-10-12 | 深圳市中润四方信息技术有限公司 | Application container based application management method and system |
CN106506587A (en) * | 2016-09-23 | 2017-03-15 | 中国人民解放军国防科学技术大学 | A kind of Docker image download methods 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 (3)
Title |
---|
GARYOND: "Docker可视化管理工具Shipyard安装与配置", 《HTTPS://WWW.JIANSHU.COM/P/497615077C71》 * |
LIAN DU等: "Cider: a Rapid Docker Container Deployment System through Sharing Network Storage", 《2017 IEEE 19TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS》 * |
胡湘菲: "软件自动化测试环境搭建中的Docker应用", 《计算机时代》 * |
Cited By (8)
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 |
CN111274000A (en) * | 2020-01-21 | 2020-06-12 | 苏州浪潮智能科技有限公司 | Service arranging method and device, electronic equipment and storage medium |
CN111274000B (en) * | 2020-01-21 | 2023-01-10 | 苏州浪潮智能科技有限公司 | Service arrangement method and device, electronic equipment and storage medium |
CN113141405A (en) * | 2021-04-23 | 2021-07-20 | 北京奇艺世纪科技有限公司 | Service access method, middleware system, electronic device, and storage medium |
CN113141405B (en) * | 2021-04-23 | 2022-11-15 | 北京奇艺世纪科技有限公司 | Service access method, middleware system, electronic device, and storage medium |
CN115576534A (en) * | 2022-09-30 | 2023-01-06 | 北京百度网讯科技有限公司 | Arranging method and device of atomic service, electronic equipment and storage medium |
CN115576534B (en) * | 2022-09-30 | 2024-02-20 | 北京百度网讯科技有限公司 | Method and device for arranging atomic service, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108429787B (en) | 2021-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108429787A (en) | Container dispositions method and device, computer storage media, terminal | |
US10261819B2 (en) | Determining an optimal computing environment for running an image based on performance of similar images | |
CA2776183C (en) | Pre-provisioning virtual machines in a networked computing environment | |
US9104514B2 (en) | Automated deployment of applications with tenant-isolation requirements | |
US9582319B2 (en) | Migrating virtual machines across network separated data centers | |
US20170364377A1 (en) | Specialized micro-hypervisors for unikernels | |
US9158590B2 (en) | Dynamically acquiring computing resources in a networked computing environment | |
da Silva et al. | Containers for virtualization: An overview | |
US9225604B2 (en) | Mapping requirements to a system topology in a networked computing environment | |
US8434070B2 (en) | Generating specifications of client-server applications for static analysis | |
US20140344808A1 (en) | Dynamically modifying workload patterns in a cloud | |
US9846586B2 (en) | Creating a virtual machine and cloud server | |
US10108442B1 (en) | Optimization and affinity for hypervisor-based just-in-time translator | |
Faynberg et al. | Cloud computing: business trends and technologies | |
US9507578B2 (en) | Application instance staging | |
US11714615B2 (en) | Application migration using cost-aware code dependency graph | |
JP2023548500A (en) | workflow patching | |
CN109739655A (en) | A kind of parameter setting method and device of gRPC request | |
CN109697076A (en) | A kind of dynamic updating method of application software resources, device and equipment | |
Hohenstein et al. | Reusable components for adding multi-tenancy to legacy applications | |
US11829738B2 (en) | Static block frequency prediction in irreducible loops within computer code | |
US20230409716A1 (en) | Shared library customization | |
US11561787B2 (en) | Application invocation on specified operating system version | |
US20230289177A1 (en) | In-band instantiation configuration for application workloads | |
Hohenstein et al. | Enabling legacy applications for multi-tenancy without reengineering |
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. |