CN109343963A - A kind of the application access method, apparatus and relevant device of container cluster - Google Patents

A kind of the application access method, apparatus and relevant device of container cluster Download PDF

Info

Publication number
CN109343963A
CN109343963A CN201811278496.3A CN201811278496A CN109343963A CN 109343963 A CN109343963 A CN 109343963A CN 201811278496 A CN201811278496 A CN 201811278496A CN 109343963 A CN109343963 A CN 109343963A
Authority
CN
China
Prior art keywords
application
request
target container
application access
load balancing
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
CN201811278496.3A
Other languages
Chinese (zh)
Other versions
CN109343963B (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.)
Hangzhou Dt Dream Technology Co Ltd
Original Assignee
Hangzhou Dt Dream Technology 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 Hangzhou Dt Dream Technology Co Ltd filed Critical Hangzhou Dt Dream Technology Co Ltd
Priority to CN201811278496.3A priority Critical patent/CN109343963B/en
Publication of CN109343963A publication Critical patent/CN109343963A/en
Application granted granted Critical
Publication of CN109343963B publication Critical patent/CN109343963B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system

Abstract

This application discloses a kind of application access methods of container cluster, including container cluster management platform, and request to create to be applied to create load balancing application based on the received;It will be issued to predetermined quantity target container node using request to create, so that each target container node creates application example according to application request to create;Wherein, load balancing is using corresponding with each target container node;When receiving application access request, application access request is forwarded to load balancing application, so that load balancing, which is applied, is issued to each target container node realization application access for application access request;This method can reduce network address translation number when carrying out application access, further improve application access efficiency, and effectively reduce the network pressure of system.Disclosed herein as well is a kind of application access device of container cluster, system, container cluster management platform and computer readable storage mediums, all have above-mentioned beneficial effect.

Description

A kind of the application access method, apparatus and relevant device of container cluster
Technical field
This application involves container technical field, in particular to a kind of application access method of container cluster further relates to one kind Application access device, system, container cluster management platform and the computer readable storage medium of container cluster.
Background technique
Usually multiple servers or virtual robot arm are mentioned at cluster for user using the cloud computing system of container technique For the service of creation container application, for the high availability for guaranteeing container application, cloud computing system generally will use the fortune of more examples Line mode runs the container application of multiple same services in the cluster, and is provided by external loading balanced device for user Single access entrance.
Referring to FIG. 1, Fig. 1 is the structural schematic diagram of the application access system of container cluster in the prior art, general feelings Under condition, capacitor network will use the isolation of NameSpace to guarantee resource isolation and its safety, and container technique is reflected using port The mode penetrated by serve port be mapped to under the same NameSpace of host, at this time by reflecting under the same NameSpace of host It penetrates rear port access container application and then needs to convert the NameSpace that just can enter container, therefore load balancing by primary network Device will enter container application using network address translation after flow load to rear end clustered node and realize application access.
However, as container is applied and the increase of container application example, the network address translation table item of host also can be with Increase, the performance of flow forwarding can be reduced in this way, primary common application access may pass through multiple network address translation, Application access efficiency is not only reduced, corresponding traffic distribution also increases network pressure to a certain extent;Meanwhile host Machine inadequate resource, the migration of container application, many situations of modification application example etc. can all cause container application example information and State change, external load balancer can not be perceived and be handled in time;Further, since external load balancer needs cloud meter The support of calculation system, different cloud computing systems be not also identical for the realization of external loading equilibrium, therefore suitability and general Property is poor.
Therefore, how network address translation number is reduced when carrying out application access, further increase application access efficiency, And the network pressure that system is effectively reduced is those skilled in the art's urgent problem to be solved.
Summary of the invention
The purpose of the application is to provide a kind of application access method of container cluster, which can answered Network address translation number is reduced when with access, further increases application access efficiency, and the network pressure of system is effectively reduced; The another object of the application is to provide application access device, system, container cluster management platform and the meter of a kind of container cluster Calculation machine readable storage medium storing program for executing, it may have above-mentioned beneficial effect.
In order to solve the above technical problems, the application is visited this application provides a kind of application access method of container cluster The method of asking includes:
Container cluster management platform applies request to create to create load balancing application based on the received;
The application request to create is issued to predetermined quantity target container node, so that each target container section Point creates application example according to the application request to create;Wherein, the load balancing is applied and each target container section Point is corresponding;
When receiving application access request, application access request is forwarded to the load balancing application, so that The load balancing, which is applied, is issued to each target container node realization application access for application access request.
Preferably, described that the application request to create is issued to predetermined quantity target container node, so that each institute It states target container node and application example is created according to the application request to create, comprising:
Deconsolidation process is carried out to the application request to create, obtains the predetermined quantity height application request to create;
Each son is parsed using request to create, obtains the IP address of each target container node;
Each son is issued to corresponding target container node using request to create according to each IP address, with Each target container node is set to create the application example using request to create according to the son.
Preferably, the load balancing, which is applied, is issued to each target container node reality for application access request Existing application access, comprising:
The application access is requested to carry out deconsolidation process, obtains the sub- application access request of the predetermined quantity;
Each sub- application access request is parsed, the IP address of each target container node is obtained;
Each sub- application access request is issued to corresponding target container node reality according to each IP address Existing application access.
Preferably, the application access method further include:
When receiving using removal request, the load balancing application is deleted according to the application removal request;
The application removal request is issued to each target container node, so that each target container node Delete the application example.
Preferably, the application access method further include:
The example state of application example in each target container node of load balancing application timing acquisition;
When the example state is changed, itself configuration is updated according to example state after change.
Preferably, the application access method further include:
The load balancing application timing holds node to the target and carries out quantity statistics;
When the quantity of the target container node increases and decreases, itself matched according to the target container node updates after increase and decrease It sets.
In order to solve the above technical problems, the application is visited this application provides a kind of application access device of container cluster Ask that device includes:
Load balancing application creation module, for creating load balancing application using request to create based on the received;
Application example creation module, for the application request to create to be issued to predetermined quantity target container node, So that each target container node creates application example according to the application request to create;Wherein, the load balancing is answered With corresponding with each target container node;
Application access module, for application access request being forwarded to described when receiving application access request Load balancing application, so that the load balancing, which is applied, is issued to each target container node for application access request Realize application access.
In order to solve the above technical problems, this application provides a kind of container cluster management platform, the container cluster management Platform includes:
Memory, for storing computer program;
Processor realizes the application access method of any one of the above container cluster when for executing the computer program The step of.
In order to solve the above technical problems, the application is visited this application provides a kind of application access system of container cluster The system of asking includes:
Container cluster management platform, for creating load balancing application using request to create based on the received;It is answered by described in It is issued to predetermined quantity target container node with request to create, so that each target container node is created according to the application Build request creation application example;Wherein, the load balancing is using corresponding with each target container node;When receiving When application access is requested, application access request is forwarded to the load balancing application, so that the load balancing application Application access request is issued to each target container node and realizes application access;
The load balancing application, the application access request for sending the container cluster management platform issue Application access is realized to each target container node;
Each target container node, the application request to create wound for being issued according to the container cluster management platform Build application example;And it receives the application access that the load balancing application issues and requests to realize application access.
In order to solve the above technical problems, this application provides a kind of computer readable storage medium, it is described computer-readable Computer program is stored on storage medium, the computer program realizes any one of the above sets of containers when being executed by processor The step of application access method of group.
A kind of application access method of container cluster provided herein, including container cluster management platform is according to reception Application request to create create load balancing application;The application request to create is issued to predetermined quantity target container section Point, so that each target container node creates application example according to the application request to create;Wherein, the load balancing Using corresponding with each target container node;When receiving application access request, application access request is turned It is sent to the load balancing application, so that the load balancing, which is applied, is issued to each target for application access request Container node realizes application access.
As it can be seen that the application access method of container cluster provided herein, container cluster management platform is according to application While request to create creation application, create a load balancer, which will be used as a container application, i.e., on Stating load balancing applies the container application with creation needed for user to be under identical network environment, under the network environment, one A load balancing, which is applied, corresponds to a container application, and the rear end of load balancing application can be pointing directly at container application as a result, The network of example no longer needs to carry out network address translation in the prior art, directly progress application access, effectively increases Application access efficiency, while flow hop count is decreased, reduce grid pressure.
Application access device, system, container cluster management platform and the meter of a kind of container cluster provided herein Calculation machine readable storage medium storing program for executing, all has above-mentioned beneficial effect, details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the structural schematic diagram of the application access system of container cluster in the prior art;
Fig. 2 is a kind of flow diagram of the application access method of container cluster provided herein;
Fig. 3 is a kind of flow diagram using request to create delivery method provided herein;
Fig. 4 is the flow diagram that a kind of application access provided herein requests delivery method;
Fig. 5 is a kind of structural schematic diagram of the application access device of container cluster provided herein;
Fig. 6 is a kind of structural schematic diagram of container cluster management platform provided herein;
Fig. 7 is a kind of structural schematic diagram of the application access system of container cluster provided herein.
Specific embodiment
The core of the application is to provide a kind of application access method of container cluster, which can answered Network address translation number is reduced when with access, further increases application access efficiency, and the network pressure of system is effectively reduced; Another core of the application is to provide application access device, system, container cluster management platform and the meter of a kind of container cluster Calculation machine readable storage medium storing program for executing, it may have above-mentioned beneficial effect.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art All other embodiment obtained without making creative work, shall fall in the protection scope of this application.
In prior art, when needing to access to the container application in cloud computing system, need negative by outside It carries balanced device and loads to application access request after the clustered node of rear end and enter container application realization using network address translation Application access.However, as container is applied and the increase of container application example, the network address translation table item of host also can be with Increase, the performance of flow forwarding can be reduced in this way, primary common application access may pass through multiple network address translation, Application access efficiency is not only reduced, corresponding traffic distribution also increases network pressure to a certain extent.On solving Problem is stated, this application provides a kind of application access method of container cluster, which can carry out application access When reduce network address translation number, further improve application access efficiency, and effectively reduce the network pressure of system.
Referring to FIG. 1, Fig. 1 is a kind of flow diagram of the application access method of container cluster provided herein, The application access method may include:
S101: container cluster management platform applies request to create to create load balancing application based on the received;
Specifically, when needing to create container in container cluster in application, can will send out using request to create by host It send to container cluster management platform;Further, container cluster management platform can apply request to create in container cluster according to this One load balancing application of middle creation, to realize issuing for subsequent applications access request by load balancing application, thus real Existing application access.
S102: the application request to create is issued to predetermined quantity target container node, so that each target Container node creates application example according to the application request to create;Wherein, the load balancing is applied and each target Container node is corresponding;
Specifically, received application request to create can be issued to predetermined quantity target container by container cluster management platform Node, wherein above-mentioned target container node is the container node for needing to create container application in container cluster;Further, mesh Mark container node can create application example according to the application request to create received, to complete the creation of container application.
Wherein, for the specific value of above-mentioned predetermined quantity, the application is not specifically limited, and a target container node can For creating an application example, but these application examples belong to the same container application, the appearance created as needed as a result, Device application in application example quantity you can learn that target container node quantity.
In addition, it should be noted that, above-mentioned load balancing apply with each target container node be it is mutual corresponding, i.e., one A load balancing, which is applied, corresponds to all target container nodes for being used to create application example, and these application examples belong to In a container application, therefore, a load balancing, which is applied, corresponds to a container application.
Also it should be noted is that, applied about container in the creation of load balancing application in above-mentioned S101 and S102 Creation, the execution sequence of the two in no particular order, can also first carry out the creation of container application, the rear wound for executing load balancing application It builds, can also be performed simultaneously, the application is not specifically limited in this embodiment.
Further, referring to FIG. 3, Fig. 3 is that a kind of process using request to create delivery method provided herein is shown It is intended to, it is preferred that it is above-mentioned to be issued to predetermined quantity target container node using request to create, so that each target container section Point creates application example according to application request to create, may include:
S201: deconsolidation process is carried out to application request to create, obtains predetermined quantity height application request to create;
S202: parsing each height application request to create, obtains the IP address of each target container node;
S203: being issued to corresponding target container node for each height application request to create according to each IP address, so that Each target container node creates application example using request to create according to son.
Specifically, due to creating a container in application, may need to complete the appearance by multiple target container nodes In device application therefore the creation of each application example when issuing using request to create, first can carry out deconsolidation process to it, with Predetermined quantity height application request to create is obtained, that is, corresponds to above-mentioned predetermined quantity target container node;It further, can be to each Height application request to create carries out dissection process, with obtaining the IP for needing to create the target container node of application example accordingly Location;Each height application request to create can be issued in corresponding target container node according to IP address as a result, thus The creation that application example is completed by target container node further realizes the creation of container application.
S103: when receiving application access request, being forwarded to the load balancing application for application access request, So that the load balancing, which is applied, is issued to each target container node realization application access for application access request.
Specifically, user again may be by host to be requested to send by application access when needing to carry out application access To container cluster management platform, container cluster management platform can request the application access to be forwarded to load balancing application, by Load balancing is applied and carries out load balance process to it, and is issued to each target container node directly to realize using visit It asks.It is applied due to load balancing and is under the same network environment with each target container node, application access request Issue process without carrying out network address translation, directly carry out application access, effectively increase application access efficiency.
Further, referring to FIG. 4, Fig. 4 is that a kind of application access provided herein requests the process of delivery method to be shown It is intended to, it is preferred that above-mentioned load balancing, which is applied, is issued to each target container node realization application access for application access request, May include:
S301: carrying out deconsolidation process to application access request, obtains the sub- application access request of predetermined quantity;
S302: each sub- application access request is parsed, the IP address of each target container node is obtained;
S303: each sub- application access request is issued to by corresponding target container node realization according to each IP address and is answered With access.
Specifically, deconsolidation process first can be carried out to application access request when accessing to the container application created, To obtain the sub- application access request of predetermined quantity, that is, correspond to above-mentioned predetermined quantity target container node;It further, can be right Each sub- application access request carries out dissection process, obtains the IP address for the target container node for needing to access accordingly;As a result, Each sub- application access request can be issued in each corresponding target container node according to IP address, to realize application Access.
It should be noted that the access process for issuing process and corresponding to container application of above-mentioned application access request, i.e., in fact Existing is the access to whole container application.Certainly, the technical program equally can be achieved some applied to container or certain answer With the access of example, i.e., to the access of some or certain target container nodes, at this point, carrying out deconsolidation process to application access request When, it can be obtained the sub- application access request of corresponding quantity, this little application access request corresponds to mesh to be visited Mark container node.
In addition, it is necessary to the creation process that container is applied in explanation, above-mentioned S101 and S102, without being answered in each container It is executed in access process, above-mentioned two step is indicated that creates corresponding load while container application creates Weighing apparatus application, is applied with proof load equilibrium and is applied in consolidated network environment with container, to avoid the converted of network address Journey.And the access of the application of the container for having created, it directlys adopt S103 and accesses.
The application access method of container cluster provided herein, container cluster management platform are asked according to using creation While asking creation to apply, a load balancer is created, which will be used as a container application, i.e., above-mentioned load Equilibrium application and the container application of creation needed for user are under identical network environment, under the network environment, a load Equilibrium application corresponds to a container application, and the rear end of load balancing application can be pointing directly at container application example as a result, Network no longer needs to carry out network address translation in the prior art, directly progress application access, effectively increases using visit It asks efficiency, while decreasing flow hop count, reduce grid pressure.
On the basis of the various embodiments described above,
As a kind of preferred embodiment, which can also include: the root when receiving using removal request Load balancing application is deleted according to application removal request;It will be issued to each target container node using removal request, so that Each target container knot removal application example.
Specifically, user can similarly be sent by host when needing to delete the container application created It is to be deleted using removal request deletion according to this by container cluster management platform using removal request to container cluster management platform Container applies corresponding load balancing application, and this is issued to each target container node using removal request, to delete certainly The application example of body creation, to complete the deletion of container application.Wherein, the deleted container application of above-mentioned needs is to be not necessarily to Carry out again using container application.
Certainly, above-mentioned application request to create and application visit be can refer to using the mode that specifically issues of removal request for above-mentioned Ask the mode that issues of request, details are not described herein by the application.
As a kind of preferred embodiment, which can also include: above-mentioned load balancing application timing acquisition The example state of application example in each target container node;When example state is changed, according to example state after change Update itself configuration.
Specifically, load balancing application can also in each target container node of timing acquisition application example example state, Such as occur to increase, delete, modification, it, then can be according to the example state after change to certainly if example state has been changed The configuration of body is updated, to guarantee to request correspondence to be sent to corresponding target container section the application access of subsequent acquisition Point.
Preferably, which can also include: that above-mentioned load balancing application timing holds node progress to target Quantity statistics;When the quantity of target container node increases and decreases, configured according to the target container node updates after increase and decrease itself.
Further, load balancing application can also periodically count the quantity of target container node, when target container section When the quantity of point occurs to increase or delete, then illustrates that the application example of container application is also increased or deleted, therefore, may be used also Further the configuration of itself is updated according to the target container node after increase and decrease, equally certifiable application access request and mesh Mark the correspondence of container node.
It should be noted that can be carried out according to actual needs by user pre- for the specific time value of above-mentioned timing First set, the application to this without limitation.
To solve the above problems, referring to FIG. 5, the application access that Fig. 5 is a kind of container cluster provided herein fills The structural schematic diagram set, the application access device can include:
Load balancing application creation module 1, for creating load balancing application using request to create based on the received;
Application example creation module 2, for request to create will to be applied to be issued to predetermined quantity target container node, so that Each target container node creates application example according to application request to create;Wherein, load balancing is applied and each target container Node is corresponding;
Application access module 3, for when receiving application access request, application access request to be forwarded to load balancing Using so that load balancing, which is applied, is issued to each target container node realization application access for application access request.
As a kind of preferred embodiment, above-mentioned application example creation module 2 may include:
Submodule is split, for carrying out deconsolidation process to application request to create, predetermined quantity height is obtained and is asked using creation It asks;
Analyzing sub-module obtains the IP of each target container node for parsing to each height application request to create Address;
Submodule is issued, for each height application request to create to be issued to corresponding target container according to each IP address Node, so that each target container node creates application example using request to create according to son.
As a kind of preferred embodiment, which may also include that
Using removing module, for deleting load balancing according to application removal request when receiving using removal request Using;It will be issued to each target container node using removal request, so that each target container knot removal application example.
Above method embodiment is please referred to for the introduction of device provided by the present application, this will not be repeated here by the application.
To solve the above problems, referring to FIG. 6, Fig. 6 is a kind of knot of container cluster management platform provided herein Structure schematic diagram, the container cluster management platform can include:
Memory 11, for storing computer program;
Processor 12, realizes following steps when for executing computer program:
Load balancing application is created using request to create based on the received;Predetermined quantity will be issued to using request to create Target container node, so that each target container node creates application example according to application request to create;Wherein, load balancing is answered With corresponding with each target container node;When receiving application access request, it is equal that application access request is forwarded to load Weighing apparatus application, so that load balancing, which is applied, is issued to each target container node realization application access for application access request.
Above method embodiment is please referred to for the introduction of equipment provided by the present application, this will not be repeated here by the application.
To solve the above problems, referring to FIG. 7, Fig. 7 is a kind of application access system of container cluster provided herein The structural schematic diagram of system, the application access system can include:
Container cluster management platform 10, for applying 20 using request to create creation load balancing based on the received;It will answer It is issued to predetermined quantity target container node 30 with request to create, so that each target container node 30 is asked according to using creation Seek creation application example;Wherein, load balancing is corresponding with each target container node 30 using 20;When receiving application access When request, application access request is forwarded to load balancing using 20, so that load balancing requests down application access using 20 It is sent to each target container node 30 and realizes application access;
Load balancing applies 20, and the application access request for sending container cluster management platform 10 is issued to each mesh It marks container node 30 and realizes application access;
Each target container node 30, the application request to create creation for being issued according to container cluster management platform 10 are answered Use example;And the application access that balancing received load is issued using 20 is requested to realize application access.
It should be noted that the application access system of container cluster provided in Fig. 7 is only to create and access one It is listed for a container application, when it is multiple that container, which is applied, then the corresponding multiple load balancing of creation is applied 20, and each Load balancing both corresponds to multiple target container nodes 30 using 20.
As a kind of preferred embodiment, above-mentioned load balancing can be specifically used for splitting to using access request using 20 Processing obtains the sub- application access request of predetermined quantity;Each sub- application access request is parsed, each target is obtained and holds The IP address of device node;Each sub- application access request is issued to corresponding target container node 30 in fact according to each IP address Existing application access.
As a kind of preferred embodiment, above-mentioned load balancing can also be used in each target container node of timing acquisition using 20 The example state of application example in 30;When example state is changed, itself configuration is updated according to example state after change.
As a kind of preferred embodiment, above-mentioned load balancing can also be used in timing using 20 and count to target appearance node 30 Amount statistics;When the quantity of target container node 30 increases and decreases, itself matched according to the update of target container node 30 after increase and decrease It sets.
Above method embodiment is please referred to for the introduction of system provided by the present application, this will not be repeated here by the application.
To solve the above problems, present invention also provides a kind of computer readable storage medium, the computer-readable storage It is stored with computer program on medium, can be realized when computer program is executed by processor following rapid:
Load balancing application is created using request to create based on the received;Predetermined quantity will be issued to using request to create Target container node, so that each target container node creates application example according to application request to create;Wherein, load balancing is answered With corresponding with each target container node;When receiving application access request, it is equal that application access request is forwarded to load Weighing apparatus application, so that load balancing, which is applied, is issued to each target container node realization application access for application access request.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit Store up the medium of program code.
Above method embodiment is please referred to for the introduction of computer readable storage medium provided by the present application, the application exists This is not repeated them here.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Above to the application access method, apparatus of container cluster provided herein, system, container cluster management platform And computer readable storage medium is described in detail.Used herein principle and implementation of the specific case to the application Mode is expounded, the description of the example is only used to help understand the method for the present application and its core ideas.It should It points out, it for those skilled in the art, can also be to this Shen under the premise of not departing from the application principle Please some improvement and modification can also be carried out, these improvement and modification also fall into the protection scope element of the claim of this application.

Claims (10)

1. a kind of application access method of container cluster characterized by comprising
Container cluster management platform applies request to create to create load balancing application based on the received;
The application request to create is issued to predetermined quantity target container node, so that each target container node root Application example is created according to the application request to create;Wherein, the load balancing is applied and each target container node phase It is corresponding;
When receiving application access request, application access request is forwarded to the load balancing application, so that described Load balancing, which is applied, is issued to each target container node realization application access for application access request.
2. application access method as described in claim 1, which is characterized in that it is described the application request to create is issued to it is pre- Fixed number amount target container node, so that each target container node creates application in fact according to the application request to create Example, comprising:
Deconsolidation process is carried out to the application request to create, obtains the predetermined quantity height application request to create;
Each son is parsed using request to create, obtains the IP address of each target container node;
Each son is issued to corresponding target container node using request to create according to each IP address, so that respectively A target container node creates the application example using request to create according to the son.
3. application access method as described in claim 1, which is characterized in that the load balancing is applied the application access Request is issued to each target container node and realizes application access, comprising:
The application access is requested to carry out deconsolidation process, obtains the sub- application access request of the predetermined quantity;
Each sub- application access request is parsed, the IP address of each target container node is obtained;
Each sub- application access request corresponding target container node realization is issued to according to each IP address to answer With access.
4. application access method as described in claim 1, which is characterized in that further include:
When receiving using removal request, the load balancing application is deleted according to the application removal request;
The application removal request is issued to each target container node, so that each target container knot removal The application example.
5. application access method as described in claim 1, which is characterized in that further include:
The example state of application example in each target container node of load balancing application timing acquisition;
When the example state is changed, itself configuration is updated according to example state after change.
6. application access method as described in claim 1, which is characterized in that further include:
The load balancing application timing holds node to the target and carries out quantity statistics;
When the quantity of the target container node increases and decreases, configured according to the target container node updates after increase and decrease itself.
7. a kind of application access device of container cluster characterized by comprising
Load balancing application creation module, for creating load balancing application using request to create based on the received;
Application example creation module, for the application request to create to be issued to predetermined quantity target container node, so that Each target container node creates application example according to the application request to create;Wherein, the load balancing apply with Each target container node is corresponding;
Application access module, for when receiving application access request, application access request to be forwarded to the load Equilibrium application, so that the load balancing, which is applied, is issued to each target container node realization for application access request Application access.
8. a kind of container cluster management platform characterized by comprising
Memory, for storing computer program;
Processor, the container cluster as described in claim 1 to 6 any one is realized when for executing the computer program The step of application access method.
9. a kind of application access system of container cluster characterized by comprising
Container cluster management platform, for creating load balancing application using request to create based on the received;The application is created It builds request and is issued to predetermined quantity target container node, so that each target container node is asked according to application creation Seek creation application example;Wherein, the load balancing is using corresponding with each target container node;When receiving application When access request, application access request is forwarded to the load balancing application, so that the load balancing is applied institute It states application access request and is issued to each target container node realization application access;
The load balancing application, the application access request for sending the container cluster management platform are issued to each A target container node realizes application access;
Each target container node, the application request to create creation for being issued according to the container cluster management platform are answered Use example;And it receives the application access that the load balancing application issues and requests to realize application access.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes answering for the container cluster as described in claim 1 to 6 any one when the computer program is executed by processor The step of with access method.
CN201811278496.3A 2018-10-30 2018-10-30 Application access method and device for container cluster and related equipment Active CN109343963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811278496.3A CN109343963B (en) 2018-10-30 2018-10-30 Application access method and device for container cluster and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811278496.3A CN109343963B (en) 2018-10-30 2018-10-30 Application access method and device for container cluster and related equipment

Publications (2)

Publication Number Publication Date
CN109343963A true CN109343963A (en) 2019-02-15
CN109343963B CN109343963B (en) 2021-12-07

Family

ID=65313028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811278496.3A Active CN109343963B (en) 2018-10-30 2018-10-30 Application access method and device for container cluster and related equipment

Country Status (1)

Country Link
CN (1) CN109343963B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224860A (en) * 2019-05-17 2019-09-10 平安科技(深圳)有限公司 Load balancing application creation method, device, computer equipment and storage medium
CN110275776A (en) * 2019-05-17 2019-09-24 平安科技(深圳)有限公司 Capacity reduction method, device, computer equipment and the storage medium of container application
CN110286996A (en) * 2019-05-17 2019-09-27 平安科技(深圳)有限公司 Container instance IP switching method, device, computer equipment and storage medium
CN110289982A (en) * 2019-05-17 2019-09-27 平安科技(深圳)有限公司 Expansion method, device, computer equipment and the storage medium of container application
CN110333930A (en) * 2019-04-29 2019-10-15 中国联合网络通信集团有限公司 Digital Platform system
CN110365742A (en) * 2019-06-18 2019-10-22 平安科技(深圳)有限公司 More live load equilibrium application creation methods, device, computer equipment and storage medium
CN110427194A (en) * 2019-06-18 2019-11-08 平安科技(深圳)有限公司 Container application delet method, device, computer equipment and storage medium
CN111131492A (en) * 2019-12-31 2020-05-08 中国联合网络通信集团有限公司 Node access method and system
CN111585805A (en) * 2020-04-30 2020-08-25 中国平安财产保险股份有限公司 Smooth release upgrading method and device, computer system and readable storage medium
WO2020232887A1 (en) * 2019-05-17 2020-11-26 平安科技(深圳)有限公司 Configuration modification method and apparatus for container application, and computer device and storage medium
WO2020232890A1 (en) * 2019-05-17 2020-11-26 平安科技(深圳)有限公司 Load balancing application creation method and device, computer device and storage medium
CN112532674A (en) * 2019-09-19 2021-03-19 贵州白山云科技股份有限公司 Method, device and medium for establishing network edge computing system
CN112995273A (en) * 2021-01-28 2021-06-18 腾讯科技(深圳)有限公司 Network call-through scheme generation method and device, computer equipment and storage medium
CN112995303A (en) * 2021-02-08 2021-06-18 中国工商银行股份有限公司 Cross-cluster scheduling method and device
CN113032105A (en) * 2021-04-20 2021-06-25 金蝶软件(中国)有限公司 Kubernetes cluster access control method, system and related equipment
CN113326100A (en) * 2021-06-29 2021-08-31 深信服科技股份有限公司 Cluster management method, device and equipment and computer storage medium
CN113572838A (en) * 2021-07-22 2021-10-29 北京金山云网络技术有限公司 Network access method, device, equipment and medium based on Kubernetes
CN115022317A (en) * 2022-05-27 2022-09-06 亚信科技(中国)有限公司 Application management method and device based on cloud platform, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150142949A1 (en) * 2013-11-18 2015-05-21 Nuwafin Holdings Ltd System and method for collaborative designing, development, deployment, execution, monitoring and maintenance of enterprise applications
CN104714791A (en) * 2013-12-17 2015-06-17 北京掌中经纬技术有限公司 Methods and devices for splitting and reloading Web application
CN106790595A (en) * 2016-12-29 2017-05-31 上海理想信息产业(集团)有限公司 A kind of Docker containers active load balancer and method
CN107256178A (en) * 2017-04-27 2017-10-17 北京数人科技有限公司 Container management platform
CN107590001A (en) * 2017-09-08 2018-01-16 北京京东尚科信息技术有限公司 Load-balancing method and device, storage medium, electronic equipment
CN107635002A (en) * 2017-09-21 2018-01-26 浪潮软件股份有限公司 A kind of access method and device of containerization application
CN107666525A (en) * 2017-09-08 2018-02-06 北京京东尚科信息技术有限公司 The method and apparatus of cluster container IP distribution
CN108111470A (en) * 2016-11-25 2018-06-01 华为技术有限公司 Communication means and relevant apparatus between the dispositions method of container, service

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150142949A1 (en) * 2013-11-18 2015-05-21 Nuwafin Holdings Ltd System and method for collaborative designing, development, deployment, execution, monitoring and maintenance of enterprise applications
CN104714791A (en) * 2013-12-17 2015-06-17 北京掌中经纬技术有限公司 Methods and devices for splitting and reloading Web application
CN108111470A (en) * 2016-11-25 2018-06-01 华为技术有限公司 Communication means and relevant apparatus between the dispositions method of container, service
CN106790595A (en) * 2016-12-29 2017-05-31 上海理想信息产业(集团)有限公司 A kind of Docker containers active load balancer and method
CN107256178A (en) * 2017-04-27 2017-10-17 北京数人科技有限公司 Container management platform
CN107590001A (en) * 2017-09-08 2018-01-16 北京京东尚科信息技术有限公司 Load-balancing method and device, storage medium, electronic equipment
CN107666525A (en) * 2017-09-08 2018-02-06 北京京东尚科信息技术有限公司 The method and apparatus of cluster container IP distribution
CN107635002A (en) * 2017-09-21 2018-01-26 浪潮软件股份有限公司 A kind of access method and device of containerization application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
边俊峰: ""基于Docker的资源调度及应用容器集群管理系统设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333930A (en) * 2019-04-29 2019-10-15 中国联合网络通信集团有限公司 Digital Platform system
WO2020232887A1 (en) * 2019-05-17 2020-11-26 平安科技(深圳)有限公司 Configuration modification method and apparatus for container application, and computer device and storage medium
CN110224860A (en) * 2019-05-17 2019-09-10 平安科技(深圳)有限公司 Load balancing application creation method, device, computer equipment and storage medium
CN110289982A (en) * 2019-05-17 2019-09-27 平安科技(深圳)有限公司 Expansion method, device, computer equipment and the storage medium of container application
CN110275776A (en) * 2019-05-17 2019-09-24 平安科技(深圳)有限公司 Capacity reduction method, device, computer equipment and the storage medium of container application
CN110224860B (en) * 2019-05-17 2023-05-26 平安科技(深圳)有限公司 Load balancing application creation method and device, computer equipment and storage medium
CN110286996B (en) * 2019-05-17 2023-08-18 平安科技(深圳)有限公司 Container instance IP switching method, device, computer equipment and storage medium
CN110289982B (en) * 2019-05-17 2022-08-23 平安科技(深圳)有限公司 Container application capacity expansion method and device, computer equipment and storage medium
WO2020232890A1 (en) * 2019-05-17 2020-11-26 平安科技(深圳)有限公司 Load balancing application creation method and device, computer device and storage medium
CN110286996A (en) * 2019-05-17 2019-09-27 平安科技(深圳)有限公司 Container instance IP switching method, device, computer equipment and storage medium
CN110365742A (en) * 2019-06-18 2019-10-22 平安科技(深圳)有限公司 More live load equilibrium application creation methods, device, computer equipment and storage medium
CN110427194A (en) * 2019-06-18 2019-11-08 平安科技(深圳)有限公司 Container application delet method, device, computer equipment and storage medium
CN112532674A (en) * 2019-09-19 2021-03-19 贵州白山云科技股份有限公司 Method, device and medium for establishing network edge computing system
CN111131492A (en) * 2019-12-31 2020-05-08 中国联合网络通信集团有限公司 Node access method and system
CN111585805A (en) * 2020-04-30 2020-08-25 中国平安财产保险股份有限公司 Smooth release upgrading method and device, computer system and readable storage medium
CN112995273A (en) * 2021-01-28 2021-06-18 腾讯科技(深圳)有限公司 Network call-through scheme generation method and device, computer equipment and storage medium
CN112995303B (en) * 2021-02-08 2023-04-07 中国工商银行股份有限公司 Cross-cluster scheduling method and device
CN112995303A (en) * 2021-02-08 2021-06-18 中国工商银行股份有限公司 Cross-cluster scheduling method and device
CN113032105A (en) * 2021-04-20 2021-06-25 金蝶软件(中国)有限公司 Kubernetes cluster access control method, system and related equipment
CN113032105B (en) * 2021-04-20 2023-11-17 金蝶软件(中国)有限公司 Kubernetes cluster access control method, system and related equipment
CN113326100A (en) * 2021-06-29 2021-08-31 深信服科技股份有限公司 Cluster management method, device and equipment and computer storage medium
CN113326100B (en) * 2021-06-29 2024-04-09 深信服科技股份有限公司 Cluster management method, device, equipment and computer storage medium
CN113572838A (en) * 2021-07-22 2021-10-29 北京金山云网络技术有限公司 Network access method, device, equipment and medium based on Kubernetes
CN113572838B (en) * 2021-07-22 2023-04-07 北京金山云网络技术有限公司 Network access method, device, equipment and medium based on Kubernetes
CN115022317A (en) * 2022-05-27 2022-09-06 亚信科技(中国)有限公司 Application management method and device based on cloud platform, electronic equipment and storage medium
CN115022317B (en) * 2022-05-27 2024-03-08 亚信科技(中国)有限公司 Cloud platform-based application management method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109343963B (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN109343963A (en) A kind of the application access method, apparatus and relevant device of container cluster
US10901796B2 (en) Hash-based partitioning system
US9811370B2 (en) Determining an optimal datacenter for placing a resource instance in a cloud that would benefit an intended set of end users in a geographical region
US9998531B2 (en) Computer-based, balanced provisioning and optimization of data transfer resources for products and services
US8694777B2 (en) Securely identifying host systems
US20130268638A1 (en) Mapping requirements to a system topology in a networked computing environment
US10129357B2 (en) Managing data storage in distributed virtual environment
CN103078965B (en) The IP address management method of virtual machine
CN111212134A (en) Request message processing method and device, edge computing system and electronic equipment
CN103945000A (en) Load balance method and load balancer
CN106209402A (en) The telescopic method of a kind of virtual network function and equipment
US20160337450A1 (en) Data replication for a virtual networking system
US10659531B2 (en) Initiator aware data migration
CN103391312A (en) Resource offline downloading method and device
CN105045762A (en) Management method and apparatus for configuration file
CN114064563A (en) Data migration method and server based on object storage
EP3798860A1 (en) Generation and use of a dynamic bloom filter
CN204695386U (en) Towards the management information system of many tenants
CN107920129A (en) A kind of method, apparatus, equipment and the cloud storage system of data storage
EP4170491A1 (en) Resource scheduling method and apparatus, electronic device, and computer-readable storage medium
GB2604203A (en) Managing failures in edge computing environments
US11645111B2 (en) Managing task flow in edge computing environment
CN107203333A (en) The method that block storage is automatically accessed in OpenStack cloud computing platforms
US11176097B2 (en) Accelerated deduplication block replication
US20190158455A1 (en) Automatic dns updates using dns compliant container names

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