CN108205481A - The container instance creation method and device of application - Google Patents

The container instance creation method and device of application Download PDF

Info

Publication number
CN108205481A
CN108205481A CN201611178866.7A CN201611178866A CN108205481A CN 108205481 A CN108205481 A CN 108205481A CN 201611178866 A CN201611178866 A CN 201611178866A CN 108205481 A CN108205481 A CN 108205481A
Authority
CN
China
Prior art keywords
application
server
container
image file
instruction
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
Application number
CN201611178866.7A
Other languages
Chinese (zh)
Other versions
CN108205481B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201611178866.7A priority Critical patent/CN108205481B/en
Publication of CN108205481A publication Critical patent/CN108205481A/en
Application granted granted Critical
Publication of CN108205481B publication Critical patent/CN108205481B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking
    • G06F11/1482Generic software techniques for error detection or fault masking by means of middleware or OS functionality

Abstract

The embodiment of the present invention provides a kind of container instance creation method of application and device, the method include:Layout scheduler receives applicating medium packet, and applicating medium packet includes the container image file of application and describes file using layout, and it is N to describe file to be used to indicate the number of the container instance of application that needs to create using layout;File is described according to using layout, sends mirror image push instruction to N number of server respectively, mirror image push instruction includes the container image file of application, and mirror image push instruction is used to indicate the container image file of storage application;It when needing to create the container instance of application, is sent to N number of server create instruction respectively, created instruction and be used to indicate the container instance that application is created according to the container image file of the application of storage.Container instance deployment efficiency is improved, container is improved and starts speed, enhance the global reliability of container image file.

Description

The container instance creation method and device of application
Technical field
The present embodiments relate to application container technical field more particularly to a kind of container instance creation method of application and Device.
Background technology
Container technique and its related tool in recent years, platform is very hot, than more typical container engine have docker, The Container Managements platform such as Rocket and kubernetes, swam.Under current mechanism, container mirror image warehouse is independently disposed, and is used The local image file made is uploaded to container mirror image warehouse, all container image file collection by family by container order In be stored in container mirror image warehouse, when server is when needing to create the container instance of application, server is needed from container mirror As warehouse pulls the container image file of the application to local, after container image file is stored in local, then pass through the mirror Container instance as creating the application.However, in the prior art when creating container instance, it is required to from distal pod mirror image storehouse Container instance could be created accordingly after container image file is pulled in library, cause to create container instance inefficiency.
Invention content
The embodiment of the present invention provides a kind of the container instance creation method and device of application, and container instance is created for being promoted Dispose efficiency.
In a first aspect, the embodiment of the present invention provides a kind of container instance creation method of application, including:
Layout scheduler receives applicating medium packet, and applicating medium packet includes the container image file of application and retouched using layout File is stated, it is N to describe file using layout and be used to indicate to need the number of the container instance of application that creates;N is is more than or waits In 1 integer;Layout scheduler describes file according to using layout, sends mirror image push instruction, mirror image to N number of server respectively Push instruction includes the container image file of application, and mirror image push instruction is used to indicate the container image file of storage application; When needing to create the container instance applied, layout scheduler sends to N number of server create instruction respectively, creates instruction for referring to Show the container instance that application is created according to the container image file of the application of storage.
Optionally, layout scheduler describes file according to using layout, sends mirror image push instruction to N number of server respectively Later, M server of the container image file of the backup application is also determined, M is the integer more than or equal to 1;And respectively The mirror image push instruction is sent to M server.
Optionally, when the number increase of the container instance of the application, layout scheduler, which also receives, creates newly-increased answer The address lookup instruction that the server of container instance is sent, address lookup instruction are used to inquire the image file of storage application Server address;And send address response instruction, address to the server for the container instance for creating the newly-increased application Response instruction includes the address of a server in N number of server.
Second aspect, the embodiment of the present invention provide a kind of container instance creation method of application, including:First server connects The mirror image push instruction of the row's of incorporating into own forces scheduler dispatches, mirror image push instruction include the container image file of the first application, and mirror image pushes away Instruction is sent to be used to indicate the container image file of the first application of storage;It is pushed and instructed according to the mirror image, storage described first should Container image file;When needing to create the container instance of the first application, first server receives layout scheduler dispatches Establishment instruction, create instruction be used to indicate according to the first of storage application container image file create first application container Example;The first server creates the first application according to the container image file of the first application for instructing and storing is created Container instance.
Optionally, when the number of the container instance of the first application needs to reduce, first server also shuts down the first application Container instance.
Optionally, when the number increase of the container instance of the described first application, first server also receives second service The first mirror image that device is sent pulls instruction, and the first mirror image pulls instruction for pulling the container image file of the first application;Second Server is the server for the container instance for creating newly-increased first application;First server pulls instruction to the according to the first mirror image Two servers return to the container image file of the first application.
Optionally, when first server needs to create the container instance of the second application and when being deposited in first server When containing the container image file of the second application, first server is also according to the container image file of the second application of storage, wound Build the container instance of the second application.
Optionally, first server need create second application container instance when and when in first server not When being stored with the container image file of the second application, first server is also instructed to layout scheduler dispatches address lookup, address The address of the server of container image file that inquiry instruction is applied for inquiry storage second;First server receives layout tune The address response instruction that device is sent is spent, address response, which is instructed, includes the address of third server, and third server is to be stored with the The server of the container image file of two applications;First server is instructed according to address response, and second is sent to third server Mirror image pulls instruction, and the second mirror image pulls instruction for pulling the container image file of the second application;First server receives the The container image file of the second application that three servers return;First server is according to the container image file of the second application, wound Build the container instance of the second application.
Optionally, first server also obtains the occupancy of the memory space of first server;Memory space is used to store Container image file;When occupancy is more than first threshold, first server clears up memory space, preset rules according to preset rules It is used to indicate not used container image file in cleaning preset time.
Optionally, when the occupancy for clearing up memory space to memory space is less than second threshold, first server stops Clear up memory space.
The third aspect, the embodiment of the present invention provide a kind of layout scheduler, including:Receiving module is situated between for receiving application Matter packet, applicating medium packet include the container image file of application and describe file using layout, and describing file using layout is used for It is N to indicate the number of the container instance of application for needing to create;N is the integer more than or equal to 1;Sending module, for basis File is described using layout, sends mirror image push instruction to N number of server respectively, mirror image push instruction includes the container mirror of application As file, mirror image push instruction is used to indicate the container image file of storage application;And needing the container for creating application real During example, sent to N number of server create instruction respectively, establishment instruction is used to indicate the container image file according to the application of storage Create the container instance of application.
Optionally, layout scheduler further includes:Determining module, for describing file according to using layout in sending module, Respectively after N number of server sends mirror image push instruction, M server of the container image file of back-up application is determined, M is Integer more than or equal to 1;Sending module is additionally operable to send mirror image push instruction to M server respectively.
Optionally, receiving module is additionally operable to when the number increase of the container instance of application, is received and is created newly-increased application Container instance the address lookup instruction that sends of server, address lookup instruction is for inquiring the image file of storage application The address of server;Sending module is additionally operable to refer to the server transmission address response for the container instance for creating newly-increased application It enables, address response instructs the address for including a server in N number of server.
Fourth aspect, the embodiment of the present invention provide a kind of server, including:Receiving module, for receiving layout scheduler The mirror image push of transmission instructs, and mirror image push instruction includes the container image file of the first application, and mirror image push instructs to refer to Show the container image file of the first application of storage;Memory module instructs for being pushed according to mirror image, the container of the first application of storage Image file;Receiving module is additionally operable to, when needing to create the container instance of the first application, receive the wound of layout scheduler dispatches Instruction is built, it is real to create the container of the first application of container image file establishment for instructing and being used to indicate and being applied according to the first of storage Example;Processing module, for according to the container image file of the first application for instructing and storing is created, creating the appearance of the first application Device example.
Optionally, processing module is additionally operable to when the number of the container instance of the first application needs to reduce, and shutting down first should Container instance.
Optionally, receiving module is additionally operable to, when the number increase of the container instance of the first application, receive second server The first mirror image sent pulls instruction, and the first mirror image pulls instruction for pulling the container image file of the first application;Second clothes Business device is the server for the container instance for creating newly-increased first application;The server further includes:Sending module.Sending module, For pulling instruction according to the first mirror image the first container image file applied is returned to second server.
Optionally, processing module is additionally operable to when first server needs to create the container instance of the second application and works as When the container image file of second application is stored in first server, according to the container mirror image text of the second of storage the application Part creates the container instance of the second application.
Optionally, the server further includes:Sending module.Sending module, for needing establishment in first server During the container instance of two applications and when the container image file for not being stored with the second application in first server, to layout Scheduler dispatches address lookup instructs, and address lookup instruction stores the server of the container image file of the second application for inquiry Address;The receiving module, is additionally operable to receive the address response instruction of layout scheduler dispatches, and address response instruction includes the The address of three servers, third server are the server for the container image file for being stored with the second application;Sending module is also used It is instructed according to address response, sending the second mirror image to third server pulls instruction, and the second mirror image pulls instruction for pulling The container image file of second application;Receiving module is additionally operable to receive the container mirror image of the second application that third server returns File;Processing module is additionally operable to the container image file according to the second application, creates the container instance of the second application.
Optionally, processing module is additionally operable to obtain the occupancy of the memory space of first server;Memory space is used to deposit Storage container image file;And when occupancy is more than first threshold, according to preset rules cleaning memory space, preset rules are used for Not used container image file in instruction cleaning preset time.
Optionally, processing module is additionally operable to when the occupancy for clearing up memory space to memory space is less than second threshold, Stop cleaning memory space.
5th aspect, the embodiment of the present invention provide a kind of layout scheduler, including:Processor and communication interface.Processor, For receiving applicating medium packet by communication interface, applicating medium packet includes the container image file of application and application layout describes File, it is N to describe file using layout and be used to indicate to need the number of the container instance of application that creates;N is more than or equal to 1 Integer;File is described according to using layout, mirror image push instruction, mirror image are sent to N number of server by communication interface respectively Push instruction includes the container image file of application, and mirror image push instruction is used to indicate the container image file of storage application;With And when needing to create the container instance of application, sent respectively to N number of server by communication interface and create instruction, create instruction It is used to indicate the container instance that application is created according to the container image file of the application of storage.
Optionally, processor is additionally operable to describing file according to using layout, by communication interface respectively to N number of server After sending mirror image push instruction, M server of the container image file of back-up application is determined, M is whole more than or equal to 1 Number;Mirror image push instruction is sent to M server by communication interface respectively.
Optionally, processor is additionally operable to when the number increase of the container instance of application, is received and created by communication interface The address lookup instruction that the server of the container instance of newly-increased application is sent, address lookup instruction is for inquiry storage application The address of the server of image file;Address is sent to the server for the container instance for creating newly-increased application by communication interface Response instruction, address response instruct the address for including a server in N number of server.
6th aspect, the embodiment of the present invention provide a kind of server, including:Processor and communication interface.Processor is used for The mirror image that layout scheduler dispatches are received by communication interface pushes instruction, and mirror image push instruction includes the container mirror of the first application As file, mirror image push instruction is used to indicate the container image file of the first application of storage;It is pushed and instructed according to mirror image, storage the The container image file of one application;When needing to create the container instance of the first application, layout is received by communication interface and is dispatched The establishment instruction that device is sent creates the container image file for instructing and being used to indicate and being applied according to the first of storage and creates the first application Container instance;According to the container image file for the first application for creating instruction and storage, the container for creating the first application is real Example.
Optionally, processor is additionally operable to, when the number of the container instance of the first application needs to reduce, shut down the first application Container instance.
Optionally, processor is additionally operable to, when the number increase of the container instance of the first application, receive by communication interface The first mirror image that second server is sent pulls instruction, and the first mirror image pulls instruction for pulling the container mirror image of the first application text Part;Second server is the server for the container instance for creating newly-increased first application;Instruction is pulled according to the first mirror image, by logical Believe that interface returns to the container image file of the first application to second server.
Optionally, processor is additionally operable to when first server needs to create the container instance of the second application and when the When the container image file of second application is stored in one server, according to the container mirror image text of the second of storage the application Part creates the container instance of the second application.
Optionally, processor is additionally operable to when first server needs to create the container instance of the second application and when the When not being stored with the container image file of the second application in one server, looked by communication interface to layout scheduler dispatches address Instruction is ask, address lookup instruction is used to inquire the address of the server of the container image file of the second application of storage;Pass through communication The address response instruction of interface layout scheduler dispatches, address response instruct the address for including third server, third clothes Business device is the server for the container image file for being stored with the second application;It is instructed according to address response, by communication interface to Three servers send the second mirror image and pull instruction, and the second mirror image pulls instruction for pulling the container image file of the second application; The container image file of the second application of third server return is received by communication interface;According to the container mirror image of the second application File creates the container instance of the second application.
Optionally, processor is additionally operable to obtain the occupancy of the memory space of first server;Memory space is used to store Container image file;And when occupancy is more than first threshold, according to preset rules cleaning memory space, preset rules are used to refer to Show not used container image file in cleaning preset time.
Optionally, processor is additionally operable to, when the occupancy for clearing up memory space to memory space is less than second threshold, stop Only clear up memory space.
The container instance creation method and device of application provided in an embodiment of the present invention, by needing to create the appearance applied Before device example, the container image file of application has been respectively stored in the service of quantity identical with the number of the container instance of application In device, and in the container instance for creating application, each server directly can establish application according to local container image file Container instance, without from container image file is distally pulled, improve container instance deployment efficiency, improve container start speed Degree, and without individually solely deployment for the warehouse of storage container image file, can improve server resource utilization rate indirectly. And container image file stores N number of server respectively, when the container image file of one of server is because failure cannot In use, desired container image file can be pulled by accessing other servers, the whole of container image file is enhanced Body reliability.
Description of the drawings
Fig. 1 is the flow chart of the container instance creation method of application that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the container instance creation method of application provided by Embodiment 2 of the present invention;
Fig. 3 is the flow chart of the container instance creation method of application that the embodiment of the present invention three provides;
Fig. 4 is the structure diagram of layout scheduler that the embodiment of the present invention one provides;
Fig. 5 is the structure diagram of layout scheduler provided by Embodiment 2 of the present invention;
Fig. 6 is the structure diagram of server that the embodiment of the present invention one provides;
Fig. 7 is the structure diagram of server provided by Embodiment 2 of the present invention.
Specific embodiment
Fig. 1 is the flow chart of the container instance creation method of application that the embodiment of the present invention one provides, as shown in Figure 1, this The method of embodiment can include:
S101, layout scheduler receive applicating medium packet.
In the present embodiment, after the container image file of application is made, container mirror image warehouse can be uploaded to and preserved, In, container mirror image warehouse is disposed on the server.Wherein, after the container image file of application makes in uploading onto the server, This process is to dispatch completion by layout scheduler.The lateral layout scheduler of user uploads applicating medium packet, correspondingly, Layout scheduler can receive applicating medium packet, which includes the container image file of application and application layout describes File, it is N that this, which applies layout to describe file to be used to indicate the number of the container instance of application for needing to create,;N is is more than or waits In 1 integer.Optionally, this applies layout to describe the number N of the container instance of application that file is created including needs.It is optional Ground, above-mentioned container image file be standardization container mirror image packet, do not have to form particular/special requirement (do not differentiate between appc or Docker forms mirror image).
S102, layout scheduler describe file according to using layout, send mirror image push instruction to N number of server respectively. Mirror image push instruction includes the container image file of application, and mirror image push instruction is used to indicate the container mirror image text of storage application Part.
In the present embodiment, layout scheduler describes file in applicating medium packet using layout, respectively to N number of service Device sends mirror image push instruction (belonging to container order), and mirror image push instruction includes the container image file of application, the mirror image Push instruction is used to indicate the container image file for storing the application.Wherein, each server is used to create the one of the application A container instance.
Optionally, layout scheduler can determine to need to create the application from multiple servers before S102 is performed N number of server of container instance, such as:It can be determined to need the appearance for creating the application according to the occupation condition of each server N number of server of device example.Optionally, this describes file using layout and is additionally operable to the container mirror image for indicating that the application can be stored text The server of part, such as:This describes file using layout and further includes compatibility/anti-compatibility description information.By compatibility/anti- Compatibility information is used to indicate the type of the server for the container image file that can store the application or can not store the application Container image file server type.Wherein, compatibility/anti-compatibility description information is generally used for stateful service department Scene is affixed one's name to, for example I/O intensive type application is typically deployed on the stronger server of disk I/O ability, correspondingly, the container mirror of application As file is also required to be stored on the stronger server of disk I/O ability by compatibility.Optionally, this is using layout description text Part further includes application container resource description information, is used to indicate CPU core number, memory and the disk space size etc. of container occupancy.
It is not limited to include above- mentioned information it should be noted that describing file using layout.
It should be noted that the interaction flow between layout scheduler and a server, other clothes are illustrated only in Fig. 1 Business device is similar with the interaction flow of orchestrating services device, is not shown herein.
S103, server are pushed according to mirror image and are instructed, and store the container image file of application.
In the present embodiment, after server receives the mirror image push instruction of layout scheduler dispatches, referred to according to mirror image push It enables, stores the container image file of the application in mirror image push instruction.Such as:Server is according to the form of container image file Container image file is parsed, the local image file for the container image file after parsing being saved in the server is deposited It stores up in space (storage catalogue therein).For AUFS file system, the container image file after parsing is in local preservation mesh Record is for example as follows:
root@ubuntu:/var/lib/docker/aufs#11
total 76
drwxr-xr-x 5root root 4096Aug 31 14:06./
drwx------10root root 4096Oct 10 14:52../
drwxr-xr-x 164root root 20480Oct 10 14:52diff/
drwxr-xr-x 2root root 20480Oct 10 14:52layers/
drwxr-xr-x 164root root 20480Oct 10 14:52mnt/
root$ubuntu:/var/lib/docker/aufs#
Wherein diff is container image file initial data, and layers descriptions are layered the relationship of mirror image, mirror is preserved in mnt As it is laminated and after rootfs.
Optionally, server successfully stores the container image file of the application, also to one sound of layout scheduler dispatches It should instruct, be used to indicate the container image file for successfully storing the application.
Optionally, layout scheduler also preserves the ground of server of the container image file with storing the container image file The correspondence of location, to represent the container image file is stored in which server.
S104, need create application container instance when, layout scheduler respectively to N number of server send create refers to It enables.
When needing to create the container instance of application, layout scheduler sends to above-mentioned N number of server create instruction respectively (belonging to container order), the establishment instruction is used to indicate should described in the container image file establishment of the application according to storage Container instance.
According to the container image file of application for instructing and storing is created, the container for creating application is real for S105, server Example.
In the present embodiment, after server receives the establishment instruction of layout scheduler dispatches, due to having been deposited in book server The container image file of the application is contained, server need not go to distal end to pull container image file.Therefore, server is according to the wound The container image file of the application of instruction and storage is built, can directly create the container instance of the application.
Optionally, server is responded to layout scheduler dispatches one after the container instance for successfully creating application and is instructed, and is used The container instance of the application has been successfully created in instruction.
In conclusion the container instance creation method of application provided in this embodiment, by needing to create the appearance applied Before device example, the container image file of application has been respectively stored in the service of quantity identical with the number of the container instance of application In device, and in the container instance for creating application, each server directly can establish application according to local container image file Container instance, without from container image file is distally pulled, improve container instance deployment efficiency, improve container start speed Degree.And container image file stores N number of server respectively, when one of server container image file because failure not Container image file can be enhanced in use, desired container image file can be pulled by accessing other servers Global reliability.
Optionally, the layout scheduler also determines the container mirror image of the backup application after above-mentioned S102 is performed M server of file, the M are the integer more than or equal to 1;Then mirror image push is sent to the M server respectively Instruction, the mirror image push instruction include the container image file of the application, and the mirror image push instruction is used to indicate storage The container image file of the application.
Wherein, layout scheduler can determine to back up the container mirror image text of the application according to the occupation condition of server M server of part, optionally, layout scheduler are described herein in connection with the compatibility/anti-compatibility described using layout in file Information determines the M server, then sends mirror image push instruction to the M server.Optionally, it before operating herein, compiles Row scheduler determine the N be less than can application deployment example server maximum quantity;It can application deployment reality if N is greater than or equal to The server maximum quantity of example can be used for backup container image file without extra server at this time, then no longer carry out container Image file backs up.Wherein, minimum no less than 2 parts of the storage quantity of the container image file of same application.
After the M server receives mirror image push instruction, the container mirror of the instruction storage application is pushed according to the mirror image As file.Only when needing to create the container instance of the application, layout scheduler does not send to create to the M server to be referred to It enables.The memory reliability of container image file is improved in this way.
Fig. 2 is the flow chart of the container instance creation method of application provided by Embodiment 2 of the present invention, as shown in Fig. 2, this The method of embodiment can include:
S201, layout scheduler receive applicating medium packet.
The applicating medium packet includes the container image file of the first application and first and describes file using layout.
S202, layout scheduler describe file according to using layout, and sending the first mirror image to N number of first server respectively pushes away Send instruction.The first mirror image push instruction includes the container image file of the first application.
S203, first server are pushed according to the first mirror image and are instructed, the container image file of the first application of storage.
S204, need create first application container instance when, layout scheduler respectively to N number of first server send Create instruction.
S205, first server create first according to the container image file of the first application for instructing and storing is created The container instance of application.
In the present embodiment, the specific implementation process of S201-S205 may refer to the associated description of embodiment illustrated in fig. 1, this Place repeats no more.
Optionally, under capacity reducing scene, portfolio atrophy, system is also required to shut down the container instance of certain applications, to reduce Operation cost.When the number of the container instance of first application needs to reduce, such as:It needs to reduce K1, then N number of first clothes Each first server in K1 first server of device of being engaged in shuts down the container instance of the first application, such as:First server root The container instance shut down instruction and shut down the first application sent according to layout scheduling.Optionally, it is still deposited in the K1 first server The image file of the first application of storage, will not actively delete, and when facilitating next dilatation, such as increase the container instance of first application When, the container instance of the first application is deployed on the server in the K1 first server by layout scheduler priority, is reduced The image file copy number of first application, promotes deployment efficiency.
Optionally, under dilatation scene, when portfolio expands, the container instance of the application of original deployment can not meet business need It asks, dilatation is needed to increase the container instance of application at this time.When the number increase of the container instance of first application, such as:Increase Add K2, then correspondingly additionally need the container instance that K2 server creates newly-increased application correspondingly.Layout is dispatched Device preferentially selects the server for having stored the container image file of the first application to carry out dilatation deployment, and such case is due to application Container image file just in server local, directly creates and runs container.If the container instance of the first application of dilatation A new server is deployed in, does not store the container image file of the first application on the server, is just needed from other at this time Preserve in the server of the container image file of the first application to being locally stored, this process need by layout scheduler come It completes;The server for the container instance for creating the first newly-increased application is known as second server herein, wherein, K2 second clothes Each second server can perform scheme as follows in business device.
S206, second server are instructed to the first address lookup of layout scheduler dispatches.
In the present embodiment, when the container image file for not storing the first application in second server, second server to The first address lookup of layout scheduler dispatches instructs, and the first address lookup instruction stores first application for inquiring The address of the server of container image file.
S207, layout scheduler send the instruction of the first address response to second server.The instruction of first address response includes The address of first server.
In the present embodiment, after layout scheduler receives the instruction of the first address lookup, it may be determined that the first application of storage Then the address of the first server of container image file sends the instruction of the first address response, first ground to second server Location response instruction includes the address of a server in N number of first server.Wherein, it is specifically included in first address response instruction It the address of which first server can be depending on the occupation condition of each first server.
S208, second server, which are instructed according to the first address response to first server the first mirror image of transmission, pulls instruction.
In the present embodiment, after second server receives the instruction of the first address response, in being instructed according to the first address response The address of first server sends the first mirror image to first server and pulls instruction, and the first mirror image pulls instruction for pulling first The container image file of application.
S209, first server pull instruction according to the first mirror image and return to the first container mirror image applied to second server File.
S210, second server create the first container instance applied according to the container image file of the first application.
In the present embodiment, first server is received after the first mirror image pulls instruction, and instruction is pulled according to the first mirror image The container image file of the first application stored in first server is returned to second server.Second server receives first After the container image file of application, the container instance of the first application is created according to the container image file of first application.It is optional Ground, second server also store the container image file of first application.It is achieved thereby that the container instance dilatation of the first application Scheme.
Far-end operation is gone to obtain application in conclusion the present embodiment, solves to concentrate in the prior art through the above scheme Container image file and cause concurrent pressure larger, easily generate performance issue;The present embodiment in dilatation, realize from point The container image file of application is pulled in scattered multiple servers, concurrent pressure is reduced, ensure that performance.
Fig. 3 is the flow chart of the container instance creation method of application that the embodiment of the present invention three provides, as shown in figure 3, this After the method for embodiment S201-S205 shown in Fig. 2, when first server needs to create the container instance of the second application When, if being stored with the container image file of the second application in first server, first server is according to the second of storage the application Container image file, create second application container instance.If the container mirror of the second application is not stored in first server As file, then following steps are performed.
S301, first server are instructed to the second address lookup of layout scheduler dispatches.
The address of the server of container image file that the instruction of second address lookup is applied for inquiry storage second.
S302, layout scheduler send the instruction of the second address response to first server.The instruction of first address response includes The address of third server.The third server is the server for the container image file for being stored with second application.
S303, first server are instructed according to the second address response, and sending the second mirror image to third server pulls instruction. Second mirror image pulls instruction for pulling the container image file of the second application.
S304, third server pull instruction according to the second mirror image, and the container mirror of the second application is returned to first server As file.
S305, first server create the second container instance applied according to the container image file of the second application.
In the present embodiment, the specific implementation process of S301-S305 may refer to the associated description in embodiment illustrated in fig. 2, Details are not described herein again.
Far-end operation is gone to obtain application in conclusion the present embodiment, solves to concentrate in the prior art through the above scheme Container image file and cause concurrent pressure larger, easily generate performance issue;The present embodiment in dilatation, realize from point The container image file of application is pulled in scattered multiple servers, concurrent pressure is reduced, ensure that performance.
Optionally, on the basis of the above-mentioned each method embodiment of the present invention, above-mentioned server also obtains depositing for the server Store up the occupancy in space;Memory space is used for storage container image file, which can be used for storing various applications Container image file.When occupancy is more than first threshold, according to preset rules cleaning memory space, preset rules are used to indicate clearly Manage not used container image file in preset time.
Memory space on each server is limited, if simply toward increase container image file on server Without removing, the memory space inadequate of server can be caused, influenced using normal use.Such as server can periodic test Memory space, to obtain the occupancy of memory space.When occupancy is more than first threshold, first threshold is, for example, 90%, then takes Business device can according to algorithm (LRU) is not used at most recently the container image file in local memory space is cleared up with Delete not used container image file in preset time.Optionally, refuse during server clears up memory space Storage container image file.
Optionally, when the occupancy for clearing up memory space to memory space is less than second threshold, server stops cleaning Memory space, so as to ensure that the new container image file stored at this time is safe.Such as second threshold is 80%.It is optional Ground, if by cleaning, the occupancy of absolutely empty of storage is still not less than second threshold, then error message is reported to volume by server Scheduler is arranged, hand inspection is carried out to user by layout scheduler report and alarm.
Optionally, before server storage container image file, detect whether the container image file is locally having preservation, If so, then refusing to store, and return to corresponding error code.
The said program of the embodiment of the present invention is suitable for the application deployment scenario based on container warehouse, including docker, RKT Etc. container techniques, for the bottom container technique such as LXC that container warehouse is not present, be equally applicable.
In addition to this, the scheme of the embodiment of the present invention similarly can be additionally used in conventional non-containerization application.
Fig. 4 is the structure diagram of layout scheduler that the embodiment of the present invention one provides, as shown in figure 4, the present embodiment Layout scheduler can include:Receiving module 11 and sending module 12.
Receiving module 11, for receiving applicating medium packet, the applicating medium packet includes the container mirror image text of the application Part and file described using layout, it is described to describe file using layout and be used to indicate the container instance of the application that needs to create Number be N;The N is the integer more than or equal to 1;
Sending module 12 for describing file according to the application layout, sends mirror image push to N number of server respectively and refers to It enables, the mirror image push instruction includes the container image file of the application, and the mirror image push instruction is used to indicate storage institute State the container image file of application;And when needing to create the container instance of the application, sent out respectively to N number of server Establishment is sent to instruct, the establishment instruction is used to indicate creates the application according to the container image file of the application of storage Container instance.
Optionally, the layout scheduler of the present embodiment further includes:Determining module 13.
Determining module 13, for describing file according to the application layout in the sending module 12, respectively to described N number of After server sends mirror image push instruction, M server of the container image file of the backup application is determined, the M is Integer more than or equal to 1;
The sending module 12 is additionally operable to send the mirror image push instruction to the M server respectively.
Optionally, the receiving module 11 is additionally operable to when the number increase of the container instance of the application, is received and is created The address lookup instruction that the server of the container instance of the newly-increased application is sent, described address inquiry instruction are deposited for inquiring Store up the address of the server of the image file of the application;
The sending module 12 is additionally operable to send ground to the server of the container instance for creating the newly-increased application Location response instruction, described address response instruction include the address of a server in N number of server.
The layout scheduler of the present embodiment can be used for performing layout scheduler in the above-mentioned each method embodiment of the present invention and hold Capable technical solution, implementing principle and technical effect are similar, and details are not described herein again.
Fig. 5 is the structure diagram of layout scheduler provided by Embodiment 2 of the present invention, as shown in figure 5, the present embodiment Layout scheduler can include:Processor 21 and communication interface 22.Processor 21 receives application Jie for passing through communication interface 22 Matter packet, applicating medium packet include the container image file of application and describe file using layout, and describing file using layout is used for It is N to indicate the number of the container instance of application for needing to create;N is the integer more than or equal to 1;According to application layout description text Part sends mirror image push instruction to N number of server respectively by communication interface 22, and mirror image push instruction includes the container mirror of application As file, mirror image push instruction is used to indicate the container image file of storage application;And needing the container for creating application real It during example, is sent respectively to N number of server by communication interface 22 and creates instruction, establishment instruction is used to indicate the application according to storage Container image file create application container instance.
Optionally, processor 21 is additionally operable to describing file according to using layout, by communication interface 22 respectively to N number of clothes It is engaged in after device transmission mirror image push instruction, determines M server of the container image file of back-up application, M is more than or equal to 1 Integer;Mirror image push instruction is sent to M server by communication interface respectively.
Optionally, processor 21 is additionally operable to, when the number increase of the container instance of application, receive by communication interface 22 The address lookup instruction that the server of the container instance of newly-increased application is sent is created, address lookup instruction should for inquiring storage The address of the server of image file;It is sent out by communication interface 22 to the server for the container instance for creating newly-increased application Address response is sent to instruct, address response instructs the address for including a server in N number of server.
Optionally, the layout scheduler of the present embodiment further includes memory 23, and memory 23 performs application for storing The code of container instance creation method, processor 21 are used for the code that memory 23 is called to store and perform said program.
The layout scheduler of the present embodiment can be used for performing layout scheduler in the above-mentioned each method embodiment of the present invention and hold Capable technical solution, implementing principle and technical effect are similar, and details are not described herein again.
Fig. 6 is the structure diagram of server that the embodiment of the present invention one provides, as shown in fig. 6, the service of the present embodiment Device can include:Receiving module 31, memory module 32 and processing module 33.
Receiving module 31, for receiving the push instruction of the mirror image of layout scheduler dispatches, the mirror image push instruction includes The container image file of first application, the mirror image push instruction are used to indicate the container mirror image text for storing first application Part;
Memory module 32 instructs for being pushed according to the mirror image, the container image file of storage first application;
The receiving module 31 is additionally operable to, when needing to create the container instance of first application, receive the layout The establishment instruction of scheduler dispatches, the container image file for creating first application that instruction is used to indicate according to storage Create the container instance of first application;
Processing module 33, for creating the container image file of first application for instructing and storing according to described, Create the container instance of first application.
Optionally, the processing module 33 is additionally operable to when the number of the container instance of the described first application needs to reduce, Shut down the container instance of first application.
Optionally, the server of the present embodiment further includes:Sending module 34.
Optionally, the receiving module 31 is additionally operable to, when the number increase of the container instance of the described first application, receive The first mirror image that second server is sent pulls instruction, and first mirror image pulls instruction for pulling the appearance of first application Device image file;The second server is the server for the container instance for creating newly-increased first application;
The sending module 34 returns to described for pulling instruction according to first mirror image to the second server The container image file of one application.
Optionally, the processing module 33 is additionally operable to need the container for creating the second application real in the first server During example and when the container image file that second application is stored in the first server, according to storage The container image file of second application creates the container instance of second application.
Optionally, the sending module 34, for needing to create the container instance of the second application in the first server When and when be not stored in the first server it is described second application container image file when, to the layout dispatch Device sends address lookup instruction, and described address inquiry instruction stores the clothes of the container image file of second application for inquiry The address of business device;
The receiving module 31, is additionally operable to receive the address response instruction of the layout scheduler dispatches, and described address is rung The address for including third server should be instructed, the third server is the container image file for being stored with second application Server;
The sending module 34, is additionally operable to be instructed according to address response, and sending the second mirror image to the third server draws Instruction fetch, second mirror image pull instruction for pulling the container image file of second application;
The receiving module 31 is additionally operable to receive the container mirror image text of second application that the third server returns Part;
The processing module 33 is additionally operable to the container image file according to the described second application, creates second application Container instance.
Optionally, the processing module 33 is additionally operable to obtain the occupancy of the memory space of the first server;It is described Memory space is used for storage container image file;And when the occupancy be more than first threshold, according to preset rules clear up institute Memory space is stated, the preset rules are used to indicate not used container image file in cleaning preset time.
Optionally, the processing module 33 is additionally operable to when the occupancy for clearing up the memory space to the memory space During less than second threshold, stop clearing up the memory space.
The server of the present embodiment can be used for performing the technology that server performs in the above-mentioned each method embodiment of the present invention Scheme, implementing principle and technical effect are similar, and details are not described herein again.
Fig. 7 is the structure diagram of server provided by Embodiment 2 of the present invention, as shown in fig. 7, the service of the present embodiment Device can include:Processor 41 and communication interface 42.Processor 41 receives layout scheduler dispatches for passing through communication interface 42 Mirror image push instruction, mirror image push instruction includes the container image file of the first application, and mirror image push, which instructs, to be used to indicate and deposits The container image file of the first application of storage;It is pushed and instructed according to mirror image, the container image file of the first application of storage;It is needing to create When building the container instance of the first application, the establishment that layout scheduler dispatches are received by communication interface 42 instructs, and creates instruction and uses The container instance of the first application is created according to the container image file of the first of storage the application in instruction;According to create instruction and The container image file of first application of storage creates the container instance of the first application.
Optionally, processor 41 are additionally operable to when the number of the container instance of the first application needs to reduce, and shutting down first should Container instance.
Optionally, processor 41 are additionally operable to, when the number increase of the container instance of the first application, pass through communication interface 42 It receives the first mirror image that second server is sent and pulls instruction, the first mirror image pulls instruction for pulling the container mirror of the first application As file;Second server is the server for the container instance for creating newly-increased first application;Instruction is pulled according to the first mirror image, is led to Cross the container image file that communication interface 42 returns to the first application to second server.
Optionally, processor 41 are additionally operable to when first server needs to create the container instance of the second application and work as When the container image file of second application is stored in first server, according to the container mirror image text of the second of storage the application Part creates the container instance of the second application.
Optionally, processor 41 is additionally operable to when first server needs to create the container instance of the second application and works as When not being stored with the container image file of the second application in first server, by communication interface 42 to layout scheduler dispatches Location inquiry instruction, the address of the server of container image file that address lookup instruction is applied for inquiry storage second;Pass through Communication interface 42 receives the address response instruction of layout scheduler dispatches, and address response instructs the address for including third server, Third server is the server for the container image file for being stored with the second application;It is instructed according to address response, is connect by communication Mouth 42 sends the second mirror image to third server and pulls instruction, and the second mirror image pulls instruction for pulling the container mirror of the second application As file;The container image file of the second application of third server return is received by communication interface 42;According to the second application Container image file, create second application container instance.
Optionally, processor 41 are additionally operable to obtain the occupancy of the memory space of first server;Memory space is used to deposit Storage container image file;And when occupancy is more than first threshold, according to preset rules cleaning memory space, preset rules are used for Not used container image file in instruction cleaning preset time.
Optionally, processor 41 are additionally operable to when the occupancy for clearing up memory space to memory space is less than second threshold, Stop cleaning memory space.
Optionally, the layout scheduler of the present embodiment further includes memory 43, and memory 43 performs application for storing The code of container instance creation method, processor 41 are used for the code that memory 43 is called to store and perform said program.
The server of the present embodiment can be used for performing the technology that server performs in the above-mentioned each method embodiment of the present invention Scheme, implementing principle and technical effect are similar, and details are not described herein again.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Aforementioned program can be stored in a computer read/write memory medium.The journey Sequence when being executed, performs the step of including above-mentioned each method embodiment;And aforementioned storage medium includes:Read-only memory (English: Read-Only Memory, referred to as:ROM), random access memory (English:Random Access Memory, referred to as: RAM), the various media that can store program code such as magnetic disc or CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe is described in detail the present invention with reference to foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its according to Can so modify to the technical solution recorded in foregoing embodiments either to which part or all technical features into Row equivalent replacement;And these modifications or replacement, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (20)

1. a kind of container instance creation method of application, which is characterized in that including:
Layout scheduler receives applicating medium packet, and the applicating medium packet includes the container image file of the application and application is compiled Row's description file, described using layout to describe file and be used to indicate to need the number of the container instance of the application that creates be N; The N is the integer more than or equal to 1;
The layout scheduler describes file according to the application layout, sends mirror image push instruction, institute to N number of server respectively The container image file that mirror image push instruction includes the application is stated, the mirror image push instruction is used to indicate the storage application Container image file;
When needing to create the container instance of the application, the layout scheduler sends to N number of server create respectively Instruction, it is described to create the container reality for instructing and being used to indicate and the application being created according to the container image file of the application of storage Example.
2. according to the method described in claim 1, it is characterized in that, the layout scheduler is according to the application layout description text Part respectively after N number of server sends mirror image push instruction, further includes:
The layout scheduler determines to back up M server of the container image file of the application, the M be more than or equal to 1 integer;
The layout scheduler sends the mirror image push instruction to the M server respectively.
3. method according to claim 1 or 2, which is characterized in that further include:
When the number increase of the container instance of the application, the layout scheduler receives the appearance for creating the newly-increased application The address lookup instruction that the server of device example is sent, described address inquiry instruction store the mirror image text of the application for inquiring The address of the server of part;
The server of the layout scheduler to the container instance for creating the newly-increased application sends address response instruction, Described address response instruction includes the address of a server in N number of server.
4. a kind of container instance creation method of application, which is characterized in that including:
First server receives the mirror image push instruction of layout scheduler dispatches, and the mirror image push instruction includes the first application Container image file, the mirror image push instruction are used to indicate the container image file for storing first application;
The first server is pushed according to the mirror image and is instructed, the container image file of storage first application;
When needing to create the container instance of first application, the first server receives the layout scheduler dispatches Instruction is created, the establishment instruction is used to indicate creates described first according to the container image file of first application of storage The container instance of application;
The first server creates institute according to the container image file of first application for creating and instructing and storing State the container instance of the first application.
5. it according to the method described in claim 4, it is characterized in that, further includes:
When the number of the container instance of the described first application needs to reduce, the first server shuts down first application Container instance.
6. it according to the method described in claim 4, it is characterized in that, further includes:
When the number increase of the container instance of the described first application, the first server receive that second server sends the One mirror image pulls instruction, and first mirror image pulls instruction for pulling the container image file of first application;Described Two servers are the server for the container instance for creating newly-increased first application;
The first server pulls instruction according to first mirror image and returns to first application to the second server Container image file.
7. according to the method described in claim 4-6 any one, which is characterized in that need establishment in the first server During the container instance of two applications, the method further includes:
When the container image file that second application is stored in the first server, the first server is according to depositing The container image file of second application of storage creates the container instance of second application.
8. according to the method described in claim 4-6 any one, which is characterized in that need establishment in the first server During the container instance of two applications, the method further includes:
When the container image file for not being stored with second application in the first server, the first server is to institute The instruction of layout scheduler dispatches address lookup is stated, described address inquiry instruction stores the container mirror of second application for inquiring As the address of the server of file;
The first server receives the address response instruction of the layout scheduler dispatches, and described address response instruction includes the The address of three servers, the third server are the server for the container image file for being stored with second application;
The first server is instructed according to address response, and sending the second mirror image to the third server pulls instruction, described Second mirror image pulls instruction for pulling the container image file of second application;
The first server receives the container image file of second application that the third server returns;
The first server creates the described second container instance applied according to the container image file of the described second application.
9. according to the method described in claim 4-8 any one, which is characterized in that further include:
The first server obtains the occupancy of the memory space of the first server;The memory space holds for storing Device image file;
When the occupancy is more than first threshold, the first server clears up the memory space according to preset rules, described Preset rules are used to indicate not used container image file in cleaning preset time.
10. it according to the method described in claim 9, it is characterized in that, further includes:
When the occupancy for clearing up the memory space to the memory space is less than second threshold, the first server stops Clear up the memory space.
11. a kind of layout scheduler, which is characterized in that including:
Receiving module, for receiving applicating medium packet, the applicating medium packet includes the container image file of the application and answers File described with layout, it is described to describe file using layout and be used to indicate the number of the container instance of the application that needs to create For N;The N is the integer more than or equal to 1;
Sending module for describing file according to the application layout, sends mirror image push instruction, institute to N number of server respectively The container image file that mirror image push instruction includes the application is stated, the mirror image push instruction is used to indicate the storage application Container image file;And when needing to create the container instance of the application, send create to N number of server respectively Instruction, it is described to create the container reality for instructing and being used to indicate and the application being created according to the container image file of the application of storage Example.
12. layout scheduler according to claim 11, which is characterized in that further include:
Determining module for describing file according to the application layout in the sending module, is sent out to N number of server respectively After sending mirror image push instruction, M server of the container image file of the backup application is determined, the M is is more than or waits In 1 integer;
The sending module is additionally operable to send the mirror image push instruction to the M server respectively.
13. the layout scheduler according to claim 11 or 12, which is characterized in that the receiving module is additionally operable to work as institute When stating the number increase of the container instance of application, the ground that the server for the container instance for creating the newly-increased application is sent is received Location inquiry instruction, described address inquiry instruction store the address of the server of the image file of the application for inquiry;
The sending module is additionally operable to send address response to the server of the container instance for creating the newly-increased application Instruction, described address response instruction include the address of a server in N number of server.
14. a kind of server, which is characterized in that including:
Receiving module, for receiving the push instruction of the mirror image of layout scheduler dispatches, the mirror image push instruction includes first should Container image file, the mirror image push instruction are used to indicate the container image file for storing first application;
Memory module instructs for being pushed according to the mirror image, the container image file of storage first application;
The receiving module is additionally operable to, when needing to create the container instance of first application, receive the layout scheduler The establishment instruction of transmission, the container image file establishment institute for creating first application that instruction is used to indicate according to storage State the container instance of the first application;
Processing module for creating the container image file of first application for instructing and storing according to described, creates institute State the container instance of the first application.
15. server according to claim 14, which is characterized in that the processing module is additionally operable to when described first should When the number of container instance needs to reduce, the container instance of first application is shut down.
16. server according to claim 14, which is characterized in that
The receiving module is additionally operable to, when the number increase of the container instance of the described first application, receive second server hair The first mirror image sent pulls instruction, and first mirror image pulls instruction for pulling the container image file of first application; The second server is the server for the container instance for creating newly-increased first application;
The server further includes:Sending module returns for pulling instruction according to first mirror image to the second server Return the container image file of first application.
17. according to the server described in claim 14-16 any one, which is characterized in that the processing module is additionally operable to When the first server needs to create the container instance of the second application and when being stored with described the in the first server During the container image file of two applications, according to the container image file of second application of storage, second application is created Container instance.
18. according to the server described in claim 14-16 any one, which is characterized in that further include:Sending module;
The sending module, for when the first server needs to create the container instance of the second application and when described When not being stored with the container image file of second application in first server, to the layout scheduler dispatches address lookup Instruction, the address of the server of container image file that described address inquiry instruction is applied for inquiry storage described second;
The receiving module is additionally operable to receive the address response instruction of the layout scheduler dispatches, described address response instruction Include the address of third server, the third server is the service for the container image file for being stored with second application Device;
The sending module is additionally operable to be instructed according to address response, and sending the second mirror image to the third server pulls instruction, Second mirror image pulls instruction for pulling the container image file of second application;
The receiving module is additionally operable to receive the container image file of second application that the third server returns;
The processing module is additionally operable to the container image file according to the described second application, creates the container of second application Example.
19. according to the server described in claim 14-18 any one, which is characterized in that the processing module is additionally operable to obtain Take the occupancy of the memory space of the first server;The memory space is used for storage container image file;And work as institute Occupancy is stated more than first threshold, clears up the memory space according to preset rules, it is pre- that the preset rules are used to indicate cleaning If not used container image file in the time.
20. server according to claim 19, which is characterized in that the processing module is additionally operable to deposit when described in cleaning When the occupancy for storing up space to the memory space is less than second threshold, stop clearing up the memory space.
CN201611178866.7A 2016-12-19 2016-12-19 Application container instance creation method and device Active CN108205481B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611178866.7A CN108205481B (en) 2016-12-19 2016-12-19 Application container instance creation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611178866.7A CN108205481B (en) 2016-12-19 2016-12-19 Application container instance creation method and device

Publications (2)

Publication Number Publication Date
CN108205481A true CN108205481A (en) 2018-06-26
CN108205481B CN108205481B (en) 2022-03-08

Family

ID=62602368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611178866.7A Active CN108205481B (en) 2016-12-19 2016-12-19 Application container instance creation method and device

Country Status (1)

Country Link
CN (1) CN108205481B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298898A (en) * 2018-08-24 2019-02-01 深圳职业技术学院 Cloud computing resources method of automatic configuration and device
CN109491776A (en) * 2018-11-06 2019-03-19 北京百度网讯科技有限公司 Task method of combination and system
CN110275717A (en) * 2019-05-17 2019-09-24 平安科技(深圳)有限公司 Privately owned echo cloning method, apparatus, computer equipment and storage medium
CN110417856A (en) * 2019-06-18 2019-11-05 平安科技(深圳)有限公司 Expansion method, device, equipment and the storage medium of more live load equilibrium applications
CN110727503A (en) * 2019-10-17 2020-01-24 科大讯飞(苏州)科技有限公司 Container deployment method, device, equipment, storage medium and container deployment system
CN111464603A (en) * 2020-03-24 2020-07-28 聚好看科技股份有限公司 Server capacity expansion method and system
CN111552541A (en) * 2020-04-30 2020-08-18 北京思特奇信息技术股份有限公司 Method, system and computer storage medium for realizing scheduling through command bridge factory
CN112015698A (en) * 2020-08-26 2020-12-01 北京金山云网络技术有限公司 Method and device for cleaning mirror image data and electronic equipment
CN113961314A (en) * 2021-12-16 2022-01-21 苏州浪潮智能科技有限公司 Container application scheduling method and device, electronic equipment and storage medium
CN115562691A (en) * 2022-12-05 2023-01-03 中科南京信息高铁研究院 Container-based cloud application publishing method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176831A (en) * 2011-12-22 2013-06-26 中国移动通信集团公司 Virtual machine system and management method thereof
US20150248306A1 (en) * 2011-12-06 2015-09-03 International Business Machines Corporation Hidden automated data mirroring for native interfaces in distributed virtual machines
CN105245373A (en) * 2015-10-12 2016-01-13 天津市普迅电力信息技术有限公司 Construction and operation method of container cloud platform system
CN105743669A (en) * 2014-12-09 2016-07-06 中兴通讯股份有限公司 Data communication method and apparatus
CN105740048A (en) * 2016-01-26 2016-07-06 华为技术有限公司 Image management method, device and system
CN106020930A (en) * 2016-05-13 2016-10-12 深圳市中润四方信息技术有限公司 Application container based application management method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150248306A1 (en) * 2011-12-06 2015-09-03 International Business Machines Corporation Hidden automated data mirroring for native interfaces in distributed virtual machines
CN103176831A (en) * 2011-12-22 2013-06-26 中国移动通信集团公司 Virtual machine system and management method thereof
CN105743669A (en) * 2014-12-09 2016-07-06 中兴通讯股份有限公司 Data communication method and apparatus
CN105245373A (en) * 2015-10-12 2016-01-13 天津市普迅电力信息技术有限公司 Construction and operation method of container cloud platform system
CN105740048A (en) * 2016-01-26 2016-07-06 华为技术有限公司 Image management method, device and system
CN106020930A (en) * 2016-05-13 2016-10-12 深圳市中润四方信息技术有限公司 Application container based application management method and system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298898A (en) * 2018-08-24 2019-02-01 深圳职业技术学院 Cloud computing resources method of automatic configuration and device
CN109298898B (en) * 2018-08-24 2022-04-26 深圳职业技术学院 Automatic configuration method and device for cloud computing resources
CN109491776A (en) * 2018-11-06 2019-03-19 北京百度网讯科技有限公司 Task method of combination and system
CN109491776B (en) * 2018-11-06 2022-05-31 北京百度网讯科技有限公司 Task arranging method and system
CN110275717A (en) * 2019-05-17 2019-09-24 平安科技(深圳)有限公司 Privately owned echo cloning method, apparatus, computer equipment and storage medium
CN110275717B (en) * 2019-05-17 2024-03-22 平安科技(深圳)有限公司 Private image cloning method, private image cloning device, computer equipment and storage medium
CN110417856B (en) * 2019-06-18 2022-04-26 平安科技(深圳)有限公司 Capacity expansion method, device, equipment and storage medium for multi-active load balancing application
CN110417856A (en) * 2019-06-18 2019-11-05 平安科技(深圳)有限公司 Expansion method, device, equipment and the storage medium of more live load equilibrium applications
CN110727503A (en) * 2019-10-17 2020-01-24 科大讯飞(苏州)科技有限公司 Container deployment method, device, equipment, storage medium and container deployment system
CN110727503B (en) * 2019-10-17 2021-04-20 科大讯飞(苏州)科技有限公司 Container deployment method, device, equipment, storage medium and container deployment system
CN111464603B (en) * 2020-03-24 2022-03-29 聚好看科技股份有限公司 Server capacity expansion method and system
CN111464603A (en) * 2020-03-24 2020-07-28 聚好看科技股份有限公司 Server capacity expansion method and system
CN111552541A (en) * 2020-04-30 2020-08-18 北京思特奇信息技术股份有限公司 Method, system and computer storage medium for realizing scheduling through command bridge factory
CN111552541B (en) * 2020-04-30 2023-11-10 北京思特奇信息技术股份有限公司 Method, system and computer storage medium for implementing scheduling by command bridge factory
CN112015698A (en) * 2020-08-26 2020-12-01 北京金山云网络技术有限公司 Method and device for cleaning mirror image data and electronic equipment
CN113961314A (en) * 2021-12-16 2022-01-21 苏州浪潮智能科技有限公司 Container application scheduling method and device, electronic equipment and storage medium
CN115562691A (en) * 2022-12-05 2023-01-03 中科南京信息高铁研究院 Container-based cloud application publishing method and system

Also Published As

Publication number Publication date
CN108205481B (en) 2022-03-08

Similar Documents

Publication Publication Date Title
CN108205481A (en) The container instance creation method and device of application
EP2288975B1 (en) Method for optimizing cleaning of maps in flashcopy cascades containing incremental maps
CN102546782B (en) Distribution system and data operation method thereof
US20160232055A1 (en) Methods for distributing erasure-coded fragments in a geo-distributed storage system and devices thereof
US9009273B2 (en) Address server
WO2013152358A1 (en) Consistent ring namespaces facilitating data storage and organization in network infrastructures
CN102158540A (en) System and method for realizing distributed database
CN110109649A (en) For container control method, device and the containment system of Web service
CN107656939A (en) File wiring method and device
CN104660643A (en) Request response method and device and distributed file system
CN104899161B (en) A kind of caching method of the continuous data protection based on cloud storage environment
CN108427728A (en) Management method, equipment and the computer-readable medium of metadata
CN103942126B (en) Electronic equipment and its data back up method
CN104182439A (en) File automatic-cleaning method and device
CN109032788B (en) Reserved resource pool dynamic dispatching method, device, computer equipment and storage medium
CN105573788B (en) The method and apparatus of patch processing and the method and apparatus for generating patch
US11231859B2 (en) Providing a RAID resiliency set from a plurality of storage devices
CN105681426B (en) Heterogeneous system
CN105306570B (en) A kind of storage method of company-data
CN111694641A (en) Storage management method and system for container application
US9395930B2 (en) Information processing system, control method of information processing system, and recording medium
JP2012123816A (en) Scheduler
CN109324867A (en) A kind of virtual machine temporary storage method, restoration methods and device
CN109241110A (en) Order management method and system, electronic equipment, storage medium
CN109976897A (en) A kind of dispositions method, data interactive method and the corresponding intrument of big data cluster

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