Container cluster arrangement management method and device, equipment, medium and program product
By introducing the container cluster manager into NFVO, the orchestration management of the container cluster is realized, which solves the problem that NFVO cannot manage the container cluster, realizes the full life cycle management and resource scheduling of the container cluster, and improves the resource utilization and resource utilization of the network cloud. Management efficiency.
Patent Information
- Application Number
- CN202410161150.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-05
- Publication Date
- 2024-10-18
AI Technical Summary
Among existing network cloud products, Network Function Virtualization Orchestrator (NFVO) does not yet support the orchestration and management capabilities of container clusters, and cannot effectively manage and schedule container resources.
By introducing the Container Cluster Manager (CCM) into NFVO, the orchestration management of container clusters is realized, including receiving requests, querying cluster information, verifying resources, sending response messages and performing orchestration operations, supporting the full life cycle management of container clusters.
It realizes unified network cloud orchestration and management of container clusters, supports the creation, expansion, shrinkage and deletion of container clusters, improves resource utilization and management efficiency, and meets the needs of cloud-native containerized services.
Smart Images

Figure CN118796341A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of container clusters, and in particular to a container cluster orchestration management method, device, equipment, medium, and program product. Background Art
[0002] As the development of cloud-native containerization continues to heat up, more and more B / O / M-type APP application systems use Kubernetes-based containerization to deploy services to various network cloud resource pools. The number of systems deployed using container technology in network cloud network management resource pools continues to increase, and the cluster resources required to be created are also increasing. In the original network cloud products, the Network Functions Virtualization Orchestrator (NFVO) has achieved the isolation and management capabilities of all virtual machine resources in the Network Functions Virtualization (NFV) environment, but it does not yet support the orchestration and management capabilities of container clusters. Summary of the invention
[0003] The embodiments of the present application provide a container cluster orchestration management method, apparatus, device, medium and program product to solve the problem that the existing NFVO does not yet support the orchestration management capability of the container cluster.
[0004] To solve the above technical problems, this application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a container cluster orchestration management method, which is applied to a network function virtualization orchestrator NFVO, and the method includes:
[0006] receiving a first request, where the first request is used to request the NFVO to perform orchestration management on a target container cluster;
[0007] Sending a second request to the container cluster manager CCM, where the second request is used to request the CCM to orchestrate and manage the target container cluster;
[0008] receiving a first response message sent by the CCM in response to the second request, and sending a first query request to the CCM, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period;
[0009] Receive the cluster information sent by the CCM in response to the first query request.
[0010] Optionally, sending the second request to the container cluster manager CCM includes:
[0011] When the first request is used to request to create the target container cluster or to expand the capacity of the target container cluster, in response to the first request, a second query request is sent to the CCM, where the second query request is used to instruct the CCM to query cluster specification information;
[0012] receiving cluster specification information sent by the CCM in response to the second query request;
[0013] Perform resource verification according to the cluster specification information and preset management information;
[0014] If the resource verification passes, a second request is sent to the CCM.
[0015] Optionally, the target container cluster is a container cluster of the first mode, a container cluster of the second mode, or a container cluster of the third mode. The container cluster of the first mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant jointly use all cluster resources; the container cluster of the second mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant each use exclusive cluster resources; the container cluster of the third mode is used by multiple secondary tenants, and multiple CIM tenants corresponding to each secondary tenant each use exclusive cluster resources.
[0016] Optionally, when the target container cluster is a container cluster of the first mode or a container cluster of the second mode, the cluster specification information includes management specification information, computing node specification information, and storage specification information;
[0017] When the target container cluster is a container cluster in the third mode, the cluster specification information includes the management specification information.
[0018] Optionally, before sending the second request to the CCM, the method further includes:
[0019] In the case where the first request is used to request the creation of the target container cluster, a container cluster network creation request is sent to a virtual network function manager VIM.
[0020] Optionally, after receiving the cluster information sent by the CCM in response to the first query request, the method further includes:
[0021] When the first request is used to request to create the target container cluster or to expand the capacity of the target container cluster, sending a routing configuration request to the VIM;
[0022] Alternatively, when the first request is used to request deletion of the target container cluster, sending a container cluster deletion network request to the VIM;
[0023] Alternatively, when the first request is used to request scaling down the target container cluster, a request to delete the routing configuration is sent to the VIM.
[0024] In a second aspect, an embodiment of the present application provides a container cluster orchestration management method, which is applied to CCM, and the method includes:
[0025] receiving a second request sent by the NFVO, where the second request is used to request the CCM to perform orchestration management on the target container cluster;
[0026] If the second request is verified to be legal, sending a first response message to the NFVO;
[0027] receiving a first query request sent by the NFVO, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period;
[0028] The cluster information is sent to the NFVO in response to the first query request.
[0029] Optionally, before receiving the second request sent by the NFVO, the method further includes:
[0030] receiving a second query request sent by the NFVO, where the second query request is used to instruct the CCM to query cluster specification information;
[0031] The cluster specification information is sent to the NFVO in response to the second query request.
[0032] Optionally, when the second request is used to request scaling down the target container cluster, after sending the first response message to the NFVO, the method further includes:
[0033] Send a CIE node management request to CIM;
[0034] Send a CIE node resource deletion request to VIM.
[0035] Optionally, when the second request is used to request expansion of the target container cluster, after sending the first response message to the NFVO, the method further includes:
[0036] Send a CIE resource node creation request to VIM;
[0037] Send a CIE node management request to CIM.
[0038] Optionally, in a case where the second request is used to request creation of the target container cluster, after sending the first response message to the NFVO, the method further includes:
[0039] Send a container cluster creation request to VIM;
[0040] A second response message sent by the VIM in response to the container cluster creation request is received.
[0041] In a third aspect, an embodiment of the present application provides a container cluster orchestration management device, which is applied to a network function virtualization orchestrator NFVO, and the device includes:
[0042] A first receiving module is configured to receive a first request, where the first request is used to request the NFVO to perform orchestration management on a target container cluster;
[0043] A first sending module is used to send a second request to the container cluster manager CCM, where the second request is used to request the CCM to perform orchestration management on the target container cluster;
[0044] A second sending module is used to receive a first response message sent by the CCM in response to the second request, and send a first query request to the CCM, where the first query request is used to instruct the CCM to query the cluster information of the target container cluster according to a preset period;
[0045] The second receiving module is used to receive the cluster information sent by the CCM in response to the first query request.
[0046] Optionally, the first sending module includes:
[0047] A first sending unit, configured to send a second query request to the CCM in response to the first request when the first request is used to request to create the target container cluster or to expand the target container cluster, wherein the second query request is used to instruct the CCM to query cluster specification information;
[0048] A first receiving unit, configured to receive cluster specification information sent by the CCM in response to the second query request;
[0049] A verification unit, used to perform resource verification according to the cluster specification information and preset management information;
[0050] The second sending unit is used to send a second request to the CCM when the resource verification passes.
[0051] Optionally, the target container cluster is a container cluster of the first mode, a container cluster of the second mode, or a container cluster of the third mode. The container cluster of the first mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant jointly use all cluster resources; the container cluster of the second mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant each use exclusive cluster resources; the container cluster of the third mode is used by multiple secondary tenants, and multiple CIM tenants corresponding to each secondary tenant each use exclusive cluster resources.
[0052] Optionally, when the target container cluster is a container cluster of the first mode or a container cluster of the second mode, the cluster specification information includes management specification information, computing node specification information, and storage specification information;
[0053] When the target container cluster is a container cluster in the third mode, the cluster specification information includes the management specification information.
[0054] Optionally, the device further comprises:
[0055] The third sending module is used to send a container cluster network creation request to the virtual network function manager VIM when the first request is used to request the creation of the target container cluster.
[0056] Optionally, the device further comprises:
[0057] A fourth sending module, configured to send a routing configuration request to the VIM when the first request is used to request to create the target container cluster or to expand the target container cluster;
[0058] Alternatively, a fifth sending module is configured to send a container cluster network deletion request to the VIM when the first request is used to request deletion of the target container cluster;
[0059] Alternatively, the sixth sending module is configured to send a request to delete the routing configuration to the VIM when the first request is used to request scaling down the target container cluster.
[0060] In a fourth aspect, an embodiment of the present application provides a container cluster orchestration management device, which is applied to CCM, and the device includes:
[0061] A third receiving module is configured to receive a second request sent by the NFVO, where the second request is used to request the CCM to perform orchestration management on the target container cluster;
[0062] a seventh sending module, configured to send a first response message to the NFVO when the second request is verified to be legal;
[0063] A fourth receiving module, configured to receive a first query request sent by the NFVO, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period;
[0064] An eighth sending module is configured to send the cluster information to the NFVO in response to the first query request.
[0065] Optionally, the device further comprises:
[0066] a fifth receiving module, configured to receive a second query request sent by the NFVO, where the second query request is used to instruct the CCM to query cluster specification information;
[0067] A ninth sending module is configured to send cluster specification information to the NFVO in response to the second query request.
[0068] Optionally, the device further comprises:
[0069] A tenth sending module, used for sending a CIE node management removal request to the CIM;
[0070] The eleventh sending module is used to send a CIE node resource deletion request to the VIM.
[0071] Optionally, the device further comprises:
[0072] A twelfth sending module, used for sending a CIE resource node creation request to the VIM;
[0073] The thirteenth sending module is used to send a CIE node management request to the CIM.
[0074] Optionally, the device further comprises:
[0075] A fourteenth sending module is used to send a container cluster creation request to the VIM;
[0076] The sixth receiving module is used to receive a second response message sent by the VIM in response to the container cluster creation request.
[0077] In a fifth aspect, an embodiment of the present application provides an electronic device, including a transceiver, wherein the transceiver is used to:
[0078] receiving a first request, where the first request is used to request the NFVO to perform orchestration management on a target container cluster;
[0079] Sending a second request to the container cluster manager CCM, where the second request is used to request the CCM to orchestrate and manage the target container cluster;
[0080] receiving a first response message sent by the CCM in response to the second request, and sending a first query request to the CCM, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period;
[0081] Receive the cluster information sent by the CCM in response to the first query request.
[0082] Optionally, the transceiver is specifically used for:
[0083] When the first request is used to request to create the target container cluster or to expand the capacity of the target container cluster, in response to the first request, a second query request is sent to the CCM, where the second query request is used to instruct the CCM to query cluster specification information;
[0084] receiving cluster specification information sent by the CCM in response to the second query request;
[0085] Perform resource verification according to the cluster specification information and preset management information;
[0086] If the resource verification passes, a second request is sent to the CCM.
[0087] Optionally, the target container cluster is a container cluster of the first mode, a container cluster of the second mode, or a container cluster of the third mode. The container cluster of the first mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant jointly use all cluster resources; the container cluster of the second mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant each use exclusive cluster resources; the container cluster of the third mode is used by multiple secondary tenants, and multiple CIM tenants corresponding to each secondary tenant each use exclusive cluster resources.
[0088] Optionally, when the target container cluster is a container cluster of the first mode or a container cluster of the second mode, the cluster specification information includes management specification information, computing node specification information, and storage specification information;
[0089] When the target container cluster is a container cluster in the third mode, the cluster specification information includes the management specification information.
[0090] Optionally, the transceiver is further used for:
[0091] In the case where the first request is used to request the creation of the target container cluster, a container cluster network creation request is sent to a virtual network function manager VIM.
[0092] Optionally, the transceiver is further used for:
[0093] When the first request is used to request to create the target container cluster or to expand the capacity of the target container cluster, sending a routing configuration request to the VIM;
[0094] Alternatively, when the first request is used to request deletion of the target container cluster, sending a container cluster deletion network request to the VIM;
[0095] Alternatively, when the first request is used to request scaling down the target container cluster, a request to delete the routing configuration is sent to the VIM.
[0096] In a sixth aspect, an embodiment of the present application provides an electronic device, including a transceiver, wherein the transceiver is used to:
[0097] receiving a second request sent by the NFVO, where the second request is used to request the CCM to perform orchestration management on the target container cluster;
[0098] If the second request is verified to be legal, sending a first response message to the NFVO;
[0099] receiving a first query request sent by the NFVO, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period;
[0100] The cluster information is sent to the NFVO in response to the first query request.
[0101] Optionally, the transceiver is further used for:
[0102] receiving a second query request sent by the NFVO, where the second query request is used to instruct the CCM to query cluster specification information;
[0103] The cluster specification information is sent to the NFVO in response to the second query request.
[0104] Optionally, the transceiver is further used for:
[0105] Send a CIE node management request to CIM;
[0106] Send a CIE node resource deletion request to VIM.
[0107] Optionally, the transceiver is further used for:
[0108] Send a CIE resource node creation request to VIM;
[0109] Send a CIE node management request to CIM.
[0110] Optionally, the transceiver is further used for:
[0111] Send a container cluster creation request to VIM;
[0112] A second response message sent by the VIM in response to the container cluster creation request is received.
[0113] In the seventh aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the container cluster orchestration management method as described in the first aspect or the second aspect above are implemented.
[0114] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the container cluster orchestration management method as described in the first aspect or the second aspect above are implemented.
[0115] In a ninth aspect, an embodiment of the present application provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the container cluster orchestration management method as described in the first aspect or the second aspect above.
[0116] In an embodiment of the present application, the above-mentioned container cluster orchestration management method includes receiving a first request, where the first request is used to request NFVO to perform orchestration management on the target container cluster, sending a second request to the container cluster manager CCM, where the second request is used to request CCM to perform orchestration management on the target container cluster, receiving a first response message sent by CCM in response to the second request, sending a first query request to CCM, where the first query request is used to instruct CCM to query cluster information of the target container cluster according to a preset period, receiving the cluster information sent by CCM in response to the first query request, thereby constructing an end-to-end process for resource management of the container cluster, which can realize unified orchestration management of the network cloud for the entire life cycle of the container cluster, so that NFVO can support the orchestration management capabilities of the container cluster. BRIEF DESCRIPTION OF THE DRAWINGS
[0117] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0118] Figure 1 It is a schematic diagram of a core cloud platform system architecture provided by an embodiment of the present application;
[0119] Figure 2 This is one of the flow charts of a container cluster orchestration management method provided in an embodiment of the present application;
[0120] Figure 3 This is the second flowchart of a container cluster orchestration management method provided in an embodiment of the present application;
[0121] Figure 4 It is a schematic diagram of a network cloud management platform architecture provided by an embodiment of the present application;
[0122] Figure 5 This is an interactive schematic diagram of a container cluster creation process provided by an embodiment of the present application;
[0123] Figure 6 This is an interactive schematic diagram of a container cluster expansion process provided by an embodiment of the present application;
[0124] Figure 7 This is an interactive schematic diagram of a container cluster scaling-in process provided by an embodiment of the present application;
[0125] Figure 8 This is an interactive schematic diagram of a container cluster deletion process provided by an embodiment of the present application;
[0126] Fig. 9 This is one of the structural schematic diagrams of a container cluster orchestration management device provided in an embodiment of the present application;
[0127] Fig.10 This is the second structural diagram of a container cluster orchestration management device provided in an embodiment of the present application;
[0128] Fig.11 This is one of the structural schematic diagrams of an electronic device provided in an embodiment of the present application;
[0129] Fig.12 This is the second structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0130] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0131] For ease of understanding, some contents involved in the embodiments of the present application are described below:
[0132] Traditional network equipment manufacturers customize equipment based on specific specifications and specific technical requirements. The equipment maintenance and update process is relatively complicated, and the operating costs of business promotion are high. In order to reduce the complexity and cost of network deployment and business promotion, the decoupling of software and hardware based on a general hardware platform can effectively reduce the cost of equipment upgrades and accelerate the deployment of new services. Network Function Virtualization (NFV) was proposed based on the above background. NFV implements the management functions of the core cloud through the Management and Orchestration (MANO) system and the network management system (Operations Support System (OSS), Operations and Maintenance Center (OMC)). The core cloud platform system architecture is as follows: Figure 1 shown.
[0133] The MANO system was proposed by the European Telecommunications Standards Institute (ETSI) and consists of three major components: Network Functions Virtualization Orchestrator (NFVO), Virtualized Network Function Manager (VNFM), and Virtualized Infrastructure Manager (VIM). Its main functions include lifecycle management of network elements, creation of images required for network elements, management of templates and software required for network elements, and allocation and management of network resources.
[0134] 1) NFVO: responsible for unified resource scheduling, creating VNF automatic expansion and contraction strategies, and providing VNF instantiation specification configuration parameters.
[0135] 2) VNFM: Responsible for VNF lifecycle management, such as parsing and processing of VNFD, initialization of VNF instances, and scaling of VNFs.
[0136] 3) VIM: responsible for the scheduling and management of hardware resources and virtualization resources.
[0137] Based on the current status of network cloud services, the management functions of NFVO in existing network clouds are mainly solutions for VNF lifecycle management and virtual machine resource management, which are used to realize the orchestration and management of resources and services of the current network cloud VNF network elements.
[0138] As more and more B / O / M APP application systems use containerization to deploy services to various network cloud resource pools, it is necessary to promote the evolution of network cloud orchestration management capabilities in combination with the development of existing network services. For network cloud containerized business scenarios, it is necessary to study and formulate a multi-mode NFVO orchestration management system for container clusters based on Kubernetes, and add a unified network cloud orchestration management solution for container clusters.
[0139] In the embodiments of the present application, a container cluster orchestration management method, apparatus, device, medium and program product are proposed to solve the problem that the existing NFVO does not yet support the orchestration management capability of the container cluster. Figure 2 , Figure 2 This is one of the flowcharts of a container cluster orchestration management method provided in an embodiment of the present application, which is applied to a network function virtualization orchestrator NFVO, such as Figure 2 As shown, the method comprises the following steps:
[0140] Step 201: Receive a first request, where the first request is used to request the NFVO to perform orchestration management on a target container cluster.
[0141] Specifically, the first request may be a request initiated by a user or an operator to perform orchestration management on the target container cluster. The target container cluster may be a container cluster that already exists in the current network cloud, or may refer to a container cluster that is requested to be created.
[0142] For example, the first request may be a request to create a target container cluster, a request to delete a target container cluster, a request to expand or reduce the capacity of the target container cluster, etc.
[0143] Step 202: Send a second request to the container cluster manager CCM, where the second request is used to request the CCM to perform orchestration management on the target container cluster.
[0144] Specifically, the second request may be a request sent to the CCM after analyzing the first request to execute a specific orchestration management operation corresponding to the first request. For example, if the first request is a request to create a target container cluster, the second request is a request to the CCM to create a cluster.
[0145] Step 203: Receive a first response message sent by the CCM in response to the second request, and send a first query request to the CCM, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period.
[0146] Specifically, the above-mentioned cluster information may include the status of the container cluster and the resource status of the container cluster. The status of the container cluster may include whether the container cluster is in a normal state or an abnormal state. The resource status of the container cluster may include the total number of working nodes in the container cluster, the total memory of each node and the used amount, etc.
[0147] Step 204: Receive the cluster information sent by the CCM in response to the first query request.
[0148] In an embodiment of the present application, the above-mentioned container cluster orchestration management method includes receiving a first request, where the first request is used to request NFVO to perform orchestration management on the target container cluster, sending a second request to the container cluster manager CCM, where the second request is used to request CCM to perform orchestration management on the target container cluster, receiving a first response message sent by CCM in response to the second request, sending a first query request to CCM, where the first query request is used to instruct CCM to query cluster information of the target container cluster according to a preset period, receiving the cluster information sent by CCM in response to the first query request, thereby constructing an end-to-end process for resource management of the container cluster, which can realize unified orchestration management of the network cloud for the entire life cycle of the container cluster, so that NFVO can support the orchestration management capabilities of the container cluster.
[0149] Optionally, sending the second request to the container cluster manager CCM includes:
[0150] When the first request is used to request to create the target container cluster or to expand the capacity of the target container cluster, in response to the first request, a second query request is sent to the CCM, where the second query request is used to instruct the CCM to query cluster specification information;
[0151] receiving cluster specification information sent by the CCM in response to the second query request;
[0152] Perform resource verification according to the cluster specification information and preset management information;
[0153] If the resource verification passes, a second request is sent to the CCM.
[0154] Specifically, in the case where the first request is used to request the creation of the target container cluster, the above-mentioned cluster specification information may be used to indicate the resources required for container cluster creation, and may specifically include CIE node specification gradient, the total amount of resources occupied by the CIM corresponding to each cluster specification gradient, flavor information of the CIE node, and storage volume specifications and other information; in the case where the first request is used to request the expansion of the target container cluster, the above-mentioned cluster specification information may be used to indicate the computing node specifications of the container cluster, and may specifically include flavor information of the CIE node, etc.
[0155] The above-mentioned preset management information may be cluster management information input by an operator. For example, when the first request is used to request the creation of the target container cluster, the above-mentioned preset management information may be specification information for cluster creation, which may specifically include cluster name, cluster attributes, cluster docking configuration ID, cluster administrator's user name and password, cluster CIE node specifications and quantity, and other information; when the first request is used to request the expansion of the target container cluster, the above-mentioned preset management information may be specification information for cluster expansion, which may specifically include CIE node specifications and quantity, and the like.
[0156] The resource verification according to the cluster specification information and preset management information may be to verify whether the quota resources or cluster quota resources of the corresponding secondary tenant meet the resource requirements for creating a target container cluster or cluster expansion, including CIM management plane and CIE node resources.
[0157] It should be noted that, if the cluster specification information and the preset management information resource verification fail, an error code is returned.
[0158] In this implementation, the above-mentioned container cluster orchestration management method can, in response to the first request, send a second query request to the CCM when the first request is used to request the creation of the target container cluster or the expansion of the target container cluster, and the second query request is used to instruct the CCM to query cluster specification information; receive the cluster specification information sent by the CCM in response to the second query request; perform resource verification according to the cluster specification information and preset management information; if the resource verification passes, send a second request to the CCM, so that when creating the target container cluster or expanding the target container cluster, it is necessary to perform resource verification on the quota resources of the secondary tenants corresponding to the container cluster or the quota resources of the cluster to determine whether the cluster creation requirements or cluster expansion requirements are met, and if the resource verification passes, instruct the CCM to create a cluster or expand the cluster, thereby improving the accuracy and efficiency of container cluster orchestration management.
[0159] Optionally, the target container cluster is a container cluster of the first mode, a container cluster of the second mode, or a container cluster of the third mode. The container cluster of the first mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant jointly use all cluster resources; the container cluster of the second mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant each use exclusive cluster resources; the container cluster of the third mode is used by multiple secondary tenants, and multiple CIM tenants corresponding to each secondary tenant each use exclusive cluster resources.
[0160] Specifically, one secondary tenant corresponds to multiple CIM tenants, the resources of the container cluster of the first mode are only for one secondary tenant, and the multiple CIM tenants corresponding to the secondary tenant can share all cluster resources; the container cluster of the second mode is only for one secondary tenant, but the multiple CIM tenants corresponding to the secondary tenant can only use the cluster resources they occupy separately and cannot share all cluster resources; the container cluster of the third mode can be used by multiple secondary tenants, and the multiple CIM tenants corresponding to the multiple secondary tenants respectively use exclusive cluster resources.
[0161] It should be noted that the CIM and CIE nodes of the container cluster in the first mode are open to the business party, while the CIM and CIE nodes of the container cluster in the second mode and the second mode are not open to the business party.
[0162] Exemplarily, the attribute classification of the container cluster is shown in Table 1 below. The exclusive cluster in Table 1 is the container cluster of the first mode mentioned above, the shared cluster mode 1 is the container cluster of the second mode mentioned above, and the shared cluster mode 2 is the container cluster of the third mode mentioned above.
[0163] Table 1
[0164]
[0165] In this implementation, the target container cluster is a container cluster of the first mode, a container cluster of the second mode, or a container cluster of the third mode. The container cluster of the first mode is used by a secondary tenant, and multiple CIM tenants corresponding to the secondary tenant jointly use all cluster resources; the container cluster of the second mode is used by a secondary tenant, and multiple CIM tenants corresponding to the secondary tenant each use exclusive cluster resources; the container cluster of the third mode is used by multiple secondary tenants, and multiple CIM tenants corresponding to each secondary tenant each use exclusive cluster resources, so that the resource sharing and isolation degrees of container clusters in different modes are different. In this way, container clusters of corresponding modes can be created according to specific business needs and security policies, thereby improving the flexibility of orchestration and management of container clusters, meeting the management and use of different cluster modes by network cloud managers and business parties, and improving the utilization rate of existing network resources.
[0166] Optionally, when the target container cluster is a container cluster of the first mode or a container cluster of the second mode, the cluster specification information includes management specification information, computing node specification information, and storage specification information;
[0167] When the target container cluster is a container cluster in the third mode, the cluster specification information includes the management specification information.
[0168] Specifically, the above-mentioned management specification information may include the total amount of resources occupied by the CIM corresponding to each cluster specification gradient. The above-mentioned computing node specification information may include the CIE node specification gradient and the flavor information of the CIE node. The CIE node specification gradient can be understood as referring to the types or ranges of node specifications with different performance and resource configurations available in the containerized infrastructure. It may include a series of predefined node specifications to meet various performance requirements and cost considerations, such as small, medium and large nodes, or provide nodes with different gradients of performance from the lowest to the highest. Users or operators can select the appropriate node scale for deployment among these gradient specifications according to application requirements and budget. The above-mentioned storage specification information may include storage volume specification information, etc.
[0169] In this implementation, when the target container cluster is a container cluster of the first mode or a container cluster of the second mode, the cluster specification information includes management specification information, computing node specification information and storage specification information; when the target container cluster is a container cluster of the third mode, the cluster specification information includes the management specification information, and the end-to-end process of resource management for the entire life cycle of container clusters of different modes is refined and defined, thereby satisfying the management and use of different cluster modes by network cloud managers and business parties, and further improving the utilization rate of existing network resources.
[0170] Optionally, before sending the second request to the CCM, the method further includes:
[0171] In the case where the first request is used to request the creation of the target container cluster, a container cluster network creation request is sent to a virtual network function manager VIM.
[0172] Specifically, NFVO can interact with VIM through the Openstack native interface to complete the creation of the container cluster network according to the VIM to which the specified cluster network resources belong. The native interface includes resource information such as cluster network and CIE nodes.
[0173] In this implementation, when the first request is used to request the creation of the target container cluster, the container cluster orchestration management method sends a container cluster network creation request to the virtual network function manager VIM, so that the target container cluster has network communication capabilities and can communicate with other container clusters and with the outside.
[0174] Optionally, after receiving the cluster information sent by the CCM in response to the first query request, the method further includes:
[0175] When the first request is used to request to create the target container cluster or to expand the capacity of the target container cluster, sending a routing configuration request to the VIM;
[0176] Alternatively, when the first request is used to request deletion of the target container cluster, sending a container cluster deletion network request to the VIM;
[0177] Alternatively, when the first request is used to request scaling down the target container cluster, a request to delete the routing configuration is sent to the VIM.
[0178] Specifically, in the case where the first request is used to request the creation of the target container cluster, sending the routing configuration request to the VIM may be the NFVO instructing the VIM to incrementally issue an equal-cost multi-path (ECMP) return static route on the virtual router (vRouter) of the software-defined network gateway (SDN-GW) (i.e., a 401 type exroute request of the VIM northbound interface), and configure bidirectional forwarding detection (BFD), and the destination address of the ECMP return static route is the network instance service IP address (Service Internet Protocol Address, Service IP), and the next hop address is the IP address of the virtual machine port (VM Port) (i.e., the virtual network interface card (vNic)) reported by the CCM.
[0179] Specifically, when the first request is used to request the creation of the target container cluster or to expand the capacity of the target container cluster, sending a routing configuration request to the VIM may be the NFVO instructing the VIM to incrementally send the ECMP return static route (i.e., the 401 type exroute request of the VIM northbound interface) on the vRouter of the SDN-GW, and configure BFD.
[0180] Specifically, when the first request is used to request deletion of the target container cluster, sending a request to delete the container cluster network to the VIM may be that the NFVO interacts with the VIM through the Openstack native interface to complete the deletion of the container cluster network according to the VIM to which the specified cluster network resource belongs.
[0181] Specifically, when the first request is used to request to scale down the target container cluster, sending a request to delete the route configuration to the VIM may be that the NFVO sends and sends the return static route of the ECMP to be deleted on the Router based on the Port change information of the VM reported by the CCM and the Service IP information of the network instance.
[0182] In this implementation, the above-mentioned container cluster orchestration management method can send a routing configuration request to the VIM when the first request is used to request the creation of the target container cluster or to expand the target container cluster; or, when the first request is used to request the deletion of the target container cluster, send a container cluster network deletion request to the VIM; or, when the first request is used to request the reduction of the target container cluster, send a routing configuration deletion request to the VIM, and then the container cluster network can be managed through the VIM to ensure that the overall operation of the network meets actual needs.
[0183] See also Figure 3 , Figure 3 This is a flowchart of a container cluster orchestration management method provided in an embodiment of the present application, which is applied to CCM, such as Figure 3 As shown, the method comprises the following steps:
[0184] Step 301: Receive a second request sent by the NFVO, where the second request is used to request the CCM to perform orchestration management on the target container cluster;
[0185] Step 302: If the second request is verified to be legal, send a first response message to the NFVO;
[0186] Step 303: Receive a first query request sent by the NFVO, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period;
[0187] Step 304: Send the cluster information to the NFVO in response to the first query request.
[0188] It should be noted that this embodiment is Figure 2 The implementation method of the corresponding CCM in the embodiment shown in the figure can be found in the specific implementation method of the CCM. Figure 2 To avoid repeated description, the relevant descriptions in the illustrated embodiment will not be repeated in this embodiment.
[0189] Optionally, before receiving the second request sent by the NFVO, the method further includes:
[0190] receiving a second query request sent by the NFVO, where the second query request is used to instruct the CCM to query cluster specification information;
[0191] The cluster specification information is sent to the NFVO in response to the second query request.
[0192] The above optional implementations can be found in Figure 2 To avoid repeated description, the relevant descriptions in the illustrated embodiment will not be repeated in this embodiment.
[0193] Optionally, when the second request is used to request scaling down the target container cluster, after sending the first response message to the NFVO, the method further includes:
[0194] Send a CIE node management request to CIM;
[0195] Send a CIE node resource deletion request to VIM.
[0196] Specifically, the above-mentioned de-management request may be to request the CIM to stop managing the CIE node.
[0197] In this implementation, the CCM sends a CIE node de-management request to the CIM, and sends a CIE node resource deletion request to the VIM, so that the CIM stops managing the CIE node, thereby achieving capacity reduction of the target container cluster.
[0198] Optionally, when the second request is used to request expansion of the target container cluster, after sending the first response message to the NFVO, the method further includes:
[0199] Send a CIE resource node creation request to VIM;
[0200] Send a CIE node management request to CIM.
[0201] Specifically, the management request may be to request the CIM to start managing the CIE node.
[0202] In this implementation, the CCM sends a CIE resource node creation request to the VIM, and sends a CIE node management request to the CIM, so that the CIM manages the CIE node, thereby achieving capacity expansion of the target container cluster.
[0203] Optionally, in a case where the second request is used to request creation of the target container cluster, after sending the first response message to the NFVO, the method further includes:
[0204] Send a container cluster creation request to VIM;
[0205] A second response message sent by the VIM in response to the container cluster creation request is received.
[0206] Specifically, the second response message may be a result for instructing the VIM to create a container cluster. In this implementation, the CCM sends a container cluster creation request to the VIM, and receives a second response message sent by the VIM in response to the container cluster creation request, so that the CCM is aware of the container cluster creation.
[0207] For example, Figure 4is a schematic diagram of a network cloud management platform architecture provided by an embodiment of the present application, such as Figure 4 As shown in the figure, the container-based network cloud management platform architecture mainly includes three components: NFVO, Container Cluster Manager (CCM) and Container Infrastructure Manager (CIM). The main functions include container cluster lifecycle management, container application information management, container application lifecycle management, container-related resource allocation and management, etc. Among them, NFVO supports the creation and management of container clusters. Container clusters support multiple modes, mainly including exclusive mode and shared mode. The shared mode means that the container cluster can be used by multiple secondary tenants. The container cluster contains CIM node (container infrastructure manager component) and CIE node (container infrastructure engine component) resources.
[0208] (1) NFVO is responsible for the unified scheduling of resources, including virtualization resources and container cluster resources.
[0209] (2) CCM is responsible for the lifecycle management of container clusters, such as the creation, deletion, expansion, and reduction of container clusters.
[0210] (3) CIM is responsible for the scheduling and management of infrastructure such as nodes, storage, and networks within the resource pool.
[0211] (4) CIE is responsible for allocating and organizing resources, building and delivering containers, and executing container management commands according to the requirements of CIM.
[0212] In this implementation, a network cloud management platform architecture based on cloud native containerization is newly added, aiming to provide telecom-grade enhancements to the management and orchestration capabilities, resource management, etc. of cloud native technologies, forming an end-to-end telecom-grade solution that can support the commercial implementation of cloud native in the operator orchestration and management field.
[0213] The network cloud implementation newly supports the creation, expansion, reduction and deletion of exclusive clusters, shared mode 1 clusters and shared mode 2 clusters. Among them, the exclusive cluster is only used by one secondary tenant, multiple CIM tenants share cluster resources, and CIM and CIE nodes are open to the business side; shared cluster mode 1 is only used by one secondary tenant, each CIM tenant only uses exclusive cluster resources, and CIM and CIE nodes are not open to the business side; shared cluster mode 2 can be used by multiple secondary tenants, each CIM tenant only uses exclusive cluster resources, and CIM and CIE nodes are not open to the business side.
[0214] In this specific embodiment, a new multi-cluster mode definition is added for network cloud network management system applications, including network cloud exclusive cluster mode, shared cluster mode one, and shared cluster mode two, to realize the management and orchestration capabilities of new multi-type container clusters of the network cloud based on container resources, etc., which can meet the different requirements of business parties for the degree of resource isolation, and create container clusters of various different modes such as exclusive cluster mode, shared cluster mode one, and shared cluster mode two on demand, and each mode can be configured as virtual machine or bare metal server clusters on demand, to realize unified management of container clusters of different modes and forms.
[0215] For example, Figure 5 This is an interactive schematic diagram of a container cluster creation process provided by an embodiment of the present application, such as Figure 5 As shown, the container cluster creation process includes the following steps:
[0216] Step 1: The operator triggers the creation of a container cluster (exclusive cluster / shared cluster mode 1 / shared cluster mode 2) on the NFVO+ interface.
[0217] Step 2: NFVO+ initiates a container cluster specification query operation.
[0218] (1) For exclusive clusters and shared cluster mode 1, NFVO+ calls the "Query Cluster Management Specifications", "Query Cluster Computing Node Specifications", and "Query Cluster Storage Specifications" interfaces of CCM respectively to initiate queries on container cluster management specifications, computing node specifications, and cluster storage specifications to CCM.
[0219] (2) For shared cluster mode 2, NFVO+ calls the “query cluster management specifications” interface of CCM to initiate a container cluster management specification query to CCM.
[0220] Step 3: CCM counts the resources required for cluster creation and returns them to NFVO+ for response, including CIE node specification gradient, the total amount of resources occupied by CIM corresponding to each cluster specification gradient, CIE node flavor information, storage volume specifications, and other information.
[0221] Step 4: The operator enters the specification information (CIE node specification gradient) of cluster creation on the NFVO+ interface, including cluster name, cluster attributes (exclusive mode, shared mode 1, shared mode 2), cluster connection configuration ID, cluster administrator username and password, cluster CIE node specifications and quantity (conditions are required, if it is an exclusive cluster, CIE nodes can be created together, if it is a shared cluster 2, this parameter is not required), and cluster backend storage.
[0222] Step 5: NFVO+ initiates resource verification and resource authorization and deducts the corresponding secondary tenant quota resources or cluster quota resources, including CIM management plane and CIE node resources. If the cluster creation requirements are not met, an error code is returned to NFVO+. If they are met, step 6 is executed.
[0223] Step 6: (optional) NFVO+ interacts with the VIM through the Openstack native interface to complete the creation of the container cluster network according to the VIM to which the specified cluster network resources belong. The interface includes resource information such as cluster network and CIE nodes.
[0224] Step 7: NFVO+ calls the "Create Cluster" interface of CCM to initiate cluster creation. This interface includes resource information such as cluster node network, container network, and CIE node.
[0225] Step 8: CCM verifies the validity of the parameters and returns an error code if the parameters are not met.
[0226] Step 9: CCM returns a cluster creation response to NFVO+.
[0227] Step 10: CCM initiates container cluster creation on VIM, including CIM, CIE and backend storage (when the operator selects backend storage in the above step 4, backend storage needs to be included), and VIM returns a container cluster creation response to CCM.
[0228] Step 11: NFVO+ calls the CCM "Query Cluster Details" interface to initiate a periodic query to CCM for container cluster creation details.
[0229] Step 12: CCM returns the container cluster creation details to NFVO+, including cluster status, cluster resources and other information.
[0230] Step 13: (Required) NFVO+ instructs VIM to incrementally send ECMP return static routes (i.e., 401 type exroute requests of VIM northbound interface) on the vRouter of SDN-GW and configure BFD.
[0231] The return static route of ECMP has a destination address of the network instance Service IP and a next-hop address of the IP address of the VM Port (i.e., vNic) reported by the CCM.
[0232] Step 14: NFVO+ returns the container cluster creation result to the operator.
[0233] For example, Figure 6 is an interactive schematic diagram of a container cluster expansion process provided in an embodiment of the present application, such as Figure 6 As shown, the container cluster expansion process includes the following steps:
[0234] Step 1: The operator triggers the expansion of the container cluster on the NFVO+ interface.
[0235] Step 2: NFVO+ calls the CCM "Query Cluster Computing Node Specifications" interface to initiate a query of container cluster node specifications.
[0236] Step 3: CCM returns node specification information to NFVO+, including flavor information of CIE node.
[0237] Step 4: The operator enters the cluster expansion specification information on the NFVO+ interface, including the CIE node specification and CIE quantity. The interface carries the CIM cluster ID.
[0238] Step 5: NFVO+ initiates resource verification and deducts the secondary tenant and cluster quota resources corresponding to the CIE node, including CIE node resources. If the cluster expansion requirements are not met, the expansion failure prompt is returned. If they are met, step 6 is executed.
[0239] Step 6: (optional) NFVO+ interacts with the VIM through the Openstack native interface to complete the creation of the container cluster network according to the VIM to which the specified cluster network resources belong. The interface includes resource information such as the cluster north-south business network and the LB business network.
[0240] Step 7: NFVO+ calls the CCM "cluster expansion" interface to initiate the cluster expansion operation.
[0241] (1) For shared cluster mode 2, NFVO needs to transmit the north-south service network, LB service network, east-west management network, and east-west service network in this interface;
[0242] (2) For shared cluster mode 1 and shared cluster mode 2, NFVO needs to transmit the CIM tenant information bound to the CIE node in this interface.
[0243] Step 8: CCM verifies the validity of the parameters.
[0244] Step 9: CCM returns the cluster expansion response to NFVO+. If it is not satisfied, it returns an error message to NFVO+ (NFVO+ restores the corresponding quota of the VIM tenant).
[0245] Step 10: CCM initiates a CIE resource node creation operation to VIM.
[0246] Step 11: CCM notifies CIM to manage the CIE node.
[0247] Step 12: NFVO+ calls the CCM "Query Cluster Details" interface to initiate a periodic query of container cluster details to CCM.
[0248] Step 13: CCM returns the container cluster creation details to NFVO+, including cluster status, cluster resources and other information.
[0249] Step 14: (Required) NFVO+ instructs VIM to incrementally deliver ECMP return static routes (i.e., 401 type exroute requests of VIM northbound interface) on the vRouter of SDN-GW and configure BFD.
[0250] Step 15: NFVO+ returns the container cluster expansion result to the operator.
[0251] For example, Figure 7 is an interactive schematic diagram of a container cluster scaling process provided by an embodiment of the present application, such as Figure 7 As shown, the container cluster scaling process includes the following steps:
[0252] Step 1: The operator enters information such as the specifications of the cluster nodes to be scaled down on the NFVO+ interface.
[0253] Step 2: NFVO+ calls the "Shrink Cluster" interface of CCM to send the specified cluster shrink operation to CCM. The interface carries the cluster ID and CIE node name.
[0254] Step 3: CCM verifies the validity of the parameters.
[0255] Step 4: CCM returns a cluster reduction response to NFVO+. If the reduction fails, it returns an error message to NFVO+.
[0256] Step 5: CCM initiates the CIE node management operation to CIM.
[0257] Step 6: CCM initiates a CIE node resource deletion operation to VIM.
[0258] Step 7: NFVO+ calls the CCM "Query Cluster Details" interface to initiate a periodic query of container cluster details to CCM.
[0259] Step 8: CCM returns the container cluster scaling details to NFVO+, including cluster status, cluster resources, and other information.
[0260] Step 9: After NFVO+ finds that the cluster is successfully scaled down, it updates and saves the VIM tenant resources and cluster quota resource usage information.
[0261] Step 10: (Required) NFVO sends a message to delete the ECMP return static route on the Router based on the VM port change information reported by CCM and the Service IP information of the network instance.
[0262] Step 11: NFVO+ returns the container cluster scaling-in result to the operator.
[0263] For example, Figure 8 is an interactive schematic diagram of a container cluster deletion process provided by an embodiment of the present application, such as Figure 8 As shown, the container cluster deletion process includes the following steps:
[0264] Step 1: The operator triggers the container cluster deletion operation on the NFVO+ interface. If the cluster resources are in use, the cluster cannot be deleted.
[0265] Step 2: NFVO+ calls the CCM "Delete Cluster" interface to initiate a cluster deletion operation to the CCM. The interface carries the cluster ID information.
[0266] Step 3: CCM verifies legitimacy.
[0267] Step 4: CCM returns a cluster deletion response to NFVO+. If an exception is returned, NFVO+ ends the deletion operation.
[0268] Step 5: NFVO+ calls the CCM "Query Cluster Details" interface to initiate a periodic query of container cluster details to CCM.
[0269] Step 6: CCM returns the query cluster details to NFVO+, including cluster status, cluster resources and other information. When NFVO+ receives the return error code 404, which means the cluster no longer exists, NFVO+ deletes the locally saved cluster information.
[0270] Step 7: (Required) NFVO+ deletes the container cluster network by interacting with the VIM through the Openstack native interface according to the VIM to which the specified cluster network resource belongs.
[0271] Step 8: NFVO+ updates the resource usage information of the VIM tenant resources and cluster quota and saves it. NFVO+ returns the cluster deletion result to the operator.
[0272] In the above specific embodiments, the orchestration management of the life cycle of cluster creation, expansion, and reduction is achieved through the cooperation of end-to-end solution processes, and an end-to-end process for resource management of the entire life cycle of exclusive clusters, shared cluster mode one, and shared cluster mode two is constructed. The entire process is refined and defined to meet the management and use of different cluster modes by network cloud managers and business parties, improve the utilization rate of existing network resources, and realize automated management of the life cycles of multiple cluster resources. It also greatly improves the efficiency of cloud migration, network configuration, and operation and maintenance of resource pool containerized applications, providing flexible container resource scheduling capabilities for the subsequent launch of new businesses.
[0273] See also Fig. 9 , Fig. 9 This is one of the structural diagrams of a container cluster orchestration management device provided in an embodiment of the present application, such as Fig. 9 As shown, the container cluster orchestration management device 900 includes:
[0274] A first receiving module 901 is configured to receive a first request, where the first request is used to request the NFVO to perform orchestration management on a target container cluster;
[0275] A first sending module 902 is configured to send a second request to a container cluster manager CCM, where the second request is used to request the CCM to perform orchestration management on the target container cluster;
[0276] A second sending module 903 is used to receive a first response message sent by the CCM in response to the second request, and send a first query request to the CCM, where the first query request is used to instruct the CCM to query the cluster information of the target container cluster according to a preset period;
[0277] The second receiving module 904 is used to receive the cluster information sent by the CCM in response to the first query request.
[0278] Optionally, the first sending module 902 includes:
[0279] A first sending unit, configured to send a second query request to the CCM in response to the first request when the first request is used to request to create the target container cluster or to expand the target container cluster, wherein the second query request is used to instruct the CCM to query cluster specification information;
[0280] A first receiving unit, configured to receive cluster specification information sent by the CCM in response to the second query request;
[0281] A verification unit, used to perform resource verification according to the cluster specification information and preset management information;
[0282] The second sending unit is used to send a second request to the CCM when the resource verification passes.
[0283] Optionally, the target container cluster is a container cluster of the first mode, a container cluster of the second mode, or a container cluster of the third mode. The container cluster of the first mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant jointly use all cluster resources; the container cluster of the second mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant each use exclusive cluster resources; the container cluster of the third mode is used by multiple secondary tenants, and multiple CIM tenants corresponding to each secondary tenant each use exclusive cluster resources.
[0284] Optionally, when the target container cluster is a container cluster of the first mode or a container cluster of the second mode, the cluster specification information includes management specification information, computing node specification information, and storage specification information;
[0285] When the target container cluster is a container cluster in the third mode, the cluster specification information includes the management specification information.
[0286] Optionally, the container cluster orchestration management device 900 further includes:
[0287] The third sending module is used to send a container cluster network creation request to the virtual network function manager VIM when the first request is used to request the creation of the target container cluster.
[0288] Optionally, the container cluster orchestration management device 900 further includes:
[0289] A fourth sending module, configured to send a routing configuration request to the VIM when the first request is used to request to create the target container cluster or to expand the target container cluster;
[0290] Alternatively, a fifth sending module is configured to send a container cluster network deletion request to the VIM when the first request is used to request deletion of the target container cluster;
[0291] Alternatively, the sixth sending module is configured to send a request to delete the routing configuration to the VIM when the first request is used to request scaling down the target container cluster.
[0292] It should be noted that the container cluster orchestration management device 900 provided in the embodiment of the present application is a device capable of executing the above container cluster orchestration management method, and all implementation methods in the above container cluster orchestration management method embodiment are applicable to the device and can achieve the same or similar beneficial effects. To avoid repeated description, this embodiment will not be repeated.
[0293] See also Fig.10 , Fig.10 This is a second structural diagram of a container cluster orchestration management device provided in an embodiment of the present application, such as Fig.10 As shown, the container cluster orchestration management device 1000 includes:
[0294] The third receiving module 1001 is configured to receive a second request sent by the NFVO, where the second request is used to request the CCM to perform orchestration management on the target container cluster;
[0295] A seventh sending module 1002 is configured to send a first response message to the NFVO if the second request is verified to be legal;
[0296] The fourth receiving module 1003 is used to receive a first query request sent by the NFVO, where the first query request is used to instruct the CCM to query the cluster information of the target container cluster according to a preset period;
[0297] The eighth sending module 1004 is configured to send the cluster information to the NFVO in response to the first query request.
[0298] Optionally, the container cluster orchestration management device 1000 further includes:
[0299] a fifth receiving module, configured to receive a second query request sent by the NFVO, where the second query request is used to instruct the CCM to query cluster specification information;
[0300] A ninth sending module is configured to send cluster specification information to the NFVO in response to the second query request.
[0301] Optionally, the container cluster orchestration management device 1000 further includes:
[0302] A tenth sending module, used for sending a CIE node management removal request to the CIM;
[0303] The eleventh sending module is used to send a CIE node resource deletion request to the VIM.
[0304] Optionally, the container cluster orchestration management device 1000 further includes:
[0305] A twelfth sending module, used for sending a CIE resource node creation request to the VIM;
[0306] The thirteenth sending module is used to send a CIE node management request to the CIM.
[0307] Optionally, the container cluster orchestration management device 1000 further includes:
[0308] A fourteenth sending module is used to send a container cluster creation request to the VIM;
[0309] The sixth receiving module is used to receive a second response message sent by the VIM in response to the container cluster creation request.
[0310] It should be noted that the container cluster orchestration management device 1000 provided in the embodiment of the present application is a device capable of executing the above container cluster orchestration management method, and all implementation methods in the above container cluster orchestration management method embodiment are applicable to the device and can achieve the same or similar beneficial effects. To avoid repeated description, this embodiment will not be repeated.
[0311] For details, see Fig.11 As shown, an embodiment of the present application further provides an electronic device, including a bus 1101 , a transceiver 1102 , an antenna 1103 , a bus interface 1104 , a processor 1105 and a memory 1106 .
[0312] The transceiver 1102 is used for:
[0313] receiving a first request, where the first request is used to request the NFVO to perform orchestration management on a target container cluster;
[0314] Sending a second request to the container cluster manager CCM, where the second request is used to request the CCM to orchestrate and manage the target container cluster;
[0315] receiving a first response message sent by the CCM in response to the second request, and sending a first query request to the CCM, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period;
[0316] Receive the cluster information sent by the CCM in response to the first query request.
[0317] exist Fig.11 In the embodiment, the bus architecture (represented by bus 1101) may include any number of interconnected buses and bridges, and bus 1101 links various circuits including one or more processors represented by processor 1105 and memory represented by memory 1106. Bus 1101 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 1104 provides an interface between bus 1101 and transceiver 1102. Transceiver 1102 may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. Data processed by processor 1105 is transmitted on a wireless medium via antenna 1103, and further, antenna 1103 also receives data and transmits the data to processor 1105.
[0318] The processor 1105 is responsible for managing the bus 1101 and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 1106 can be used to store data used by the processor 1105 when performing operations.
[0319] Optionally, the processor 1105 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD).
[0320] Optionally, the transceiver 1102 is specifically configured to:
[0321] When the first request is used to request to create the target container cluster or to expand the capacity of the target container cluster, in response to the first request, a second query request is sent to the CCM, where the second query request is used to instruct the CCM to query cluster specification information;
[0322] receiving cluster specification information sent by the CCM in response to the second query request;
[0323] Perform resource verification according to the cluster specification information and preset management information;
[0324] If the resource verification passes, a second request is sent to the CCM.
[0325] Optionally, the target container cluster is a container cluster of the first mode, a container cluster of the second mode, or a container cluster of the third mode. The container cluster of the first mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant jointly use all cluster resources; the container cluster of the second mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant each use exclusive cluster resources; the container cluster of the third mode is used by multiple secondary tenants, and multiple CIM tenants corresponding to each secondary tenant each use exclusive cluster resources.
[0326] Optionally, when the target container cluster is a container cluster of the first mode or a container cluster of the second mode, the cluster specification information includes management specification information, computing node specification information, and storage specification information;
[0327] When the target container cluster is a container cluster in the third mode, the cluster specification information includes the management specification information.
[0328] Optionally, the transceiver 1102 is further configured to:
[0329] In the case where the first request is used to request the creation of the target container cluster, a container cluster network creation request is sent to a virtual network function manager VIM.
[0330] Optionally, the transceiver 1102 is further configured to:
[0331] When the first request is used to request to create the target container cluster or to expand the capacity of the target container cluster, sending a routing configuration request to the VIM;
[0332] Alternatively, when the first request is used to request deletion of the target container cluster, sending a container cluster deletion network request to the VIM;
[0333] Alternatively, when the first request is used to request scaling down the target container cluster, a request to delete the routing configuration is sent to the VIM.
[0334] It should be noted that the electronic device provided in the embodiment of the present application is a device capable of executing the above container cluster orchestration management method, and all implementation methods in the above container cluster orchestration management method embodiment are applicable to the electronic device and can achieve the same or similar beneficial effects. To avoid repeated description, this embodiment will not be repeated.
[0335] For details, see Fig.12 As shown, an embodiment of the present application further provides an electronic device, including a bus 1201 , a transceiver 1202 , an antenna 1203 , a bus interface 1204 , a processor 1205 and a memory 1206 .
[0336] The transceiver 1202 is used for:
[0337] receiving a second request sent by the NFVO, where the second request is used to request the CCM to perform orchestration management on the target container cluster;
[0338] If the second request is verified to be legal, sending a first response message to the NFVO;
[0339] receiving a first query request sent by the NFVO, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period;
[0340] The cluster information is sent to the NFVO in response to the first query request.
[0341] exist Fig.12 In the embodiment, the bus architecture (represented by bus 1201) may include any number of interconnected buses and bridges, and bus 1201 links various circuits including one or more processors represented by processor 1205 and memory represented by memory 1206. Bus 1201 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 1204 provides an interface between bus 1201 and transceiver 1202. Transceiver 1202 may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. Data processed by processor 1205 is transmitted on a wireless medium via antenna 1203, and further, antenna 1203 also receives data and transmits the data to processor 1205.
[0342] The processor 1205 is responsible for managing the bus 1201 and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 1206 can be used to store data used by the processor 1205 when performing operations.
[0343] Optionally, the processor 1205 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD).
[0344] Optionally, the transceiver 1202 is further configured to:
[0345] receiving a second query request sent by the NFVO, where the second query request is used to instruct the CCM to query cluster specification information;
[0346] The cluster specification information is sent to the NFVO in response to the second query request.
[0347] Optionally, the transceiver 1202 is further configured to:
[0348] Send a CIE node management request to CIM;
[0349] Send a CIE node resource deletion request to VIM.
[0350] Optionally, the transceiver 1202 is further configured to:
[0351] Send a CIE resource node creation request to VIM;
[0352] Send a CIE node management request to CIM.
[0353] Optionally, the transceiver 1202 is further configured to:
[0354] Send a container cluster creation request to VIM;
[0355] A second response message sent by the VIM in response to the container cluster creation request is received.
[0356] It should be noted that the electronic device provided in the embodiment of the present application is a device capable of executing the above container cluster orchestration management method, and all implementation methods in the above container cluster orchestration management method embodiment are applicable to the electronic device and can achieve the same or similar beneficial effects. To avoid repeated description, this embodiment will not be repeated.
[0357] An embodiment of the present application also provides an electronic device, including: a processor, a memory, and a program stored in the memory and executable on the processor. When the program is executed by the processor, each process of the above-mentioned container cluster orchestration management method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0358] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above container cluster orchestration management method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0359] The embodiment of the present application also provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the various processes of the above-mentioned container cluster orchestration management method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0360] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0361] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0362] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A container cluster orchestration management method, characterized in that: Applied to a network function virtualization orchestrator NFVO, the method comprises: receiving a first request, where the first request is used to request the NFVO to perform orchestration management on a target container cluster; Sending a second request to the container cluster manager CCM, where the second request is used to request the CCM to orchestrate and manage the target container cluster; receiving a first response message sent by the CCM in response to the second request, and sending a first query request to the CCM, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period; Receive the cluster information sent by the CCM in response to the first query request.
2. The method according to claim 1, characterized in that The sending a second request to the container cluster manager CCM includes: When the first request is used to request to create the target container cluster or to expand the capacity of the target container cluster, in response to the first request, a second query request is sent to the CCM, where the second query request is used to instruct the CCM to query cluster specification information; receiving cluster specification information sent by the CCM in response to the second query request; Perform resource verification according to the cluster specification information and preset management information; If the resource verification passes, a second request is sent to the CCM.
3. The method according to claim 2, characterized in that The target container cluster is a container cluster of the first mode, a container cluster of the second mode, or a container cluster of the third mode. The container cluster of the first mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant use all cluster resources together. The container cluster of the second mode is used by one secondary tenant, and multiple CIM tenants corresponding to the secondary tenant each use exclusive cluster resources. The container cluster of the third mode is used by multiple secondary tenants, and multiple CIM tenants corresponding to each secondary tenant respectively use exclusive cluster resources.
4. The method according to claim 3, characterized in that: When the target container cluster is a container cluster of the first mode or a container cluster of the second mode, the cluster specification information includes management specification information, computing node specification information, and storage specification information; When the target container cluster is a container cluster in the third mode, the cluster specification information includes the management specification information.
5. The method according to claim 1, characterized in that Before sending the second request to the CCM, the method further includes: In the case where the first request is used to request the creation of the target container cluster, a container cluster network creation request is sent to a virtual network function manager VIM.
6. The method according to claim 1, characterized in that After receiving the cluster information sent by the CCM in response to the first query request, the method further includes: When the first request is used to request to create the target container cluster or to expand the capacity of the target container cluster, sending a routing configuration request to the VIM; Alternatively, when the first request is used to request deletion of the target container cluster, sending a container cluster deletion network request to the VIM; Alternatively, when the first request is used to request scaling down the target container cluster, a request to delete the routing configuration is sent to the VIM.
7. A container cluster orchestration management method, characterized in that: Applied to CCM, the method comprises: receiving a second request sent by the NFVO, where the second request is used to request the CCM to perform orchestration management on the target container cluster; If the second request is verified to be legal, sending a first response message to the NFVO; receiving a first query request sent by the NFVO, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period; The cluster information is sent to the NFVO in response to the first query request.
8. The method according to claim 7, characterized in that Before receiving the second request sent by the NFVO, the method further includes: receiving a second query request sent by the NFVO, where the second query request is used to instruct the CCM to query cluster specification information; In response to the second query request, cluster specification information is sent to the NFVO.
9. The method according to claim 7, characterized in that: In a case where the second request is used to request scaling down the target container cluster, after sending the first response message to the NFVO, the method further includes: Send a request to CIM to manage the CIE node; Send a CIE node resource deletion request to VIM.
10. The method according to claim 7, characterized in that In the case where the second request is used to request expansion of the target container cluster, after sending the first response message to the NFVO, the method further includes: Send a CIE resource node creation request to VIM; Send a CIE node management request to CIM.
11. The method according to claim 7, characterized in that In the case where the second request is used to request creation of the target container cluster, after sending the first response message to the NFVO, the method further includes: Send a container cluster creation request to VIM; A second response message sent by the VIM in response to the container cluster creation request is received.
12. A container cluster orchestration management device, characterized in that: Applied to a network function virtualization orchestrator NFVO, the device comprises: A first receiving module is configured to receive a first request, where the first request is used to request the NFVO to perform orchestration management on a target container cluster; A first sending module is used to send a second request to the container cluster manager CCM, where the second request is used to request the CCM to perform orchestration management on the target container cluster; A second sending module is used to receive a first response message sent by the CCM in response to the second request, and send a first query request to the CCM, where the first query request is used to instruct the CCM to query the cluster information of the target container cluster according to a preset period; The second receiving module is used to receive the cluster information sent by the CCM in response to the first query request.
13. A container cluster orchestration management device, characterized in that: Applied to CCM, the device comprises: A third receiving module is configured to receive a second request sent by the NFVO, where the second request is used to request the CCM to perform orchestration management on the target container cluster; a seventh sending module, configured to send a first response message to the NFVO when the second request is verified to be legal; A fourth receiving module, configured to receive a first query request sent by the NFVO, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period; An eighth sending module is configured to send the cluster information to the NFVO in response to the first query request.
14. An electronic device, characterized in that: The invention comprises a transceiver, wherein the transceiver is used for: receiving a first request, where the first request is used to request the NFVO to perform orchestration management on a target container cluster; Sending a second request to the container cluster manager CCM, where the second request is used to request the CCM to orchestrate and manage the target container cluster; receiving a first response message sent by the CCM in response to the second request, and sending a first query request to the CCM, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period; Receive the cluster information sent by the CCM in response to the first query request.
15. An electronic device, characterized in that: The invention comprises a transceiver, wherein the transceiver is used for: receiving a second request sent by the NFVO, where the second request is used to request the CCM to perform orchestration management on the target container cluster; If the second request is verified to be legal, sending a first response message to the NFVO; receiving a first query request sent by the NFVO, where the first query request is used to instruct the CCM to query cluster information of the target container cluster according to a preset period; The cluster information is sent to the NFVO in response to the first query request.
16. An electronic device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the container cluster orchestration management method as described in any one of claims 1 to 6; or, the program, when executed by the processor, implements the steps of the container cluster orchestration management method as described in any one of claims 7 to 11.
17. A computer-readable storage medium, characterized in that: A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps of the container cluster orchestration management method as described in any one of claims 1 to 6 are implemented; or, when the computer program is executed by the processor, the steps of the container cluster orchestration management method as described in any one of claims 7 to 11 are implemented.
18. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the container cluster orchestration management method as described in any one of claims 1 to 6; or, the computer instructions, when executed by a processor, implement the steps of the container cluster orchestration management method as described in any one of claims 7 to 11.
