CN113553139A - Hybrid multi-cloud management method, system, device and medium in container cloud environment - Google Patents
Hybrid multi-cloud management method, system, device and medium in container cloud environment Download PDFInfo
- Publication number
- CN113553139A CN113553139A CN202110854939.4A CN202110854939A CN113553139A CN 113553139 A CN113553139 A CN 113553139A CN 202110854939 A CN202110854939 A CN 202110854939A CN 113553139 A CN113553139 A CN 113553139A
- Authority
- CN
- China
- Prior art keywords
- application deployment
- container cloud
- deployment request
- cloud cluster
- management module
- 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.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 149
- 238000000034 method Methods 0.000 claims abstract description 40
- 230000036541 health Effects 0.000 claims description 19
- 238000012544 monitoring process Methods 0.000 claims description 16
- 230000008569 process Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000005538 encapsulation Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45579—I/O management, e.g. providing access to device drivers or storage
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a mixed multi-cloud management method, a system, equipment and a medium in a container cloud environment. Wherein, the method comprises the following steps: when the unified authority authentication module determines that the application deployment request under the mixed multi-cloud condition is legal, the unified authority authentication module sends the application deployment request to the resource management module; the resource management module determines a target container cloud cluster corresponding to the application deployment request according to the application deployment request, the application deployment algorithm and the resource use conditions of the plurality of container cloud clusters, wherein the container cloud cluster comprises at least one of a public container cloud cluster and a private container cloud cluster, and the target container cloud cluster is used for deploying the application contained in the application deployment request; and the resource management module encapsulates the application deployment request and issues the encapsulated application deployment request to the target container cloud cluster so that the target container cloud cluster performs corresponding application deployment operation according to the application deployment request. The technical scheme provided by the embodiment of the invention can be used for carrying out unified management on the container cloud cluster.
Description
Technical Field
The embodiment of the invention relates to the technical field of networks, in particular to a method, a system, equipment and a medium for hybrid multi-cloud management in a container cloud environment.
Background
With the continuous development of cloud computing services, enterprises need to select optimal matching and combination among numerous cloud computing technologies and manufacturers to construct configurations which are high in cost performance and meet the characteristics of enterprise services, and at present, most companies adopt a mixed deployment mode of public clouds and private clouds to support the service development of the companies. In this case, an enterprise needs a hybrid multi-cloud management system compatible with multiple cloud platforms and technologies to implement unified resource management, elastic scaling, cross-cloud management, and other capabilities on basic resources.
At present, a typical hybrid multi-cloud management scheme is a virtual Kubelet, and when the capacity of a local cloud cluster is insufficient, container products of other cloud service providers are accessed into the cluster as virtual nodes, so that the cluster has a larger capacity to run applications. However, in the above solutions, the implementation degrees of the solutions provided by the cloud vendors are different, and the interface specifications and the interface types of the software development toolkits provided by the cloud platforms are not uniform, which is not beneficial to uniform management.
At present, no better hybrid multi-cloud management method exists.
Disclosure of Invention
The embodiment of the invention provides a mixed multi-cloud management method, a mixed multi-cloud management system, mixed multi-cloud management equipment and a mixed multi-cloud management medium in a container cloud environment, and can be used for uniformly managing container cloud clusters.
In a first aspect, an embodiment of the present invention provides a hybrid multi-cloud management method in a container cloud environment, which is applied to a hybrid multi-cloud management system in the container cloud environment, where the system includes a unified authority authentication module and a resource management module, and the method includes:
when the unified authority authentication module determines that the application deployment request under the mixed multi-cloud condition is legal, the unified authority authentication module sends the application deployment request to the resource management module;
the resource management module determines a target container cloud cluster corresponding to the application deployment request according to the application deployment request, an application deployment algorithm and resource use conditions of a plurality of container cloud clusters, wherein the container cloud cluster comprises at least one of a public container cloud cluster and a private container cloud cluster, and the target container cloud cluster is used for deploying the application contained in the application deployment request;
and the resource management module encapsulates the application deployment request and issues the encapsulated application deployment request to the target container cloud cluster so that the target container cloud cluster performs corresponding application deployment operation according to the application deployment request.
In a second aspect, an embodiment of the present invention provides a hybrid multi-cloud management system in a container cloud environment, where the system includes:
the system comprises a unified authority authentication module and a resource management module;
the hybrid multi-cloud management system in the container cloud environment is implemented to execute the hybrid multi-cloud management method in the container cloud environment according to any embodiment of the present invention.
In a third aspect, an embodiment of the present invention provides a computer device, where the computer device includes: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the hybrid multi-cloud management method in the container cloud environment according to any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the hybrid multi-cloud management method in a container cloud environment according to any embodiment of the present invention.
The embodiment of the invention provides a mixed multi-cloud management method, a system, equipment and a medium under a container cloud environment, wherein when a unified authority authentication module determines that an application deployment request under the mixed multi-cloud condition is legal, the application deployment request is sent to a resource management module, then the resource management module determines a target container cloud cluster corresponding to the application deployment request according to the application deployment request, an application deployment algorithm and the resource use condition of a plurality of container cloud clusters, the container cloud cluster comprises at least one of a public container cloud cluster and a private container cloud cluster, the target container cloud cluster is used for deploying applications contained in the application deployment request, finally the resource management module encapsulates the application deployment request and issues the encapsulated application deployment request to the target container cloud so that the target container cloud can perform corresponding application deployment operation according to the application deployment request, by the scheme, the container cloud cluster can be managed in a unified mode, and the problems that the implementation degree of the schemes provided by various cloud manufacturers is different and the interface specifications and the interface types of the software development kit provided by various cloud platforms are not uniform are solved through packaging processing.
Drawings
Fig. 1 is a flowchart of a hybrid multi-cloud management method in a container cloud environment according to an embodiment of the present invention;
fig. 2A is a flowchart of a hybrid multi-cloud management method in a container cloud environment according to a second embodiment of the present invention;
fig. 2B is a schematic diagram of a hybrid multi-cloud management process in the method according to the second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a hybrid multi-cloud management system in a container cloud environment according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a hybrid cloud management method in a container cloud environment according to an embodiment of the present invention, which can be applied to a case of managing a hybrid cloud in a container cloud environment. The hybrid multi-cloud management method in the container cloud environment provided by this embodiment may be executed by the hybrid multi-cloud management system in the container cloud environment provided by the embodiment of the present invention, and the system may be implemented in a software and/or hardware manner and integrated in a computer device executing the method.
Referring to fig. 1, the method of the present embodiment includes, but is not limited to, the following steps:
and S110, when the unified authority authentication module determines that the application deployment request under the mixed multi-cloud condition is legal, the unified authority authentication module sends the application deployment request to the resource management module.
A hybrid multi-cloud may be understood, among other things, as a cloud computing environment that combines a private cloud with a public cloud, made up of multiple cloud services provided by multiple cloud providers. The application deployment request may be understood as a deployment request of an application program related to a service of a user. A container cloud cluster may be understood as a collection of computing and storage network resources, comprising a plurality of container clouds. Preferably, in the embodiment of the invention, the networks of the public cloud and the private cloud are communicated.
In order to solve the problems that in the prior art, the implementation degrees of the schemes provided by various cloud manufacturers are different, and the software development kit interface specifications and the interface types provided by various cloud platforms are not uniform, which are not beneficial to uniform management, in the embodiment of the present invention, the uniform permission authentication module in the hybrid multi-cloud management system in the container cloud environment is used to first determine the validity of the application deployment request under the hybrid multi-cloud condition, and the specific determination mode may be to determine the identity of a user corresponding to the application deployment request, or may be to determine the permission of a container cloud cluster that can be used by the user corresponding to the application deployment request, and the embodiment of the present invention is not specifically limited. When the unified authority authentication module determines that the application deployment request under the mixed multi-cloud condition is legal, the application deployment request is sent to the resource management module, so that the subsequent resource management module determines a target container cloud cluster corresponding to the application deployment request according to the application deployment request, the application deployment algorithm and the resource use conditions of the multiple container cloud clusters.
And S120, the resource management module determines a target container cloud cluster corresponding to the application deployment request according to the application deployment request, the application deployment algorithm and the resource use conditions of the plurality of container cloud clusters, wherein the container cloud cluster comprises at least one of a public container cloud cluster and a private container cloud cluster, and the target container cloud cluster is used for deploying the application contained in the application deployment request.
The application deployment algorithm may be understood as an algorithm used when the application is deployed, for example, a random deployment algorithm, a node deployment algorithm based on an optimized object, or a deployment algorithm based on area coverage, and the like, which is not particularly limited in this embodiment of the present invention. A target container cloud cluster may be understood as a container cloud cluster that is capable of satisfying an application deployment request. The resource usage of the container cloud cluster may be understood as usage of resources in the container cloud cluster, such as a memory, a Central Processing Unit (CPU), and the like. The application included in the application deployment request may be understood as an application program related to the user's business.
Because there are possibly more container cloud clusters, after receiving the application deployment request sent by the unified authority authentication module, the resource management module can determine, according to the application deployment request, the application deployment algorithm, and the resource usage of the multiple container cloud clusters, a container cloud cluster that satisfies the application deployment request, that is: a target container cloud cluster corresponding to the application deployment request.
And S130, the resource management module encapsulates the application deployment request, and issues the encapsulated application deployment request to the target container cloud cluster so that the target container cloud cluster performs corresponding application deployment operation according to the application deployment request.
The application deployment may be understood as configuring an environment for normal use of the application, such as installation of hardware and software, setting of environment variables, and the like.
After determining the target container cloud cluster corresponding to the application deployment request, the resource management module encapsulates the application deployment request according to the characteristics of the target container cloud cluster, and issues the encapsulated application deployment request to the target container cloud cluster, so that the target container cloud cluster performs corresponding application deployment operation according to the application deployment request, and therefore a user corresponding to the application deployment request can normally use the application included in the application deployment request.
In the technical solution provided in this embodiment, first, when the unified authority authentication module determines that an application deployment request under a mixed multi-cloud condition is legal, the unified authority authentication module sends the application deployment request to the resource management module, then the resource management module determines, according to the application deployment request, the application deployment algorithm, and resource usage conditions of a plurality of container cloud clusters, a target container cloud cluster corresponding to the application deployment request, where the container cloud cluster includes at least one of a public container cloud cluster and a private container cloud cluster, the target container cloud cluster is used to deploy an application included in the application deployment request, and finally the resource management module encapsulates the application deployment request and issues the encapsulated application deployment request to the target container cloud cluster so that the target container cloud cluster performs corresponding application deployment operation according to the application deployment request, and by using the above scheme, the container cloud clusters can be uniformly managed, the problems that the implementation degrees of the schemes provided by various cloud manufacturers are different and the interface specifications and the interface types of the software development toolkits provided by various cloud platforms are not uniform are solved through encapsulation processing.
In some embodiments, before the unified authority authentication module determines that the application deployment request under the mixed multi-cloud condition is legal, the method may further include: the unified authority authentication module receives a trigger operation of a target user and forms an application deployment request under the mixed multi-cloud condition according to the trigger operation; correspondingly, the determining, by the unified authority authentication module, that the application deployment request under the mixed multi-cloud condition is legal may specifically include: the unified authority authentication module determines whether a pre-stored user table contains a target user corresponding to the application deployment request; and if so, the unified authority authentication module determines that the application deployment request is legal.
The target user may be understood as a user corresponding to the application deployment request, that is: a user performing a triggering operation.
Specifically, a relevant trigger button may be set in the hybrid multi-cloud management system in the container cloud environment, and after the target user triggers the trigger button, the unified permission authentication module may receive a trigger operation of the target user, and form an application deployment request under the hybrid multi-cloud condition according to the trigger operation. Then, the unified authority authentication module inquires a pre-stored user table, and can determine whether the user table contains a target user corresponding to the application deployment request; if yes, the unified authority authentication module determines that the application deployment request is legal; if not, the unified authority authentication module determines that the application deployment request is illegal and carries out alarm prompt.
In the embodiment of the invention, the legality of the application deployment request can be ensured by verifying the identity of the target user, and the illegal application deployment request is avoided.
In some embodiments, after the resource management module issues the encapsulated application deployment request to the corresponding target container cloud cluster, so that the target container cloud cluster performs the corresponding application deployment operation according to the application deployment request, the method may further include: the resource management module determines a health check result of the application contained in the application deployment operation, and determines whether the application can run according to the health check result; if not, the resource management module re-determines the target container cloud cluster corresponding to the application deployment request.
A health check may be understood as a check whether an application can run successfully.
Specifically, the resource management module may receive a message of a health check result of an application included in the application deployment operation sent by the target container cloud cluster, or may directly invoke a health check process, thereby determining the health check result of the application included in the application deployment operation, and determining whether the application can run according to the health check result; if not, the resource management module re-determines the target container cloud cluster corresponding to the application deployment request, so as to facilitate the subsequent encapsulation of the application deployment request, and issues the encapsulated application deployment request to the re-determined target container cloud cluster, so that the re-determined target container cloud cluster performs corresponding application deployment operation according to the application deployment request; if so, the application can be operated, and accordingly, no additional operation is required to be executed.
In the embodiment of the invention, a resource management module determines the health check result of the application contained in the application deployment operation, and determines whether the application can run according to the health check result; if not, the resource management module re-determines the target container cloud cluster corresponding to the application deployment request, so that the successful operation of the application can be ensured, the problem of application deployment operation failure is avoided, and the use experience of the user is improved.
Preferably, the target container cloud cluster may retry to schedule other nodes inside the target container cloud cluster when the health check is not passed, and if the health check is still not passed after the retry, a message that the health check result is not passed is sent to the resource management module.
In the embodiment of the invention, under the condition that the target container cloud cluster fails to pass the health check, other nodes in the target container cloud cluster can be retried and scheduled for many times, so that the condition that the health check fails due to small errors can be avoided, the workload of a resource management module is reduced, and the time is saved.
In some embodiments, the system further comprises a monitoring alarm module; correspondingly, the method may further specifically include: and the monitoring alarm module acquires the service monitoring index data of the application deployment operation process and carries out alarm prompt when the service monitoring index data exceeds a preset threshold value.
The preset threshold may be a preset threshold corresponding to the service monitoring index, or may be determined according to a specific situation, and embodiments of the present invention are not limited specifically.
In the embodiment of the invention, the monitoring alarm module acquires the service monitoring index data of the application deployment operation process, such as the video memory frequency or the request frequency of a CPU (central processing unit) or a video card, and carries out alarm prompt when the service monitoring index data exceeds a preset threshold value, such as alarm prompt in the form of short message, voice, mail or enterprise WeChat, so that a user can know the specific process of the application deployment operation through alarm, and the use experience of the user is improved.
In some embodiments, the system further comprises a multi-cloud application logging module; correspondingly, the multi-cloud application log module is used for inquiring the application log of the application deployment operation process, so that the understanding of the application deployment operation process is further improved.
Example two
Fig. 2A is a flowchart of a hybrid multi-cloud management method in a container cloud environment according to a second embodiment of the present invention. The embodiment of the invention is optimized on the basis of the embodiment. Optionally, the embodiment optimizes the process of determining the target container cloud cluster and encapsulating the application deployment request.
Referring to fig. 2A, the method of the present embodiment includes, but is not limited to, the following steps:
s210, when the unified authority authentication module determines that the application deployment request under the mixed multi-cloud condition is legal, the unified authority authentication module sends the application deployment request to the resource management module.
And S220, the resource management module determines a corresponding first container cloud cluster according to the application deployment request and the application deployment algorithm.
After receiving the application deployment request, the resource management module can determine a first container cloud cluster suitable for deploying the application deployment request according to the application deployment request and an application deployment algorithm.
And S230, the resource management module calls a uniform interface provided by the cluster management module to acquire the resource use condition of the first container cloud cluster, and determines a target container cloud cluster corresponding to the application deployment request from the first container cloud cluster according to the resource use condition.
The unified interface provided by the cluster management module can be compatible with the differences of versions, interfaces and the like of a plurality of container cloud clusters, so that resources needing to be bound with node topology, such as DaemonSet, can be deployed.
The resource management module calls a uniform interface provided by the cluster management module to acquire the resource use condition of the first container cloud cluster, and can determine a target container cloud cluster corresponding to the application deployment request from the first container cloud cluster according to the resource use condition, for example, if the resources of a certain container cloud cluster in the first container cloud cluster are completely used up, it is indicated that the container cloud cluster cannot meet the application deployment request.
Optionally, the determining, by the resource management module, a target container cloud cluster corresponding to the application deployment request from the first container cloud cluster according to the resource usage condition may specifically include: and the resource management module determines a second container cloud cluster meeting the resource requirement corresponding to the application deployment request as the target container cloud cluster according to the resource use condition.
The second container cloud cluster may be the first container cloud cluster, or some container cloud clusters selected from the first container cloud cluster, and may be determined specifically according to an actual situation, which is not specifically limited in this embodiment of the present invention.
In the embodiment of the invention, the resource management module determines the second container cloud cluster meeting the resource requirement corresponding to the application deployment request as the target container cloud cluster according to the resource use condition, so that the accuracy of the determined target container cloud cluster can be improved, the smooth execution of the final application deployment operation is facilitated, and the error is avoided.
And S240, the resource management module packages the application deployment request according to the format requirement corresponding to the target container cloud cluster to obtain the packaged application deployment request.
Because different target container cloud clusters may have different format requirements, the resource management module encapsulates the application deployment request according to the format requirements corresponding to the target container cloud clusters to obtain an encapsulated application deployment request, which can ensure that the encapsulated application deployment request is correctly identified by the target container cloud clusters, thereby reducing the occurrence of errors and saving the working time.
And S250, the resource management module issues the encapsulated application deployment request to the target container cloud cluster through a uniform interface provided by the cluster management module, so that the target container cloud cluster performs corresponding application deployment operation according to the application deployment request.
Specifically, the resource management module can issue the encapsulated application deployment request to the target container cloud cluster through a uniform interface provided by the cluster management module, so that the target container cloud cluster performs corresponding application deployment operation according to the application deployment request.
Fig. 2B is a schematic diagram of a hybrid multi-cloud management process in the method according to the second embodiment of the present invention, which exemplarily shows an implementation manner, as shown in fig. 2B:
s3001, the unified authority authentication module forms an application deployment request.
S3002, the unified authority authentication module determines whether the pre-stored user table contains the target user corresponding to the application deployment request.
If yes, executing S3003; if not, go to S3004.
S3003, the unified authority authentication module determines that the application deployment request is legal, sends the application deployment request to the resource management module, and executes S3005.
And S3004, carrying out alarm prompt.
S3005, the resource management module calls the unified interface provided by the cluster management module to obtain the resource usage of the first container cloud cluster, and determines a target container cloud cluster corresponding to the application deployment request from the first container cloud cluster according to the resource usage.
And S3006, the resource management module issues the encapsulated application deployment request to the target container cloud cluster through the unified interface provided by the cluster management module, so that the target container cloud cluster performs corresponding application deployment operation according to the application deployment request.
S3007, the resource management module determines whether the application can run according to the health check result.
If yes, go to S3008; if not, the process returns to re-execution S3005.
And S3008, ending.
In the technical scheme provided by this embodiment, first, when the unified authority authentication module determines that an application deployment request under a mixed multi-cloud condition is legal, the unified authority authentication module sends the application deployment request to the resource management module, then the resource management module determines a corresponding first container cloud cluster according to the application deployment request and an application deployment algorithm, then the resource management module calls a unified interface provided by the cluster management module to obtain a resource usage condition of the first container cloud cluster, and determines a target container cloud cluster corresponding to the application deployment request from the first container cloud cluster according to the resource usage condition, the resource management module encapsulates the application deployment request according to a format requirement corresponding to the target container cloud cluster to obtain an encapsulated application deployment request, and finally the resource management module issues the encapsulated application deployment request to the target container cloud cluster through the unified interface provided by the cluster management module, the method and the device have the advantages that the target container cloud cluster carries out corresponding application deployment operation according to the application deployment request, the accuracy of the determined target container cloud cluster can be improved by determining the target container cloud cluster from the first container cloud cluster, the application deployment request is packaged according to the format requirement corresponding to the target container cloud cluster, the packaged application deployment request can be correctly identified by the target container cloud cluster, and meanwhile unified management of the container cloud cluster is achieved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a hybrid multi-cloud management system in a container cloud environment according to a third embodiment of the present invention, and as shown in fig. 3, the system may include:
the unified authority authentication module 310 is configured to send the application deployment request to the resource management module when determining that the application deployment request under the mixed multi-cloud condition is legal.
The resource management module 320 is configured to determine, according to the application deployment request, an application deployment algorithm, and resource usage of multiple container cloud clusters, a target container cloud cluster corresponding to the application deployment request, where the container cloud cluster includes at least one of a public container cloud cluster and a private container cloud cluster, and the target container cloud cluster is used to deploy an application included in the application deployment request;
the resource management module 320 is configured to encapsulate the application deployment request, and issue the encapsulated application deployment request to the target container cloud cluster, so that the target container cloud cluster performs corresponding application deployment operation according to the application deployment request.
In the technical solution provided in this embodiment, first, when the unified authority authentication module determines that an application deployment request under a mixed multi-cloud condition is legal, the unified authority authentication module sends the application deployment request to the resource management module, then the resource management module determines, according to the application deployment request, the application deployment algorithm, and resource usage conditions of a plurality of container cloud clusters, a target container cloud cluster corresponding to the application deployment request, where the container cloud cluster includes at least one of a public container cloud cluster and a private container cloud cluster, the target container cloud cluster is used to deploy an application included in the application deployment request, and finally the resource management module encapsulates the application deployment request and issues the encapsulated application deployment request to the target container cloud cluster so that the target container cloud cluster performs corresponding application deployment operation according to the application deployment request, and by using the above scheme, the container cloud clusters can be uniformly managed, the problems that the implementation degrees of the schemes provided by various cloud manufacturers are different and the interface specifications and the interface types of the software development toolkits provided by various cloud platforms are not uniform are solved through encapsulation processing.
Further, the unified authority authentication module 310 may be specifically configured to: before determining that the application deployment request under the mixed multi-cloud condition is legal, receiving trigger operation of a target user, and forming the application deployment request under the mixed multi-cloud condition according to the trigger operation; determining whether a pre-stored user table contains a target user corresponding to the application deployment request; if so, determining that the application deployment request is legal, and sending the application deployment request to the resource management module.
Further, the hybrid multi-cloud management system in the container cloud environment may further include: a cluster management module; accordingly, the resource management module 320 may include: the first container cloud cluster determining unit is used for determining a corresponding first container cloud cluster according to the application deployment request and the application deployment algorithm; and the target container cloud cluster determining unit is used for calling a uniform interface provided by the cluster management module to obtain the resource use condition of the first container cloud cluster, and determining the target container cloud cluster corresponding to the application deployment request from the first container cloud cluster according to the resource use condition.
Further, the target container cloud cluster determining unit may be specifically configured to: and calling a uniform interface provided by the cluster management module to acquire the resource use condition of the first container cloud cluster, and determining a second container cloud cluster meeting the resource requirement corresponding to the application deployment request as the target container cloud cluster according to the resource use condition.
Further, the resource management module 320 may further include: the encapsulation unit is used for encapsulating the application deployment request according to the format requirement corresponding to the target container cloud cluster to obtain an encapsulated application deployment request; and the issuing unit is used for issuing the encapsulated application deployment request to the target container cloud cluster through a uniform interface provided by the cluster management module so that the target container cloud cluster performs corresponding application deployment operation according to the application deployment request.
Further, the resource management module 320 may further include an inspection result determining unit: the cloud service system comprises a cloud service module, a cloud service module and a cloud service module, wherein the cloud service module is used for sending an encapsulated application deployment request to a corresponding target container cloud cluster so that the target container cloud cluster can perform corresponding application deployment operation according to the application deployment request, determining a health check result of an application contained in the application deployment operation, and determining whether the application can run according to the health check result; and if not, re-determining the target container cloud cluster corresponding to the application deployment request.
Further, the hybrid multi-cloud management system in the container cloud environment may further include: a monitoring alarm module; the monitoring alarm module is used for collecting the service monitoring index data of the application deployment operation process and giving an alarm prompt when the service monitoring index data exceeds a preset threshold value.
The mixed cloud management system in the container cloud environment provided by the embodiment can be applied to the mixed cloud management method in the container cloud environment provided by any embodiment, and has corresponding functions and beneficial effects.
Example four
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention, as shown in fig. 4, the computer device includes a processor 410 and a memory 420; the number of the processors 410 in the computer device may be one or more, and one processor 410 is taken as an example in fig. 4; the processor 410 and the memory 420 in the computer device may be connected by a bus or other means, as exemplified by the bus connection in fig. 4.
The memory 420 serves as a computer-readable storage medium, and may be used to store software programs, computer-executable programs, and modules, such as modules corresponding to the hybrid multi-cloud management method in the container cloud environment in the embodiment of the present invention (for example, the unified rights authentication module 310 and the resource management module 320 in the hybrid multi-cloud management system in the container cloud environment). The processor 410 executes various functional applications and data processing of the computer device by executing software programs, instructions and modules stored in the memory 420, that is, implements the hybrid multi-cloud management method in the container cloud environment described above.
The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 420 may further include memory located remotely from processor 410, which may be connected to a computer device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The computer device provided by the embodiment can be used for executing the hybrid multi-cloud management method in the container cloud environment provided by any embodiment, and has corresponding functions and beneficial effects.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a hybrid multi-cloud management method in a container cloud environment according to any embodiment of the present invention, where the method specifically includes:
when the unified authority authentication module determines that the application deployment request under the mixed multi-cloud condition is legal, the unified authority authentication module sends the application deployment request to the resource management module;
the resource management module determines a target container cloud cluster corresponding to the application deployment request according to the application deployment request, an application deployment algorithm and resource use conditions of a plurality of container cloud clusters, wherein the container cloud cluster comprises at least one of a public container cloud cluster and a private container cloud cluster, and the target container cloud cluster is used for deploying the application contained in the application deployment request;
and the resource management module encapsulates the application deployment request and issues the encapsulated application deployment request to the target container cloud cluster so that the target container cloud cluster performs corresponding application deployment operation according to the application deployment request.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the hybrid multi-cloud management method in a container cloud environment provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the hybrid multi-cloud management system in the container cloud environment, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A hybrid multi-cloud management method in a container cloud environment is applied to a hybrid multi-cloud management system in the container cloud environment, the system comprises a unified authority authentication module and a resource management module, and the method comprises the following steps:
when the unified authority authentication module determines that the application deployment request under the mixed multi-cloud condition is legal, the unified authority authentication module sends the application deployment request to the resource management module;
the resource management module determines a target container cloud cluster corresponding to the application deployment request according to the application deployment request, an application deployment algorithm and resource use conditions of a plurality of container cloud clusters, wherein the container cloud cluster comprises at least one of a public container cloud cluster and a private container cloud cluster, and the target container cloud cluster is used for deploying the application contained in the application deployment request;
and the resource management module encapsulates the application deployment request and issues the encapsulated application deployment request to the target container cloud cluster so that the target container cloud cluster performs corresponding application deployment operation according to the application deployment request.
2. The method of claim 1, before the unified authority authentication module determines that the application deployment request under the mixed multi-cloud condition is legal, further comprising:
the unified authority authentication module receives a trigger operation of a target user and forms an application deployment request under the mixed multi-cloud condition according to the trigger operation;
correspondingly, the step of determining that the application deployment request under the mixed multi-cloud condition is legal by the unified authority authentication module comprises the following steps:
the unified authority authentication module determines whether a pre-stored user table contains a target user corresponding to the application deployment request;
and if so, the unified authority authentication module determines that the application deployment request is legal.
3. The method of claim 1, wherein the system further comprises a cluster management module;
correspondingly, the determining, by the resource management module, a target container cloud cluster corresponding to the application deployment request according to the application deployment request, the application deployment algorithm, and resource usage of the plurality of container cloud clusters includes:
the resource management module determines a corresponding first container cloud cluster according to the application deployment request and an application deployment algorithm;
and the resource management module calls a uniform interface provided by the cluster management module to acquire the resource use condition of the first container cloud cluster, and determines a target container cloud cluster corresponding to the application deployment request from the first container cloud cluster according to the resource use condition.
4. The method of claim 3, wherein the determining, by the resource management module, a target container cloud cluster corresponding to the application deployment request from the first container cloud cluster according to the resource usage comprises:
and the resource management module determines a second container cloud cluster meeting the resource requirement corresponding to the application deployment request as the target container cloud cluster according to the resource use condition.
5. The method of claim 3, wherein the resource management module encapsulates the application deployment request and issues the encapsulated application deployment request to the target container cloud cluster, and the method comprises:
the resource management module encapsulates the application deployment request according to a format requirement corresponding to the target container cloud cluster to obtain an encapsulated application deployment request;
and the resource management module issues the encapsulated application deployment request to the target container cloud cluster through a uniform interface provided by the cluster management module.
6. The method according to claim 1, wherein after the resource management module issues the encapsulated application deployment request to the corresponding target container cloud cluster, so that the target container cloud cluster performs a corresponding application deployment operation according to the application deployment request, the method further comprises:
the resource management module determines a health check result of the application contained in the application deployment operation, and determines whether the application can run according to the health check result;
if not, the resource management module re-determines the target container cloud cluster corresponding to the application deployment request.
7. The method of any one of claims 1-6, wherein the system further comprises a monitoring alarm module;
correspondingly, the method further comprises the following steps:
and the monitoring alarm module acquires the service monitoring index data of the application deployment operation process and carries out alarm prompt when the service monitoring index data exceeds a preset threshold value.
8. A hybrid multi-cloud management system in a container cloud environment, comprising: the system comprises a unified authority authentication module and a resource management module;
the hybrid multi-cloud management system in a container cloud environment is implemented to perform the method of any of claims 1-7.
9. Computer device, in which a system according to claim 8 is integrated, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110854939.4A CN113553139A (en) | 2021-07-28 | 2021-07-28 | Hybrid multi-cloud management method, system, device and medium in container cloud environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110854939.4A CN113553139A (en) | 2021-07-28 | 2021-07-28 | Hybrid multi-cloud management method, system, device and medium in container cloud environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113553139A true CN113553139A (en) | 2021-10-26 |
Family
ID=78104702
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110854939.4A Pending CN113553139A (en) | 2021-07-28 | 2021-07-28 | Hybrid multi-cloud management method, system, device and medium in container cloud environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113553139A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114389936A (en) * | 2021-11-26 | 2022-04-22 | 上海景域智能科技有限公司 | Cross-cloud multi-cluster deployment operation and maintenance method, system, processor and storage medium |
CN115604120A (en) * | 2022-11-30 | 2023-01-13 | 苏州浪潮智能科技有限公司(Cn) | Multi-cloud cluster resource sharing method, device, equipment and storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101969475A (en) * | 2010-11-15 | 2011-02-09 | 张军 | Business data controllable distribution and fusion application system based on cloud computing |
US20130263209A1 (en) * | 2012-03-30 | 2013-10-03 | Cognizant Business Services Limited | Apparatus and methods for managing applications in multi-cloud environments |
CN108322490A (en) * | 2017-01-17 | 2018-07-24 | 阿里巴巴集团控股有限公司 | The method, apparatus and server of virtual machine configuration and the distributed cloud service system of deployment |
CN108924217A (en) * | 2018-06-29 | 2018-11-30 | 中山大学 | A kind of distribution cloud system Automation arranging method |
CN109067888A (en) * | 2018-08-16 | 2018-12-21 | 中科边缘智慧信息科技(苏州)有限公司 | The distributed cloudy resource multi-level Fusion management system in strange land |
CN109656686A (en) * | 2018-12-17 | 2019-04-19 | 武汉烽火信息集成技术有限公司 | The upper deployment container cloud method of OpenStack, storage medium, electronic equipment and system |
US20190278938A1 (en) * | 2018-03-08 | 2019-09-12 | International Business Machines Corporation | Data processing in a hybrid cluster environment |
US20200218580A1 (en) * | 2017-05-02 | 2020-07-09 | Namu Tech Co., Ltd. | Cloud platform system |
CN111405055A (en) * | 2020-03-23 | 2020-07-10 | 北京达佳互联信息技术有限公司 | Multi-cluster management method, system, server and storage medium |
CN111432036A (en) * | 2020-04-26 | 2020-07-17 | 恩亿科(北京)数据科技有限公司 | Management system and management method of edge cloud platform |
CN111580977A (en) * | 2020-05-12 | 2020-08-25 | 中国民航信息网络股份有限公司 | Resource adjusting method and related equipment |
CN111580832A (en) * | 2020-04-29 | 2020-08-25 | 电科云(北京)科技有限公司 | Application release system and method applied to heterogeneous multi-cloud environment |
US10778597B1 (en) * | 2015-05-21 | 2020-09-15 | EMC IP Holding Company LLC | Orchestration management system and method for managing a resource pool across multiple computing clouds |
CN112214330A (en) * | 2020-11-04 | 2021-01-12 | 腾讯科技(深圳)有限公司 | Method and device for deploying master nodes in cluster and computer-readable storage medium |
-
2021
- 2021-07-28 CN CN202110854939.4A patent/CN113553139A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101969475A (en) * | 2010-11-15 | 2011-02-09 | 张军 | Business data controllable distribution and fusion application system based on cloud computing |
US20130263209A1 (en) * | 2012-03-30 | 2013-10-03 | Cognizant Business Services Limited | Apparatus and methods for managing applications in multi-cloud environments |
US10778597B1 (en) * | 2015-05-21 | 2020-09-15 | EMC IP Holding Company LLC | Orchestration management system and method for managing a resource pool across multiple computing clouds |
CN108322490A (en) * | 2017-01-17 | 2018-07-24 | 阿里巴巴集团控股有限公司 | The method, apparatus and server of virtual machine configuration and the distributed cloud service system of deployment |
US20200218580A1 (en) * | 2017-05-02 | 2020-07-09 | Namu Tech Co., Ltd. | Cloud platform system |
US20190278938A1 (en) * | 2018-03-08 | 2019-09-12 | International Business Machines Corporation | Data processing in a hybrid cluster environment |
CN108924217A (en) * | 2018-06-29 | 2018-11-30 | 中山大学 | A kind of distribution cloud system Automation arranging method |
CN109067888A (en) * | 2018-08-16 | 2018-12-21 | 中科边缘智慧信息科技(苏州)有限公司 | The distributed cloudy resource multi-level Fusion management system in strange land |
CN109656686A (en) * | 2018-12-17 | 2019-04-19 | 武汉烽火信息集成技术有限公司 | The upper deployment container cloud method of OpenStack, storage medium, electronic equipment and system |
CN111405055A (en) * | 2020-03-23 | 2020-07-10 | 北京达佳互联信息技术有限公司 | Multi-cluster management method, system, server and storage medium |
CN111432036A (en) * | 2020-04-26 | 2020-07-17 | 恩亿科(北京)数据科技有限公司 | Management system and management method of edge cloud platform |
CN111580832A (en) * | 2020-04-29 | 2020-08-25 | 电科云(北京)科技有限公司 | Application release system and method applied to heterogeneous multi-cloud environment |
CN111580977A (en) * | 2020-05-12 | 2020-08-25 | 中国民航信息网络股份有限公司 | Resource adjusting method and related equipment |
CN112214330A (en) * | 2020-11-04 | 2021-01-12 | 腾讯科技(深圳)有限公司 | Method and device for deploying master nodes in cluster and computer-readable storage medium |
Non-Patent Citations (1)
Title |
---|
中国城市轨道交通协会: "《城市轨道交通云计算应用指南》", 31 December 2020, 中国铁道出版社有限公司, pages: 59 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114389936A (en) * | 2021-11-26 | 2022-04-22 | 上海景域智能科技有限公司 | Cross-cloud multi-cluster deployment operation and maintenance method, system, processor and storage medium |
CN115604120A (en) * | 2022-11-30 | 2023-01-13 | 苏州浪潮智能科技有限公司(Cn) | Multi-cloud cluster resource sharing method, device, equipment and storage medium |
CN115604120B (en) * | 2022-11-30 | 2023-04-18 | 苏州浪潮智能科技有限公司 | Multi-cloud cluster resource sharing method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110191063B (en) | Service request processing method, device, equipment and storage medium | |
KR102104899B1 (en) | Method and apparatus for authenticating access authorization in wireless communication system | |
US11894992B2 (en) | Network component management method and network device | |
JP2020510384A (en) | Network slice management method, unit, and system | |
US20210342178A1 (en) | Method and device for instantiating virtualized network function | |
CN113553139A (en) | Hybrid multi-cloud management method, system, device and medium in container cloud environment | |
CN110138753B (en) | Distributed message service system, method, apparatus, and computer-readable storage medium | |
JP2013522793A (en) | System and method for remote maintenance of multiple clients in an electronic network using virtual machines | |
CN112583630B (en) | Device management method, device, system, device and storage medium | |
CN103647820A (en) | Arbitration method and arbitration apparatus for distributed cluster systems | |
CN111027066A (en) | Method and system for implementing virus killing software client light proxy under KVM platform | |
WO2024148833A1 (en) | Container multi-network-interface-card network configuration method, apparatus, and device, and storage medium | |
CN111666145A (en) | Message processing method and system of message queue and computer equipment | |
KR20230069088A (en) | Container cluster management method and its system | |
CN113296987B (en) | Interface calling method and device for calling module, computer equipment and storage medium | |
WO2016197688A1 (en) | Data collection method and device | |
CN114095498B (en) | Cluster environment deployment method, system, computer equipment and storage medium | |
CN106330595B (en) | Heartbeat detection method and device for distributed platform | |
CN106713464B (en) | service management method and device of enterprise service bus | |
CN112463357B (en) | Method and equipment for safe interaction of server in-band data | |
CN113660121A (en) | Information management method and device based on distributed system and computer storage medium | |
CN111796906A (en) | Container management method, device, equipment and storage medium | |
CN110661852A (en) | Service processing method and device in cloud environment | |
CN116132366B (en) | Traffic management method, traffic management device, electronic equipment and storage medium | |
CN108897550B (en) | System and method for realizing program deployment, access and upgrade through packaging browser |
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 |