[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110290189A - A kind of container cluster management method, apparatus and system - Google Patents

A kind of container cluster management method, apparatus and system Download PDF

Info

Publication number
CN110290189A
CN110290189A CN201910519992.1A CN201910519992A CN110290189A CN 110290189 A CN110290189 A CN 110290189A CN 201910519992 A CN201910519992 A CN 201910519992A CN 110290189 A CN110290189 A CN 110290189A
Authority
CN
China
Prior art keywords
application
container cluster
target container
format
released
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
CN201910519992.1A
Other languages
Chinese (zh)
Other versions
CN110290189B (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.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201910519992.1A priority Critical patent/CN110290189B/en
Publication of CN110290189A publication Critical patent/CN110290189A/en
Priority to PCT/CN2020/085388 priority patent/WO2020253347A1/en
Application granted granted Critical
Publication of CN110290189B publication Critical patent/CN110290189B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Environmental & Geological Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application discloses a kind of container cluster management methods, apparatus and system, are related to financial technology field.This method includes program file, application identities to be released and the server identification to be released using in corresponding target container cluster identity and target container cluster of application to be released using posting request in the application posting request for receiving tool platform transmission;Using the first format conversion algorithms, the format of application posting request is converted to the readable format of the corresponding target container cluster of target container cluster identity, the application posting request after obtaining format conversion;Application posting request to after the corresponding target container collection pocket transmission format conversion of target container cluster identity, is used to indicate target container cluster using posting request and executes publication operation to the program file of the application to be released in the corresponding server of server identification.This method avoid the reconstruct and transformation to non-containerization system architecture, reduce the management cost of container cluster.

Description

A kind of container cluster management method, apparatus and system
Technical field
This application involves the field of cloud calculation of financial technology (Fintech) more particularly to a kind of container cluster management method, Apparatus and system.
Background technique
With the development of computer technology, more and more technology (big data, distribution, block chain Blockchain, people Work intelligence etc.) it applies in financial field, traditional financial industry gradually changes to financial technology (Fintech).Kubernetes It is the container cluster management system of Google open source.On the basis of application container engine Docker technology, for answering for containerization With a series of complete functions such as deployment operation, scheduling of resource, service discovery and dynamic retractility are provided, extensive sets of containers is improved The convenience of group's management.The mode of Kubernetes is realized by deployment container mode, is mutually isolated between each container, often A container has the file system of oneself, and process will not influence each other between container, can distinguish computing resource.Relative to virtual machine, Container energy rapid deployment, since container is to decouple with bottom facilities, machine file system, therefore it can be in different clouds, different versions It is migrated between this operating system.
The system architecture of the non-containerization of tradition is in virtual machine using deployment way such as the system architecture of financial business Or application is installed on physical server by plug-in unit or script, the operation of application, configuration, management, all life cycles will be with Current operation system binding, and the scheduling of resource and management applied, the realization of the functions such as publication and monitoring of application, need one whole Fixed process and tool platform is covered to match.
However, due to Kubernetes can not be directly integrated non-containerization system architecture fixation process and above-mentioned tool it is flat Platform matches, and leads to not by introducing Kubernetes for the system architecture evolution of non-containerization be containerization framework, therefore needs Non- container framework is largely reconstructed and is transformed, to realize non-containerization system architecture evolution as containerization framework, Obvious management cost is higher.
Summary of the invention
The embodiment of the present application provides a kind of container cluster management method, apparatus and system, solves and needs in the prior art Non- container framework is largely reconstructed and is transformed, realizing leads to non-containerization system architecture evolution for containerization framework The high problem of management cost.
In a first aspect, providing a kind of container cluster management method, this method may include:
The application posting request that tool platform is sent is received, the program for including application to be released using posting request is literary Part, application identities to be released and the service to be released using in corresponding target container cluster identity and target container cluster The readable format of device mark, the readable format of the corresponding container cluster of the container cluster identity and the tool platform is not Together;
Using the first format conversion algorithms, the format using posting request is converted into the target container cluster mark The readable format for knowing corresponding target container cluster, the application posting request after obtaining format conversion;
To the application publication after the conversion of format described in the corresponding target container collection pocket transmission of the target container cluster identity Request, it is described to be used to indicate the target container cluster in the corresponding server of the server identification using posting request The program file of the application to be released executes publication operation.
In an optional realization, before receiving the application posting request that tool platform is sent, the method also includes:
The resource bid request that the tool platform is sent is received, the resource bid request includes the journey of application to be released The available resource information of the resource requirement information of preface part, the application identities to be released and target container cluster, the target Container cluster is that the tool platform is determined according to the container cluster identity of operation system application;
According to the resource requirement information of the application to be released, using default resource allocation rule, to the target container The available resource information of cluster is allocated, and obtains described to be released applying the subordinate server in the target container cluster Server identification, the available resource information of the target container cluster are not less than the resource requirement information of described program file;
The corresponding target container cluster identity of the application to be released, the server identification are sent to the tool platform With the allocation result for using resource.
In an optional realization, the method also includes:
The application processing request that the tool platform is sent is received, the application processing request includes the journey of application to be processed Preface part, the resource requirement information of described program file, application identities to be processed and the corresponding target of the application to be processed are held Device cluster identity and respective server mark, wherein the corresponding target container cluster of the target container cluster identity it is readable The difference of the readable format of format and the tool platform, described program file include the application to be processed is upgraded, The file of dilatation and delete processing;
If the available resource information of the corresponding target container cluster of the target container cluster identity is not less than described wait locate Ought to program file resource requirement information, then use first format conversion algorithms, by the application handle request Format be converted to the readable format of the target container cluster, the application processing request after obtaining format conversion;
To the application processing after the conversion of format described in the corresponding target container collection pocket transmission of the target container cluster identity Request, application processing request are used to indicate the container cluster to described in the corresponding server of the server identification Application execution described program file to be processed.
In an optional realization, the method also includes:
The monitoring information of the corresponding container cluster of preset container cluster identity to be monitored is acquired, the monitoring information includes The work state information of the container cluster;
Using the second format conversion algorithms, it is readable that the format of the monitoring information is converted into presetting for the tool platform Format;
The monitoring information after format conversion is sent to the tool platform.
In an optional realization, the monitoring letter of the corresponding container cluster of preset container cluster identity to be monitored is acquired Breath, comprising:
According to default collection period, the corresponding container cluster of preset container cluster identity to be monitored is periodically acquired Monitoring information.
Second aspect provides a kind of managing device, the apparatus may include: receiving unit, format conversion unit and hair Send unit;
The receiving unit, the application posting request that platform used to receive tools is sent, the application posting request include The program file of application to be released, application identities to be released and the corresponding target container cluster identity of the application to be released and mesh The server identification in container cluster is marked, the readable format and the tool of the corresponding container cluster of the container cluster identity are flat The difference of the readable format of platform;
The format conversion unit turns the format of application processing request for using the first format conversion algorithms It is changed to the default readable format of the corresponding target container cluster of the target container cluster identity, the application after obtaining format conversion Processing request;
The transmission unit is used for format described in the corresponding target container collection pocket transmission of the target container cluster identity Application posting request after conversion, the application posting request are used to indicate the target container cluster to the server identification The program file of the application to be released in corresponding server executes publication operation.
In an optional realization, described device further includes allocation unit;
The receiving unit, is also used to receive the resource bid request that the tool platform is sent, and the resource bid is asked That asks the resource requirement information of the program file including application to be released, the application identities to be released and target container cluster can With resource information, the target container cluster is that the tool platform is determined according to the container cluster identity of operation system application 's;
The allocation unit is advised for the resource requirement information according to the application to be released using default resource allocation Then, the available resource information of the target container cluster is allocated, obtains described to be released apply in the target container The server identification of subordinate server in cluster, the available resource information of the corresponding container cluster of the target container cluster identity Not less than the resource requirement information of described program file;
The transmission unit is also used to send the corresponding target container cluster of the application to be released to the tool platform Mark, the server identification and the allocation result using resource.
In an optional realization, the receiving unit is also used to receive the application processing that the tool platform is sent Request, the application processing request includes the program file of application to be processed, the resource requirement information of described program file, wait locate Manage application identities and the corresponding target container cluster identity of the application to be processed and respective server mark, wherein the mesh The difference of the readable format of the corresponding target container cluster of container cluster identity and the readable format of the tool platform is marked, it is described Program file include the application to be processed is upgraded, the file of dilatation and delete processing;
The format conversion unit, if being also used to the available of the corresponding target container cluster of the target container cluster identity Resource information is then calculated using first format conversion not less than the resource requirement information of the program file of the application to be processed The format of application processing request is converted to the readable format of the target container cluster, after obtaining format conversion by method It is requested using processing;
The transmission unit is also used to lattice described in the corresponding target container collection pocket transmission of the target container cluster identity Application processing request after formula conversion, the application processing request are used to indicate the container cluster to the server identification pair The application execution described program file to be processed in the server answered.
In an optional realization, described device further includes acquisition unit;
The acquisition unit is also used to acquire the monitoring letter of the corresponding container cluster of preset container cluster identity to be monitored Breath, the monitoring information includes the work state information of the container cluster;
The format conversion unit is also used to convert the format of the monitoring information using the second format conversion algorithms For the default readable format of the tool platform;
The transmission unit is also used to send the monitoring information after format conversion to the tool platform.
The third aspect provides a kind of management system, the system comprises: tool platform, container cluster management device and Container cluster;
The tool platform, for obtaining original application posting request, the original application posting request includes to pending The program file of cloth application identities and application to be released, and inquire the corresponding target container cluster of the application identities to be released Mark, and to the container cluster management device sending application posting request, the application posting request includes described to be released The program file of application, the application identities to be released and the corresponding target container cluster identity of the application to be released and target Server identification in container cluster, the target container cluster are sets of containers of the tool platform according to operation system application What group identification determined;The available resource information of the corresponding target container cluster of the target container cluster identity is not less than the journey The resource requirement information of preface part;
The container cluster management device asks the received application publication for using the first format conversion algorithms The format asked is converted to the default readable format of the corresponding target container cluster of the target container cluster identity;To the target Application posting request after the corresponding target container collection pocket transmission format conversion of container cluster identity;
The container cluster, for receiving the application posting request after the format is converted, and to the server identification The program file of the application to be released in corresponding server executes publication operation.
Fourth aspect provides a kind of electronic equipment, which includes processor, communication interface, memory and lead to Believe bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any side in above-mentioned first aspect Method step.
5th aspect, provides a kind of computer readable storage medium, meter is stored in the computer readable storage medium Calculation machine program, the computer program realize any method and step in above-mentioned first aspect when being executed by processor.
The above method that the embodiment of the present invention is mentioned is asked in the application posting request for receiving tool platform transmission using publication Ask program file including application to be released, application identities to be released and the corresponding target container cluster identity of application to be released and Server identification in target container cluster, the readable format and tool of the corresponding target container cluster of target container cluster identity The difference of the readable format of platform;Using the first format conversion algorithms, the format of application posting request is converted into target container The readable format of the corresponding target container cluster of cluster identity, the application posting request after obtaining format conversion;To target container Application posting request after the corresponding target container collection pocket transmission format conversion of cluster identity, is used to indicate mesh using posting request It marks container cluster and publication operation is executed to the program file of the application to be released in the corresponding server of server identification.With it is existing Technology is compared, and the method achieve the tool platforms of former non-containerization framework and former sets of containers faciation to cooperate, that is, realizing will be non- Containerization system architecture evolution is containerization framework, avoids the reconstruct and transformation to non-containerization system architecture, reduces appearance The management cost of device cluster.
Detailed description of the invention
Fig. 1 is a kind of management system architecture diagram of container cluster management method application provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of container cluster management method provided in an embodiment of the present invention;
Fig. 3 is the method stream that the resource distribution applied in a kind of pair of container cluster provided in an embodiment of the present invention is managed Journey schematic diagram;
Fig. 4 is that the working condition of a kind of pair of container cluster provided in an embodiment of the present invention is monitored the method flow of management Schematic diagram;
Fig. 5 is the method that another kind provided in an embodiment of the present invention is managed the resource distribution applied in container cluster Flow diagram;
Fig. 6 is the method flow that application distribution requests to be managed in a kind of pair of container cluster provided in an embodiment of the present invention Schematic diagram;
Fig. 7 is the method stream that another kind provided in an embodiment of the present invention is monitored management to the working condition of container cluster Journey schematic diagram;
Fig. 8 is a kind of structural schematic diagram of managing device provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is only some embodiments of the present application, is not whole embodiments.Based on this Apply for embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
Container cluster management method provided in an embodiment of the present invention can be applied in management system framework shown in Fig. 1, The system architecture can be any one container group system.It is said so that container group system is Kubernetes as an example below It is bright.
Kubernetes, abbreviation K8s are to replace abridging made of 8 characters " ubernete " with 8.It is an open source , for managing cloud platform, such as server, the application of the containerization in middle multiple main frames has complete container cluster management Ability expands multi-level security protection and mechanism of permitting the entrance, multi-tenant application enabling capabilities, transparent service registration and discovery machine more System, built-in intelligent load balancing device, powerful fault discovery and self-repairing capability, service rolling upgrade and on-line rapid estimation energy The resource quota managerial ability of power, expansible resource Automatic dispatching mechanism and more granularities.Kubernetes is provided simultaneously Kind management tool covers the links including developing, disposing test, O&M monitoring.
Multiple containers can be created in Kubernetes, form container cluster, and each receptacle can run one and answer Management, discovery, access to application example are realized then by preset load balancing with example.
The system architecture may include: the container cluster of tool platform, container cluster management device and Kubernetes.
The container cluster of Kubernetes may include at least one container cluster, such as can will be in an internet data The heart (International Data Centre, IDC) is defined as the container cluster of a Kubenetes, as shown in Figure 1 The container cluster of Kubernetes includes two container clusters of IDC1 and IDC2.Since a container includes an application, this is allowed Kubernetes is equal to the management to application deployment to the management of container.Wherein, container cluster can be deployed on physical machine, And the use resource on shared physical machine (or " container machine tool ").Each container cluster includes several servers, these Server distribution is on different server racks.
Tool platform, for the platform for carrying out information exchange with management terminal or operation system;For obtaining Kubernetes The used resource information, operation system of each container cluster are the target of resource to be allocated application application in container cluster layer Container cluster identity and the resource requirement information of resource to be allocated application, and resource Shen is sent to container cluster management device It please request, resource bid request includes the used resource information of target container cluster, application identities to be released and money to be allocated The information such as the resource requirement information of the application in source.And receive the original application posting request that operation system is sent, original application Posting request includes the application identities of application to be released, the information such as program file of application to be released, and inquires the application identities It is corresponding this it is to be released using corresponding target container cluster identity, server identification and the resource allocation of the application to be released believe Breath, backward sets of containers group managing device sending application posting request, this apply posting request include application to be released program File, application identities to be released and the corresponding target container cluster identity of application to be released, server identification.
Wherein, operation system, for generating the upgrading, dilatation, offline etc. to applying in container cluster according to the actual situation Business operation request, and original application processing request is sent to tool platform, original application processing request includes to be processed answers The resource requirement information and application identities to be processed of program file, program file.
Optionally, the initial resource application of the application for the resource to be allocated that operation system can be sent to tool platform is asked It asks, initial resource application request includes the resource requirement information of application of resource to be allocated, the container cluster identity of application and should The application identities of application, the application of the resource to be allocated are the new opplication preloaded, i.e. creation new container.
Optionally, the resource requirement for the application to be allocated that the available user of tool platform is inputted by front end browser is believed The application identities of breath, the container cluster identity of application and the application, or the initial resource Shen that can be sent by receiving operation layer Please request application to be allocated resource requirement information, the container cluster identity of application and the application identities of the application.
Optionally, tool platform is also used to record each process of execution, with the audit work for the later period.
In one example, by taking operation system is financial service system as an example, as shown in Figure 1, its tool platform can wrap Include IT service management (IT Service Management, ITSM), configuration management database (Configuration Management Database, CMDB), automation operation platform AOMP, information management database (Information Management System, IMS) etc..
ITSM can be for receiving the user of management terminal transmission or the input information of technical staff, the input information The relevant information of the new opplication of preloading, and many index of at least one current container cluster is obtained from CMDB, such as hold It is data communication network (Data Communication Network, DCN), application domain where device cluster, current used Resource information etc., current used resource information include the IP address of container machine tool where container cluster, CPU usage amount, interior Deposit usage amount, disk usage amount, the IP address etc. of container instance.
CMDB, for storing the configuration information of each application, which may include each using said container cluster The information such as mark, the resource allocation information respectively applied and the application identities respectively applied.
AOMP for receiving the original application posting request including application identities of operation system transmission, and obtains this and answers With the resource allocation information for identifying corresponding container cluster, and to container cluster management device sending application posting request.
IMS, for receiving the monitoring information of container cluster management device transmission, so that user or technical staff understand container The current working status of cluster.
Optionally, the above-mentioned various components of tool platform can recorde respective implementation procedure, with examining for the later period Count work.
As shown in Figure 1, container cluster management device may include resource manager (We Container System- Resource Manager, wcs-rm), gateway (We Container System-Gateway, wcs-gateway), prison Control data report device (Intelligent Monitor System-reporter, ims-reporter).
Wcs-rm, the resource bid request that platform used to receive tools is sent, resource bid request includes to be released answers The available resource information of the resource requirement information of program file, application identities to be released and target container cluster, target are held Device cluster is tool platform according to the determination of the container cluster identity of operation system application, and according to the target container cluster of storage Total resources information and the used resource information of target container cluster, obtain the target container cluster available resources letter Breath, alternatively, directly acquire tool platform transmission to the resource requirement information of resource allocation application and the appearance of operation system application The available resource information of device cluster identity and the corresponding target container cluster of the container cluster identity.Later, according to be allocated The resource requirement information of application is allocated the available resource information of target container cluster using default resource allocation rule, The server being assigned in target container cluster to resource allocation application is obtained, to obtain the resource to resource allocation application Information is distributed, resource allocation information includes in the corresponding target container cluster identity of resource allocation application, target container cluster The server identification of server, and using the information such as allocation proportion of resource, container cluster identity be Kubernetes extremely This in a few container cluster applies the mark of said container cluster, and sends allocation result, the allocation result to tool platform The instruction information that can be distribution failure is also possible to the resource allocation letter of the instruction information being allocated successfully and application to be allocated Breath.
Optionally, whether wcs-rm, the available resource information that can be also used for detection target container cluster are greater than upgrading, expand The resource requirement information of the corresponding program file of the operation such as appearance, offline, so that the container cluster of Kubernetes is to container cluster The application identified in corresponding container cluster is managed.
Wherein, preset resource allocation rule be to be preset according to the actual situation by technical staff, setting principle be according to According to: (1) meet the needs of High Availabitity, that is, ensure the container application example of business be distributed as uniformly as possible in different rack and On server, to reduce as caused by interchanger or server failure to the negative effect of business;(2) make each turret vessel female Resources Reserve on machine is as balanced as possible, improve resource utilization, to avoid occur such as CPU has exhausted and memory is still big Measure the scene of surplus.
It is understood that since the scheduling strategy that the scheduling of resource module in the container cluster of Kubernetes is supported is Limited, cause the scheduling of resource module and tool platform incompatible, therefore can be the function of allocated resources by wcs-rm It moves on tool platform.
Wcs-gateway, the application posting request that platform used to receive tools is sent, includes to be released using posting request The program file of application, application identities to be released and the corresponding target container cluster identity of application to be released and target container cluster In server identification, the readable format of the corresponding target container cluster of target container cluster identity and the readable lattice of tool platform The difference of formula;And it is converted to the corresponding target container collection pocket transmission of target container cluster identity through the first format conversion algorithms Application posting request afterwards, wherein the available resource information of target container cluster is not less than the program file of application to be released Resource requirement information.
Optionally, in order to realize the high availability of container cluster, wcs-rm, wcs-gateway and ims-reporter are There is redundant instance realization, therefore in order to realize the communication of High Availabitity with container cluster, Container Management device can also include container tube System reverse agency (We Container System NGINX, wcs-nginx) is managed, is applied for distributing to wcs-gateway Posting request and load balancing.
It is understood that wcs-gateway if it does not exist, then tool platform can directly use the appearance of Kubernetes The appearance of primary application programming interfaces (Application the Program Interface, API) and Kubernetes of device cluster The degree of coupling of device cluster will increase, but the relevant interface of hardware O&M is also exposed to tool platform layer simultaneously, lead to sets of containers The problem that the O&M complexity of group increases and the safety of operation system is not high.
Ims-reporter, the monitoring for acquiring the corresponding container cluster of preset container cluster identity to be monitored are believed Breath, monitoring information includes the work state information of container cluster;Using the second format conversion algorithms, the format of monitoring information is turned It is changed to the default readable format of tool platform;The monitoring information after format conversion is sent to tool platform.
It is understood that ims-reporter can also be built in outside the container cluster of Kubernetes In the container cluster of Kubernetes, i.e., in the container cluster that is deployed in Kubernetes in a manner of static chamber node POD.
The container cluster of Kubernetes, for receiving container cluster management device, such as wcs-gateway, transmission is answered With posting request, and application execution to be released is issued according to resource allocation information and is operated, that is, it is corresponding to create application to be released Container.
In order to understand the working condition of server in real time, monitoring alarm reporting policy, ims-reporter, for adopting are realized Collect the monitoring information of the corresponding container cluster of mark of preset container cluster to be monitored, monitoring information includes the work of container cluster Make status information, such as failure or normal state, and sends monitoring information to tool platform.
The system that the above embodiments of the present application provide passes through in traditional tool platform and Kubernetes layer increase container Cluster management device can make non-container framework be converted into containerization framework, be achieved in Kubernetes layers and tool platform solution Coupling, business can complete the operation such as the publication applied, upgrading, dilatation, offline directly to continue to use traditional mode using tool platform, This is unaware for business, be not required to the auditing system of tool platform and process can with compatible container framework pair Traditional non-containerization framework is reconstructed, and avoids a large amount of reconstruct and transformation.
Preferred embodiment of the present application is illustrated below in conjunction with Figure of description, it should be understood that described herein Preferred embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention, and in the absence of conflict, this Shen Please in embodiment and embodiment in feature can be combined with each other.
Fig. 2 is a kind of flow diagram of the management method of container cluster provided in an embodiment of the present invention.As shown in Fig. 2, This method may include:
Step 210, container cluster management device receive the application posting request that tool platform is sent.
Tool platform can be inputted on tool platform first by the user or technical staff for receiving management terminal transmission Begin to get original application posting request using posting request, is also possible to receive the original application publication that operation system is sent It requests and gets original application posting request, the embodiment of the present invention is it is not limited here.Wherein, what tool platform obtained is initial It only include the program file of application identities to be released and application to be released using posting request.
Tool platform after inquiring the corresponding target container cluster identity of application identities to be released and server identification, to Container cluster management device sending application posting request, this includes the program file, pending of application to be released using posting request Cloth application identities and the server identification to be released using in corresponding target container cluster identity and target container cluster.
Before executing the step, container cluster management device can be to the resource distribution of application to be released in container cluster It is managed, as shown in Figure 3, comprising:
Step 310, container cluster management device receive the resource bid request that tool platform is sent.
Resource bid request may include resource requirement information, the application identities to be released of the program file of application to be released With the available resource information of target container cluster, target container cluster is container of the tool platform according to operation system application What cluster identity determined.
Step 320, container cluster management device are according to the resource requirement information of application to be released, using default resource allocation Rule is allocated the available resource information of target container cluster, obtains the resource allocation information of application to be released.
Resource allocation information may include the server identification to be released for applying the subordinate server in target container cluster, It is to be released using corresponding container cluster identity and to use the information such as allocation proportion of resource.The available resources of target container cluster Information is not less than the resource requirement information of program file.
Step 330, container cluster management device send the corresponding target container cluster mark of application to be released to tool platform Knowledge, server identification and the allocation result using resource.
Wherein, the available resource information of the corresponding container cluster of container cluster identity to be released is answered not less than to be released The resource requirement information of program file.
It optionally, can also be artificial right in addition to the above-mentioned resource distribution to application to be released in container cluster is managed The resource distribution of application to be released is managed in container cluster, i.e., is manually application configuration application resource to be allocated, this hair Bright embodiment is again without limitation.
Step 210, tool platform are returned to after container cluster management device sending application posting request, can also record and hold Capable operation, for generating audit log.
Step 220, container cluster management device use the first format conversion algorithms, and the format of application posting request is converted For the default readable format of the corresponding target container cluster of target container cluster identity.
Container cluster management device extracts the parameter and corresponding parametric values using each parameter field in posting request, and obtains The default readable format of the corresponding container cluster of container cluster identity is later inserted the parameter of extraction and corresponding parametric values default In readable format, to get the readable application posting request of container cluster.
For example, set the format using posting request of tool platform as JOSN format, the default readable format of container cluster For Yaml (YAML Ain't a Markup Language) format.
Container cluster management device is from JSON format using the parameter for extracting each parameter field in posting request and corresponding Parameter value, such as application identities to be released, ID1, and the parameter for extracting each parameter field and corresponding parametric values are inserted into Yaml format Corresponding position, the application posting request of Yaml format is obtained, so that container cluster reads this using posting request.
Step 230, container cluster management device are to the corresponding target container collection pocket transmission format of target container cluster identity Application posting request after conversion.
Target container cluster is according to posting request is applied, to the application to be released in the corresponding server of server identification Program file executes publication operation.
Optionally, container cluster management device can also be monitored management to the working condition of container cluster, realize and accuse Police reports management, as shown in Figure 4, comprising:
Step 410, container cluster management device acquire the corresponding container cluster of preset container cluster identity to be monitored Monitoring information.
Container cluster management device can be in real time or periodically from the monitor component Prometheus in container cluster Acquire the monitoring information of the corresponding container cluster of preset container cluster identity to be monitored.Wherein, container cluster management device Frequency acquisition can be arranged according to the actual situation.
The monitoring information may include the work state information of container cluster.
Step 420, container cluster management device use the second format conversion algorithms, and the format of monitoring information is converted to work Has the default readable format of platform.
Container cluster management device extracts the parameter and corresponding parametric values of each parameter field in monitoring information, and obtains tool The default readable format of platform is later inserted the parameter of extraction and corresponding parametric values in default readable format, to get The readable monitoring information of tool platform.
For example, set the format using posting request of tool platform as JSON format, the default readable format of container cluster For Yaml format.
Container cluster management device extracts the parameter and relevant parameter of each parameter field from the monitoring information of Yaml format Value, working condition, idle state such as container cluster, and the parameter for extracting each parameter field and corresponding parametric values are inserted into JOSN The corresponding position of format obtains the monitoring information of JOSN format, so that container cluster reads the monitoring information.
Step 430, container cluster management device send the monitoring information after format conversion to tool platform.
Technical staff or user can be in tool platforms, such as IMS, upper configuration warning strategies, if container cluster management device, such as Ims-reporter identifies that, there are abnormal index, such as CPU overload in monitoring information, tool platform can trigger corresponding alarm Event.
Further, may include: to processing such as the upgradings, dilatation, offline (or " deletion ") applied in container cluster
Container cluster management device receives the application processing request that tool platform is sent, and includes to be processed using processing request The program file of application, the resource requirement information of program file, application identities to be processed and the corresponding sets of containers of application to be processed Group identification and respective server mark, wherein the readable format of the corresponding container cluster of container cluster identity and tool platform The difference of readable format, program file include application to be processed is upgraded, the file of dilatation and delete processing;
If resource requirement of the available resource information of the corresponding container cluster of container cluster identity not less than program file is believed Breath then uses the first format conversion algorithms, and the format of application processing request is converted to the readable format of container cluster, obtains lattice Application processing request after formula conversion;
Later, to the application processing request after the corresponding sets of containers pocket transmission format conversion of container cluster identity, using place Reason request is used to indicate container cluster to the application execution program file to be processed in the corresponding server of the server identification.
Further, by above-mentioned Fig. 2-Fig. 4 it is found that the management method may include the management, right to application resource distribution The management reported using the management and monitoring alarm of publication.
It in one example, may include ITSM, CMDB with tool platform, container cluster management device includes that wcs-rm is Example, as shown in figure 5, container cluster management device is managed the resource distribution of target application in container cluster may include:
Step 501, ITSM send first resource inquiry request to CMDB.
ITSM can receive operation system transmission initial resource application request, initial resource application request may include to Distribute the resource requirement information, resource application identities to be allocated and the container cluster for resource to be allocated application application of resource application Mark, or can receive the resource requirement information of the resource to be allocated application of user's input, resource application identities to be allocated and be The container cluster identity of resource application application to be allocated.ITSM sends first resource inquiry request to CMDB later, to inquire Shen The corresponding used resource information of target container cluster of container cluster identity please.
Step 502, CMDB send first resource query result to ITSM.
ITSM obtains the corresponding used resource information of target container cluster of container cluster identity of application.
Alternatively, ITSM can be according to the corresponding used resource information of target container cluster of container cluster identity of application With the total resources information of the target container cluster of storage, the target container cluster available resource information is obtained.
Step 503, ITSM send resource bid request to wcs-rm.
Resource bid request may include resource requirement information, the application identities to be released of the program file of application to be released With the available resource information of target container cluster.
Wcs-rm obtains the available resources letter of target container cluster according to total resources information and used resource information Breath.
Alternatively, resource bid request may include the resource requirement information and tool platform of resource application to be allocated The available resource information of the target container cluster of statistics.
That is, the available resource information of target container cluster can be obtained by ITSM, can also be obtained by wcs-rm, The embodiment of the present invention is it is not limited here.
Step 504, wcs-rm are according to the resource requirement information of application to be released, using default resource allocation rule, to mesh The available resource information of mark container cluster is allocated, and obtains the resource allocation information of resource application to be allocated.
The resource requirement information of application to be released may include CPU usage amount, memory usage amount, disk usage amount, container The information such as the occupancy of example.
Wcs-rm is searched according to meeting the needs of High Availabitity or resources balance rule for distribution in default resource allocation rule In target container cluster available resource information not less than application to be released resource requirement information server, determine it as to Affiliated server is applied in publication, and obtains the allocation proportion using resource of application to be released on that server.
Wherein, preset resource allocation rule be to be preset according to the actual situation by technical staff, setting principle be according to According to: (1) meet the needs of High Availabitity, that is, ensure the container application example of business be distributed as uniformly as possible in different rack and On server, to reduce as caused by interchanger or server failure to the negative effect of business;(2) make each turret vessel female Resources Reserve on machine is as balanced as possible, improve resource utilization, to avoid occur such as CPU has exhausted and memory is still big Measure the scene of surplus.
Step 505, wcs-rm send resource allocation information to CMDB, and send resource bid response to ITSM.
Resource bid response is used to indicate whether ITSM resource allocation succeeds.
Step 506, CMDB storage resource distribute information.
In one example, include CMDB and AOMP with tool platform, container cluster management device include wcs-nginx and For wcs-gateway, as shown in fig. 6, management of the container cluster management device to application publication, may include:
Step 601, AOMP obtain original application posting request.
AOMP receive operation system send original application posting request, or receive management terminal send technical staff or The original application posting request of user's input, original application posting request may include the program file of application to be released and pending Cloth application identities.
Step 602, AOMP send Secondary resource inquiry request to CMDB.
Secondary resource inquiry request may include application identities to be released.
Step 603, CMDB send Secondary resource query result to AOMP according to application identities to be released.
Secondary resource query result may include the corresponding target container cluster identity of application to be released and server identification.
Step 604, AOMP are to wcs-nginx sending application posting request.
It may include program file, application identities to be released and the application pair to be released of application to be released using posting request The server identification in target container cluster identity and target container cluster answered.
Step 605, wcs-nginx are to wcs-gateway sending application posting request.
Step 606, wcs-gateway use the first format conversion algorithms, and the format of application posting request is converted to mesh Mark the default readable format of the corresponding target container cluster of container cluster identity.
The corresponding target container collection pocket transmission format conversion of step 607, the mark of wcs-gateway to target container cluster Application posting request afterwards.
Step 608, target container cluster are according to posting request is applied, to pending in the corresponding server of server identification The program file of cloth application executes publication operation.
It in one example, include IMS with tool platform, for container cluster management device includes ims-reporter, As shown in fig. 7, container cluster management device is managed the working condition of monitoring of containers cluster, the pipe of alarm report is realized It manages, may include:
Step 701, ims-reporter acquire the monitoring of the corresponding container cluster of preset container cluster identity to be monitored Information.
Ims-reporter actively acquires monitoring information to container cluster to be monitored.
Step 702, ims-reporter use the second format conversion algorithms, and the format of monitoring information is converted to IMS's Default readable format.
Step 703 sends the monitoring information after format conversion to IMS.
The above method that the embodiment of the present invention improves is asked in the application posting request for receiving tool platform transmission using publication Ask program file including application to be released, application identities to be released and the corresponding target container cluster identity of application to be released and Server identification in target container cluster, the readable format and tool of the corresponding target container cluster of target container cluster identity The difference of the readable format of platform;Using the first format conversion algorithms, the format of application posting request is converted into target container The readable format of the corresponding target container cluster of cluster identity, the application posting request after obtaining format conversion;To target container Application posting request after the corresponding target container collection pocket transmission format conversion of cluster identity, is used to indicate mesh using posting request It marks container cluster and publication operation is executed to the program file of the application to be released in the corresponding server of server identification.With it is existing Technology is compared, and the method achieve the tool platforms of former non-containerization framework and former sets of containers faciation to cooperate, that is, realizing will be non- Containerization system architecture evolution is containerization framework, avoids the reconstruct and transformation to non-containerization system architecture, reduces appearance The management cost of device cluster.
It is understood that the method for the above embodiment of the present invention can apply deposit business in financial institution, borrow In the practical businesses scenes such as money business, business of the same trade or business, the management cost of above-mentioned business scenario can be reduced.
Corresponding with the above method, the embodiment of the present invention also provides a kind of managing device, as shown in figure 8, the managing device It include: receiving unit 810, format conversion unit 820 and transmission unit 830.
Receiving unit 810, the application posting request that platform used to receive tools is sent, the application posting request include to Issue program file, application identities to be released and the corresponding target container cluster identity of the application to be released and target of application Server identification in container cluster, the readable format of the corresponding target container cluster of the target container cluster identity with it is described The difference of the readable format of tool platform;
Format conversion unit 820 converts the format of application processing request for using the first format conversion algorithms For the default readable format of the corresponding target container cluster of the target container cluster identity, at the application after obtaining format conversion Reason request;
Transmission unit 830 is used for format described in the corresponding target container collection pocket transmission of the target container cluster identity Application posting request after conversion, the application posting request are used to indicate the target container cluster to the server identification The program file of the application to be released in corresponding server executes publication operation.
In an optional realization, described device further includes allocation unit 840;
Receiving unit 810 is also used to receive the resource bid request that the tool platform is sent, the resource bid request The resource requirement information of program file including application to be released, the application identities to be released and target container cluster it is available Resource information, the target container cluster are that the tool platform is determined according to the container cluster identity of operation system application;
Allocation unit 840 is advised for the resource requirement information according to the application to be released using default resource allocation Then, the available resource information of the target container cluster is allocated, obtains described to be released apply in the target container The server identification of subordinate server in cluster, the available resource information of the corresponding container cluster of the target container cluster identity Not less than the resource requirement information of described program file;
Transmission unit 830 is also used to send the corresponding target container cluster of the application to be released to the tool platform Mark, the server identification and the allocation result using resource.
In an optional realization, receiving unit 810 is also used to receive asking using processing for the tool platform transmission It asks, application processing request includes the resource requirement information, to be processed of the program file of application to be processed, described program file Application identities and the corresponding container cluster identity of the application to be processed and respective server mark, wherein the container cluster The difference of the readable format of corresponding container cluster and the readable format of the tool platform is identified, described program file includes pair The application to be processed upgraded, the file of dilatation and delete processing;
Format conversion unit 820, if being also used to the available of the corresponding target container cluster of the target container cluster identity Resource information is then calculated using first format conversion not less than the resource requirement information of the program file of the application to be processed The format of application processing request is converted to the readable format of the target container cluster, after obtaining format conversion by method It is requested using processing;
Transmission unit 830 is also used to lattice described in the corresponding target container collection pocket transmission of the target container cluster identity Application processing request after formula conversion, the application processing request are used to indicate the container cluster to the server identification pair The application execution described program file to be processed in the server answered.
In an optional realization, described device further includes acquisition unit 850;
Acquisition unit 850 is also used to acquire the monitoring letter of the corresponding container cluster of preset container cluster identity to be monitored Breath, the monitoring information includes the work state information of the container cluster;
Format conversion unit 820 is also used to be converted to the format of the monitoring information using the second format conversion algorithms The default readable format of the tool platform;
Transmission unit 830 is also used to send the monitoring information after format conversion to the tool platform.
The function of each functional unit for the managing device that the above embodiment of the present invention provides, can be walked by above-mentioned each method It is rapid to realize, therefore, the specific work process and beneficial effect of each unit in managing device provided in an embodiment of the present invention, It does not repeat again herein.
The embodiment of the invention also provides a kind of electronic equipment, as shown in figure 9, include processor 910, communication interface 920, Memory 930 and communication bus 940, wherein processor 910, communication interface 920, memory 930 are complete by communication bus 940 At mutual communication.
Memory 930, for storing computer program;
Processor 910 when for executing the program stored on memory 930, realizes following steps:
The application posting request that tool platform is sent is received, the program for including application to be released using posting request is literary Part, application identities to be released and the service to be released using in corresponding target container cluster identity and target container cluster The readable format of device mark, the readable format of the corresponding container cluster of the container cluster identity and the tool platform is not Together;
Using the first format conversion algorithms, the format using posting request is converted into the target container cluster mark The readable format for knowing corresponding target container cluster, the application posting request after obtaining format conversion;
To the application publication after the conversion of format described in the corresponding target container collection pocket transmission of the target container cluster identity Request, it is described to be used to indicate the target container cluster in the corresponding server of the server identification using posting request The program file of the application to be released executes publication operation.
In an optional realization, before receiving the application posting request that tool platform is sent, the method also includes:
The resource bid request that the tool platform is sent is received, the resource bid request includes the journey of application to be released The available resource information of the resource requirement information of preface part, the application identities to be released and target container cluster, the target Container cluster is that the tool platform is determined according to the container cluster identity of operation system application;
According to the resource requirement information of the application to be released, using default resource allocation rule, to the target container The available resource information of cluster is allocated, and obtains described to be released applying the subordinate server in the target container cluster Server identification, the available resource information of the target container cluster are not less than the resource requirement information of described program file;
The corresponding target container cluster identity of the application to be released, the server identification are sent to the tool platform With the allocation result for using resource.
In an optional realization, the method also includes:
The application processing request that the tool platform is sent is received, the application processing request includes the journey of application to be processed Preface part, the resource requirement information of described program file, application identities to be processed and the corresponding target of the application to be processed are held Device cluster identity and respective server mark, wherein the corresponding target container cluster of the target container cluster identity it is readable The difference of the readable format of format and the tool platform, described program file include the application to be processed is upgraded, The file of dilatation and delete processing;
If the available resource information of the corresponding target container cluster of the target container cluster identity is not less than described wait locate Ought to program file resource requirement information, then use first format conversion algorithms, by the application handle request Format be converted to the readable format of the target container cluster, the application processing request after obtaining format conversion;
To the application processing after the conversion of format described in the corresponding target container collection pocket transmission of the target container cluster identity Request, application processing request are used to indicate the container cluster to described in the corresponding server of the server identification Application execution described program file to be processed.
In an optional realization, the method also includes:
The monitoring information of the corresponding container cluster of preset container cluster identity to be monitored is acquired, the monitoring information includes The work state information of the container cluster;
Using the second format conversion algorithms, it is readable that the format of the monitoring information is converted into presetting for the tool platform Format;
The monitoring information after format conversion is sent to the tool platform.
In an optional realization, the monitoring letter of the corresponding container cluster of preset container cluster identity to be monitored is acquired Breath, comprising:
According to default collection period, the corresponding container cluster of preset container cluster identity to be monitored is periodically acquired Monitoring information.
Communication bus mentioned above can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
The embodiment and beneficial effect solved the problems, such as due to each device of electronic equipment in above-described embodiment can join Each step seen in Fig. 2-embodiment shown in Fig. 4 realizes, therefore, the specific work of electronic equipment provided in an embodiment of the present invention Make process and beneficial effect, does not repeat again herein.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with instruction in storage medium, when run on a computer, so that computer executes any institute in above-described embodiment The management method for the container cluster stated.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes the management method of any container cluster in above-described embodiment.
It should be understood by those skilled in the art that, the embodiment in the embodiment of the present application can provide as method, system or meter Calculation machine program product.Therefore, complete hardware embodiment, complete software embodiment can be used in the embodiment of the present application or combine soft The form of the embodiment of part and hardware aspect.Moreover, being can be used in the embodiment of the present application in one or more wherein includes meter Computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, the optical memory of calculation machine usable program code Deng) on the form of computer program product implemented.
It is referring to according to the method for embodiment, equipment (system) and calculating in the embodiment of the present application in the embodiment of the present application The flowchart and/or the block diagram of machine program product describes.It should be understood that can be realized by computer program instructions flow chart and/or The combination of the process and/or box in each flow and/or block and flowchart and/or the block diagram in block diagram.It can mention For the processing of these computer program instructions to general purpose computer, special purpose computer, Embedded Processor or other programmable datas The processor of equipment is to generate a machine, so that being executed by computer or the processor of other programmable data processing devices Instruction generation refer to for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of fixed function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment in the embodiment of the present application has been described, once a person skilled in the art knows Basic creative concept, then additional changes and modifications may be made to these embodiments.So appended claims are intended to explain Being includes preferred embodiment and all change and modification for falling into range in the embodiment of the present application.
Obviously, those skilled in the art embodiment in the embodiment of the present application can be carried out various modification and variations without It is detached from the spirit and scope of embodiment in the embodiment of the present application.If in this way, in the embodiment of the present application embodiment these modification Within the scope of belonging in the embodiment of the present application claim and its equivalent technologies with modification, then also it is intended in the embodiment of the present application It includes these modifications and variations.

Claims (12)

1. a kind of container cluster management method, which is characterized in that the described method includes:
Receive tool platform send application posting request, it is described using posting request include application to be released program file, Application identities to be released and the server to be released using in corresponding target container cluster identity and target container cluster Mark, the readable format of the corresponding target container cluster of the target container cluster identity and the readable format of the tool platform Difference;
Using the first format conversion algorithms, the format using posting request is converted into the target container cluster identity pair The readable format for the target container cluster answered, the application posting request after obtaining format conversion;
Application posting request to after the conversion of format described in the corresponding target container collection pocket transmission of the target container cluster identity, It is described to be used to indicate the target container cluster to described in the corresponding server of the server identification using posting request The program file of application to be released executes publication operation.
2. the method as described in claim 1, which is characterized in that before receiving the application posting request that tool platform is sent, institute State method further include:
The resource bid request that the tool platform is sent is received, the resource bid request includes the program text of application to be released The available resource information of the resource requirement information of part, the application identities to be released and target container cluster, the target container Cluster is that the tool platform is determined according to the container cluster identity of operation system application;
According to the resource requirement information of the application to be released, using default resource allocation rule, to the target container cluster Available resource information be allocated, obtain the service to be released for applying the subordinate server in the target container cluster Device mark, the available resource information of the target container cluster are not less than the resource requirement information of described program file;
The corresponding target container cluster identity of the application to be released, the server identification are sent to the tool platform and are made With the allocation result of resource.
3. the method as described in claim 1, which is characterized in that the method also includes:
The application processing request that the tool platform is sent is received, the application processing request includes the program text of application to be processed Part, the resource requirement information of described program file, application identities to be processed and the corresponding target container collection of the application to be processed Group identification and respective server mark, wherein the readable format of the corresponding target container cluster of the target container cluster identity With the difference of the readable format of the tool platform, described program file include the application to be processed is upgraded, dilatation With the file of delete processing;
If the available resource information of the corresponding target container cluster of the target container cluster identity to be processed is answered not less than described The resource requirement information of program file then uses first format conversion algorithms, by the lattice of application processing request Formula is converted to the readable format of the target container cluster, the application processing request after obtaining format conversion;
It is requested to the application processing after the conversion of format described in the corresponding target container collection pocket transmission of the target container cluster identity, Application processing request be used to indicate the container cluster to described in the corresponding server of the server identification wait locate Manage application execution described program file.
4. the method according to claim 1, which is characterized in that the method also includes:
The monitoring information of the corresponding container cluster of preset container cluster identity to be monitored is acquired, the monitoring information includes described The work state information of container cluster;
Using the second format conversion algorithms, readable lattice are preset by what the format of the monitoring information was converted to the tool platform Formula;
The monitoring information after format conversion is sent to the tool platform.
5. method as claimed in claim 4, which is characterized in that acquire the corresponding container of preset container cluster identity to be monitored The monitoring information of cluster, comprising:
According to default collection period, the monitoring of the corresponding container cluster of preset container cluster identity to be monitored is periodically acquired Information.
6. a kind of managing device, which is characterized in that described device includes: receiving unit, format conversion unit and transmission unit;
The receiving unit, the application posting request that platform used to receive tools is sent, the application posting request includes pending Program file, application identities to be released and the corresponding target container cluster identity of the application to be released and target of cloth application are held Server identification in device cluster, the readable format of the corresponding target container cluster of the target container cluster identity and the work Has the difference of the readable format of platform;
The format conversion unit is converted to the format of application processing request for using the first format conversion algorithms The default readable format of the corresponding target container cluster of the target container cluster identity, the application processing after obtaining format conversion Request;
The transmission unit, for being converted to format described in the corresponding target container collection pocket transmission of the target container cluster identity Application posting request afterwards, it is corresponding to the server identification that the application posting request is used to indicate the target container cluster Server in the application to be released program file execute publication operation.
7. device as claimed in claim 6, which is characterized in that described device further includes allocation unit;
The receiving unit is also used to receive the resource bid request that the tool platform is sent, the resource bid request packet Include the resource requirement information of the program file of application to be released, the available money of the application identities to be released and target container cluster Source information, the target container cluster are that the tool platform is determined according to the container cluster identity of operation system application;
The allocation unit is right using default resource allocation rule for the resource requirement information according to the application to be released The available resource information of the target container cluster is allocated, and obtains described to be released apply in the target container cluster The available resource information of the server identification of subordinate server, the corresponding container cluster of the target container cluster identity is not less than The resource requirement information of described program file;
The transmission unit is also used to send the corresponding target container cluster mark of the application to be released to the tool platform Knowledge, the server identification and the allocation result using resource.
8. device as claimed in claim 6, which is characterized in that the receiving unit is also used to receive the tool platform hair The application processing request sent, the application processing request include the resource of the program file of application to be processed, described program file Demand information, application identities to be processed and the corresponding target container cluster identity of the application to be processed and respective server mark Know, wherein the readable format of the corresponding target container cluster of the target container cluster identity is readable with the tool platform The difference of format, described program file include the application to be processed is upgraded, the file of dilatation and delete processing;
The format conversion unit, if being also used to the available resources of the corresponding target container cluster of the target container cluster identity Information then uses first format conversion algorithms not less than the resource requirement information of the program file of the application to be processed, The readable format that the format of application processing request is converted to the target container cluster, the application after obtaining format conversion Processing request;
The transmission unit is also used to turn to format described in the corresponding target container collection pocket transmission of the target container cluster identity Application processing request after changing, it is corresponding to the server identification that the application processing request is used to indicate the container cluster The application execution described program file to be processed in server.
9. such as the described in any item devices of claim 6-8, which is characterized in that described device further includes acquisition unit;
The acquisition unit is also used to acquire the monitoring information of the corresponding container cluster of preset container cluster identity to be monitored, The monitoring information includes the work state information of the container cluster;
The format conversion unit is also used to that the format of the monitoring information is converted to institute using the second format conversion algorithms State the default readable format of tool platform;
The transmission unit is also used to send the monitoring information after format conversion to the tool platform.
10. a kind of management system, which is characterized in that the system comprises: tool platform, container cluster management device and sets of containers Group;
The tool platform, for obtaining original application posting request, the original application posting request includes answering to be released With the program file of mark and application to be released, and the corresponding target container cluster mark of the application identities to be released is inquired Know, and to the container cluster management device sending application posting request, the application posting request includes described to be released answers Program file, the application identities to be released and the corresponding target container cluster identity of the application to be released and target are held Server identification in device cluster, the target container cluster are container cluster of the tool platform according to operation system application Mark determination;The available resource information of the corresponding target container cluster of the target container cluster identity is not less than described program The resource requirement information of file;
The container cluster management device will be received described using posting request for using the first format conversion algorithms Format is converted to the default readable format of the corresponding target container cluster of the target container cluster identity;To the target container Application posting request after the corresponding target container collection pocket transmission format conversion of cluster identity;
The container cluster, for receiving the application posting request after the format is converted, and it is corresponding to the server identification Server in the application to be released program file execute publication operation.
11. a kind of electronic equipment, which is characterized in that the electronic equipment includes that processor, communication interface, memory and communication are total Line, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 1-5.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 1-5 any method and step when the computer program is executed by processor.
CN201910519992.1A 2019-06-17 2019-06-17 Container cluster management method, device and system Active CN110290189B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910519992.1A CN110290189B (en) 2019-06-17 2019-06-17 Container cluster management method, device and system
PCT/CN2020/085388 WO2020253347A1 (en) 2019-06-17 2020-04-17 Container cluster management method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910519992.1A CN110290189B (en) 2019-06-17 2019-06-17 Container cluster management method, device and system

Publications (2)

Publication Number Publication Date
CN110290189A true CN110290189A (en) 2019-09-27
CN110290189B CN110290189B (en) 2023-04-18

Family

ID=68005057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910519992.1A Active CN110290189B (en) 2019-06-17 2019-06-17 Container cluster management method, device and system

Country Status (2)

Country Link
CN (1) CN110290189B (en)
WO (1) WO2020253347A1 (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111008074A (en) * 2019-12-05 2020-04-14 中国建设银行股份有限公司 File processing method, device, equipment and medium
CN111130925A (en) * 2019-11-29 2020-05-08 广州文远知行科技有限公司 Resource monitoring method and device, computer equipment and storage medium
CN111258609A (en) * 2020-01-19 2020-06-09 北京百度网讯科技有限公司 Upgrading method and device of Kubernetes cluster, electronic equipment and medium
CN111324571A (en) * 2020-01-22 2020-06-23 中国银联股份有限公司 Container cluster management method, device and system
CN111488142A (en) * 2020-04-10 2020-08-04 中电科航空电子有限公司 Embedded aeronautical communication middleware supporting multiple operating system platforms and application thereof
CN111679886A (en) * 2020-06-03 2020-09-18 科东(广州)软件科技有限公司 Heterogeneous computing resource scheduling method, system, electronic device and storage medium
CN111737082A (en) * 2020-06-19 2020-10-02 中国建设银行股份有限公司 Container and monitoring method, device, equipment and medium for container application
CN112085217A (en) * 2020-09-08 2020-12-15 中国平安人寿保险股份有限公司 Method, device, equipment and computer medium for deploying artificial intelligence service
WO2020253347A1 (en) * 2019-06-17 2020-12-24 深圳前海微众银行股份有限公司 Container cluster management method, device and system
CN112486513A (en) * 2020-11-25 2021-03-12 湖南麒麟信安科技股份有限公司 Container-based cluster management method and system
TWI728571B (en) * 2019-11-26 2021-05-21 中華電信股份有限公司 Resource management method and system for blockchain service
CN112866333A (en) * 2020-12-28 2021-05-28 上海领健信息技术有限公司 Cloud-native-based micro-service scene optimization method, system, device and medium
CN113296823A (en) * 2020-02-21 2021-08-24 北京国双科技有限公司 Method, device, equipment and storage medium for generating resource configuration file
CN113407222A (en) * 2021-06-17 2021-09-17 南方电网数字电网研究院有限公司 Service updating method and device, computer equipment and storage medium
CN114035807A (en) * 2020-12-29 2022-02-11 中信百信银行股份有限公司 Application release system, method, device and equipment
CN114301980A (en) * 2021-12-28 2022-04-08 中国电信股份有限公司 Method, device and system for scheduling container cluster and computer readable medium
CN114415952A (en) * 2022-01-04 2022-04-29 北京金山云网络技术有限公司 Storage space allocation method and device
CN114741439A (en) * 2022-04-11 2022-07-12 杭州义益钛迪信息技术有限公司 Data adaptation method, server, system and storage medium
CN115309410A (en) * 2022-08-03 2022-11-08 北京火山引擎科技有限公司 Application release method and device and electronic equipment

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760446A (en) * 2021-01-22 2021-12-07 北京沃东天骏信息技术有限公司 Resource scheduling method, device, equipment and medium
CN113806066A (en) * 2021-04-06 2021-12-17 京东科技控股股份有限公司 Big data resource scheduling method, system and storage medium
CN113238994A (en) * 2021-05-17 2021-08-10 上海中通吉网络技术有限公司 Report file management and publishing method
CN113342811B (en) * 2021-05-31 2024-11-05 中国工商银行股份有限公司 HBase table data processing method and device
CN113377617B (en) * 2021-06-11 2023-06-16 重庆农村商业银行股份有限公司 Monitoring system
CN113342618B (en) * 2021-06-30 2024-06-18 深圳前海微众银行股份有限公司 Distributed monitoring cluster management method, device and computer readable storage medium
CN113949707B (en) * 2021-09-30 2024-04-30 上海浦东发展银行股份有限公司 OpenResty and K8S-based container cloud service discovery and load balancing method
CN114221773B (en) * 2021-12-17 2024-02-06 北京邮电大学 Method for automatically adding agent based on container cloud
CN114461303A (en) * 2022-02-10 2022-05-10 京东科技信息技术有限公司 Method and device for accessing cluster internal service
CN114579252A (en) * 2022-02-14 2022-06-03 阿里巴巴(中国)有限公司 Method, system, storage medium and equipment for monitoring application state
CN114500246B (en) * 2022-02-15 2023-09-01 平安证券股份有限公司 Network connection state monitoring method and device, computer equipment and storage medium
CN114650215B (en) * 2022-03-10 2024-04-30 中国建设银行股份有限公司 Service platform fault separation method, device, computer equipment and storage medium
CN114844794B (en) * 2022-03-25 2024-06-04 之江实验室 Container-oriented resource monitoring method, system and storage medium
CN114979132B (en) * 2022-04-13 2024-05-17 京东科技信息技术有限公司 Cluster component state detection method and device
CN115134270B (en) * 2022-06-28 2023-09-08 北京奇艺世纪科技有限公司 Code monitoring method, monitoring system, electronic equipment and storage medium
CN116132366B (en) * 2022-07-01 2024-09-24 马上消费金融股份有限公司 Traffic management method, traffic management device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170257432A1 (en) * 2011-02-09 2017-09-07 Cliqr Technologies Inc. Apparatus, systems and methods for container based service deployment
CN107562472A (en) * 2017-08-24 2018-01-09 四川长虹电器股份有限公司 Micro services system and method based on docker containers
CN108040079A (en) * 2017-10-26 2018-05-15 山东浪潮云服务信息科技有限公司 Distributed container cluster service discovery method based on domestic CPU and operating system
CN109445802A (en) * 2018-09-25 2019-03-08 众安信息技术服务有限公司 The method of privatization Paas platform and its publication application based on container

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10261782B2 (en) * 2015-12-18 2019-04-16 Amazon Technologies, Inc. Software container registry service
CN107248986A (en) * 2017-06-08 2017-10-13 医惠科技有限公司 A kind of service tray method
CN107508795B (en) * 2017-07-26 2020-03-13 中国联合网络通信集团有限公司 Cross-container cluster access processing device and method
CN108038051A (en) * 2017-11-03 2018-05-15 深圳市牛鼎丰科技有限公司 Dissemination method, device, computer equipment and the storage medium of micro services
CN110290189B (en) * 2019-06-17 2023-04-18 深圳前海微众银行股份有限公司 Container cluster management method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170257432A1 (en) * 2011-02-09 2017-09-07 Cliqr Technologies Inc. Apparatus, systems and methods for container based service deployment
CN107562472A (en) * 2017-08-24 2018-01-09 四川长虹电器股份有限公司 Micro services system and method based on docker containers
CN108040079A (en) * 2017-10-26 2018-05-15 山东浪潮云服务信息科技有限公司 Distributed container cluster service discovery method based on domestic CPU and operating system
CN109445802A (en) * 2018-09-25 2019-03-08 众安信息技术服务有限公司 The method of privatization Paas platform and its publication application based on container

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王淼鑫: "基于IaaS的大数据容器集群关键技术研究", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》 *

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020253347A1 (en) * 2019-06-17 2020-12-24 深圳前海微众银行股份有限公司 Container cluster management method, device and system
TWI728571B (en) * 2019-11-26 2021-05-21 中華電信股份有限公司 Resource management method and system for blockchain service
CN111130925A (en) * 2019-11-29 2020-05-08 广州文远知行科技有限公司 Resource monitoring method and device, computer equipment and storage medium
CN111130925B (en) * 2019-11-29 2022-08-26 广州文远知行科技有限公司 Resource monitoring method and device, computer equipment and storage medium
CN111008074A (en) * 2019-12-05 2020-04-14 中国建设银行股份有限公司 File processing method, device, equipment and medium
CN111008074B (en) * 2019-12-05 2023-08-22 中国建设银行股份有限公司 File processing method, device, equipment and medium
CN111258609A (en) * 2020-01-19 2020-06-09 北京百度网讯科技有限公司 Upgrading method and device of Kubernetes cluster, electronic equipment and medium
WO2021147288A1 (en) * 2020-01-22 2021-07-29 中国银联股份有限公司 Container cluster management method, device and system
CN111324571A (en) * 2020-01-22 2020-06-23 中国银联股份有限公司 Container cluster management method, device and system
CN113296823A (en) * 2020-02-21 2021-08-24 北京国双科技有限公司 Method, device, equipment and storage medium for generating resource configuration file
CN111488142A (en) * 2020-04-10 2020-08-04 中电科航空电子有限公司 Embedded aeronautical communication middleware supporting multiple operating system platforms and application thereof
CN111679886A (en) * 2020-06-03 2020-09-18 科东(广州)软件科技有限公司 Heterogeneous computing resource scheduling method, system, electronic device and storage medium
CN111737082A (en) * 2020-06-19 2020-10-02 中国建设银行股份有限公司 Container and monitoring method, device, equipment and medium for container application
CN112085217B (en) * 2020-09-08 2024-04-16 中国平安人寿保险股份有限公司 Method, device, equipment and computer medium for deploying artificial intelligence service
CN112085217A (en) * 2020-09-08 2020-12-15 中国平安人寿保险股份有限公司 Method, device, equipment and computer medium for deploying artificial intelligence service
CN112486513B (en) * 2020-11-25 2022-08-12 湖南麒麟信安科技股份有限公司 Container-based cluster management method and system
CN112486513A (en) * 2020-11-25 2021-03-12 湖南麒麟信安科技股份有限公司 Container-based cluster management method and system
CN112866333B (en) * 2020-12-28 2023-03-24 上海领健信息技术有限公司 Cloud-native-based micro-service scene optimization method, system, device and medium
CN112866333A (en) * 2020-12-28 2021-05-28 上海领健信息技术有限公司 Cloud-native-based micro-service scene optimization method, system, device and medium
CN114035807A (en) * 2020-12-29 2022-02-11 中信百信银行股份有限公司 Application release system, method, device and equipment
CN113407222A (en) * 2021-06-17 2021-09-17 南方电网数字电网研究院有限公司 Service updating method and device, computer equipment and storage medium
CN114301980A (en) * 2021-12-28 2022-04-08 中国电信股份有限公司 Method, device and system for scheduling container cluster and computer readable medium
CN114415952A (en) * 2022-01-04 2022-04-29 北京金山云网络技术有限公司 Storage space allocation method and device
CN114741439A (en) * 2022-04-11 2022-07-12 杭州义益钛迪信息技术有限公司 Data adaptation method, server, system and storage medium
CN115309410A (en) * 2022-08-03 2022-11-08 北京火山引擎科技有限公司 Application release method and device and electronic equipment
CN115309410B (en) * 2022-08-03 2024-06-04 北京火山引擎科技有限公司 Edge cluster application publishing method and device of edge computing scene and electronic equipment

Also Published As

Publication number Publication date
CN110290189B (en) 2023-04-18
WO2020253347A1 (en) 2020-12-24

Similar Documents

Publication Publication Date Title
CN110290189A (en) A kind of container cluster management method, apparatus and system
CN105074702B (en) The Database Systems of single tenant and multi-tenant environment are provided
EP3082044B1 (en) Type-to-type analysis for cloud computing technical components
CN111861140B (en) Service processing method and device, storage medium and electronic device
CN105027108B (en) Example host is configured
CN110263054A (en) Auditing system, checking method, device and the computer equipment of SQL work order
CN108965381A (en) Implementation of load balancing, device, computer equipment and medium based on Nginx
CN107430528A (en) Opportunistic resource migration is placed with optimizing resource
CN107534570A (en) Virtualize network function monitoring
CN112036577B (en) Method and device for applying machine learning based on data form and electronic equipment
CN114745295A (en) Data acquisition method, device, equipment and readable storage medium
US20120078946A1 (en) Systems and methods for monitoring files in cloud-based networks
CN112256406B (en) Operation flow platformization scheduling method
CN114448983A (en) ZooKeeper-based distributed data exchange method
US20220050728A1 (en) Dynamic data driven orchestration of workloads
CN109560940B (en) Charging method and device for content delivery network CDN service
CN112448833A (en) Multi-management-domain communication method and device
CN114138501A (en) Processing method and device for edge intelligent service for field safety monitoring
CN112799970A (en) Test data processing method, device, electronic equipment and medium
US20230082903A1 (en) Autonomic application service framework
CN116955148A (en) Service system testing method, device, equipment, storage medium and product
CN109522349A (en) Across categorical data calculating and sharing method, system, equipment
CN110351104A (en) A kind of VIM selection method and device
CN115809292A (en) Data processing method, device, equipment and medium
CN112306848B (en) Architecture view generation method and device of micro-service system

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