A cloud management platform implements a method for service governance, equipment and medium
By creating a control management model and monitoring components in the cloud management platform, the problem of different service governance status requirements of different components is solved, and unified service governance management is achieved.
Patent Information
- Application Number
- CN202211179765.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-27
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-09-27
AI Technical Summary
In existing applications, different components have different requirements for service governance status, making it difficult to manage them in a unified manner.
By managing components in the application container cluster through a cloud management platform, a control and management model is created. Pre-set listening components monitor whether components are injected with edge and service proxies, and determine whether to create custom resources, thereby achieving service governance of components.
It enables unified management of service governance for several components in the application, reducing the difficulty of service governance management.
Smart Images

Figure CN115509592B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of service governance technology, and in particular to a method, device and medium for implementing service governance on a cloud management platform. Background Technology
[0002] As user access scale and application data volume increase, application system architectures are gradually upgrading from monolithic architectures, service-oriented architectures, and microservice architectures to service meshes. The topologies between services are complex, and service meshes are used to ensure reliable transmission of requests between these topologies. As an infrastructure layer, service meshes focus on communication issues between services, improving upon traditional service governance problems.
[0003] However, in the actual service governance process, different components in the same application have different workloads and different requirements for service governance status, making it difficult to manage them in a unified manner. Summary of the Invention
[0004] This application provides a method, device, and medium for implementing service governance in a cloud management platform, which addresses the technical problem that different components in the same application have different requirements for service governance status and cannot be managed uniformly.
[0005] On the one hand, embodiments of this application provide a method for implementing service governance on a cloud management platform, including: The cloud management platform manages several components in the container cluster corresponding to the application, and creates a control and management model for each component in the managed container cluster. The control and management model is used to indicate whether to enable service governance for the services corresponding to the components. The preset listening component in the control and management model listens to whether the several components managed by the cloud management platform inject edge and service proxies, and when it is detected that a component injects the edge and service proxies, it determines whether a custom resource corresponding to the specified component service has been created in the container cluster. If it is determined that a custom resource corresponding to the service of the specified component has been created in the container cluster, service governance is enabled for the service corresponding to the specified component, and after the service governance of the service corresponding to the specified component is completed, the custom resource corresponding to the service is deleted from the container cluster. If no custom resource corresponding to the service is detected in the container cluster, the service governance of the service corresponding to the specified component is turned off, and the edge and service proxy in the specified component are deleted, so as to realize the service governance of several components in the application.
[0006] In one implementation of this application, the step of creating a control and management model corresponding to the plurality of components in the managed container cluster specifically includes: When creating the control and management model corresponding to the several components in the container cluster, the services corresponding to the edge and service proxy are injected into the several components in the container cluster managed by the cloud management platform. The control and management model is used to configure the edge and service proxies injected by the plurality of components, and to determine the relevant configuration information corresponding to the edge and service proxies injected by the plurality of components respectively; the relevant configuration information includes at least one of the following: memory configuration information, CPU configuration information, and sampling rate configuration information.
[0007] In one implementation of this application, the step of enabling service governance for the service corresponding to the specified component when it is determined that a custom resource corresponding to the specified component has been created in the container cluster specifically includes: If it is determined that a custom resource corresponding to the specified component has been created in the container cluster, the service governance status of the specified component in the application is obtained based on the custom resource corresponding to the specified component; the specified component is used to indicate the component that has created the custom resource among the multiple components injected into the edge and service proxy; Determine whether the service governance status corresponding to the specified component is in the enabled service governance state, and if the service governance status corresponding to the specified component is in the enabled service governance state, enable service governance for the service corresponding to the specified component.
[0008] In one implementation of this application, enabling service governance for the service corresponding to the specified component when the service governance status of the specified component is enabled specifically includes: When the service governance status corresponding to the specified component is enabled, a corresponding virtual service and target rule are created for the service corresponding to the specified component, and corresponding two-way authentication related configuration information is created for the specified component, so as to enable the corresponding service governance for the service corresponding to the specified component.
[0009] In one implementation of this application, after creating a corresponding virtual service and target rule for the service corresponding to the specified component, and creating corresponding two-way authentication related configuration information for the specified component, the method further includes: Based on the created virtual service and target rules, enable corresponding traffic request management and load balancing management for the specified component; The configuration information in the target rule includes at least one of the following: traffic request path, traffic request ratio, and corresponding traffic request content.
[0010] In one implementation of this application, the step of determining whether a custom resource corresponding to a specified component's service has been created in the container cluster when the injection of the edge and service proxy is detected specifically includes: If it is detected that a component is injected into the edge and service proxy, obtain multiple components in the container cluster that are injected into the edge and service proxy; The plugin component monitors multiple components injected into the edge and service proxy in the container cluster and determines whether custom resources corresponding to the specified service have been created in the multiple components injected into the edge and service proxy.
[0011] In one implementation of this application, after determining whether a custom resource corresponding to a specified component has been created in the container cluster, the method further includes: Based on several services corresponding to several components in the container cluster corresponding to the application, and the service governance requirements corresponding to the several services, a correspondence between custom resources and independently released resources is created in the control and management model; If it is determined that no custom resource corresponding to the service of the specified component has been created in the container cluster, a corresponding independent release resource is created for the service corresponding to the specified component based on the correspondence between custom resources and independently released resources. Based on the independently released resources corresponding to the created specified component, service governance is enabled for the service corresponding to the specified component.
[0012] In one implementation of this application, when the injection of the edge service proxy by the component is detected, the method further includes: By injecting the component into the edge and service proxy, a proxy container corresponding to the component is obtained, and traffic requests are received through the proxy container corresponding to the component. Based on the received traffic request, determine whether the byte parsing of the traffic request conforms to the preset library protocol, and if the traffic request conforms to the preset library protocol, send the traffic request to the business container corresponding to the component to realize service governance of the component.
[0013] On the other hand, embodiments of this application also provide a device for service governance in a cloud management platform, the device comprising: At least one processor; And, a memory communicatively connected to the at least one processor; The memory stores instructions that can be executed by the at least one processor, which are then executed by the at least one processor to enable the at least one processor to perform a service governance method for a cloud management platform as described above.
[0014] On the other hand, embodiments of this application also provide a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows: The above describes a method for implementing service governance through a cloud management platform.
[0015] This application provides a method, device, and medium for service governance in a cloud management platform, which has at least the following beneficial effects: By creating control and management models for several components within the application container cluster managed by the cloud management platform, and using preset listening components in these models to monitor in real time whether edge and service proxies have been injected into the components managed by the cloud platform, custom resource monitoring is performed on multiple components that have already been injected with edge and service proxies to determine whether custom resources corresponding to the component's services have been created in multiple components. When the control and management model detects that a specified component that has been injected with edge and service proxies has created custom resources corresponding to the services in the container cluster, service governance is enabled for the service corresponding to the specified component. After service governance is completed, service governance for the service corresponding to the specified component is disabled by deleting the custom resources corresponding to the specified component in the container cluster. At the same time, the injected edge and service proxies in the specified component are also deleted. Thus, unified management of service governance for several components in the application is achieved through the cloud management platform and the control and management model. Attached Figure Description
[0016] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 A flowchart illustrating a method for implementing service governance in a cloud management platform, provided as an embodiment of this application; Figure 2 This is a schematic diagram of the internal structure of a device for implementing service governance in a cloud management platform, as provided in an embodiment of this application. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0018] This application provides a method, device, and medium for service governance in a cloud management platform. It creates control and management models corresponding to several components within an application container cluster managed by the cloud management platform. A preset monitoring component in the control and management model monitors in real time whether edge and service proxies have been injected into the components managed by the cloud platform. Custom resource monitoring is performed on multiple components that have already been injected with edge and service proxies to determine whether custom resources corresponding to the component's service have been created in the multiple components. When the control and management model detects that a specified component that has been injected with edge and service proxies has created custom resources corresponding to the service in the container cluster, service governance is enabled for the service corresponding to the specified component. After service governance is completed, service governance for the service corresponding to the specified component is disabled by deleting the custom resources corresponding to the specified component in the container cluster. Simultaneously, the injected edge and service proxies in the specified component are also deleted, achieving unified management of service governance for multiple components in the application. This solves the technical problem in the prior art where different components of the same application have different requirements for service governance status, making unified management impossible.
[0019] Figure 1 This is a flowchart illustrating a method for implementing service governance in a cloud management platform, as provided in an embodiment of this application. Figure 1 As shown in the embodiments of this application, a method for implementing service governance in a cloud management platform may mainly include the following steps: 101. Manage several components in the application's corresponding container cluster through the cloud management platform, and create control and management models for several components in the managed container cluster.
[0020] Kubernetes, or Kubernetes for short, is a mainstream container orchestration platform used to host various cloud computing services. The increasing number of containerized microservices on cloud platforms brings more complexity and poses significant challenges to operations and development personnel. The complex topologies between services necessitate service meshes to ensure reliable transmission of requests between topologies. Istio, as an excellent microservice framework, has gradually been accepted and used by developers, becoming the most popular service mesh.
[0021] This application primarily addresses scenarios using Istio for microservice management. Istio allows for convenient injection of Envoy proxies into components within a Kubernetes cluster, thereby enabling service governance capabilities. To synchronously manage the service governance status of several components within an application cluster on a cloud management platform, the server in this application uses the cloud management platform to manage several components within the application's corresponding container cluster. A control management model is then created within the managed container cluster to uniformly manage the service governance status of these components. It should be noted that the control management model in this embodiment is used to indicate whether service governance is enabled for services corresponding to several components within the same application.
[0022] Specifically, when the server creates control and management models corresponding to several components in the container cluster, it injects services corresponding to edge and service proxies into the several components in the container cluster managed by the cloud management platform, and configures the edge and service proxies injected into the several components through the control and management models, thereby determining the relevant configuration information corresponding to the edge and service proxies injected into the several components. It should be noted that the relevant configuration information in this embodiment includes at least one of the following: memory configuration information, CPU configuration information, and sampling rate configuration information.
[0023] 102. By controlling the preset listening components in the management model, monitor whether several components managed by the cloud management platform are injected with edge and service proxies, and when the injection of edge and service proxies is detected, determine whether custom resources corresponding to the specified component's service have been created in the container cluster.
[0024] The server monitors several components of the applications managed by the cloud management platform through a preset monitoring component in the control management model. By monitoring, it determines whether edge and service proxies have been injected into several components. If edge and service proxies have been injected into several components, the server determines whether custom resources corresponding to the services have been created in the multiple components that have been injected with edge and service proxies.
[0025] Specifically, when the server detects that the component has been injected with edge and service proxy, it obtains multiple components in the container cluster that have been injected with edge and service proxy, and listens to these multiple components through the plugin component. By listening, it determines whether custom resources corresponding to the specified component's service have been created in the multiple components that have been injected with edge and service proxy.
[0026] In one embodiment of this application, after determining whether a custom resource corresponding to a specified component service has been created in the container cluster, the server creates a correspondence between custom resources and independently released resources in the control management model based on several services corresponding to several components in the application's container cluster and the service governance requirements of those services. Then, if it is determined that no custom resource corresponding to a specified component service has been created in the container cluster, the server creates a corresponding independently released resource for the specified component service based on the correspondence between the custom resource and the independently released resource. Thus, based on the created independently released resource corresponding to the specified component, service governance is enabled for the specified component service, thereby achieving automated management of service governance for several components managed by the cloud management platform.
[0027] In one embodiment of this application, when the server detects component injection edge and service proxy, it can obtain the proxy container corresponding to the component by injecting the component into the edge and service proxy, and receive traffic requests through the proxy container corresponding to the component. Then, based on the received traffic request, it determines whether the byte parsing of the traffic request conforms to the preset library protocol. If the traffic request conforms to the preset library protocol, the traffic request is sent to the business container corresponding to the component, thereby performing service governance on the component.
[0028] 103. If it is determined that custom resources corresponding to services of a specified component have been created in the container cluster, enable service governance for the service corresponding to the specified component, and delete the custom resources corresponding to the service from the container cluster after the service governance of the service corresponding to the specified component is completed.
[0029] Once the server confirms that edge and service proxies have been injected into the specified component and that custom resources for the service corresponding to the specified component have been created in the container cluster, the server will enable service governance for the service corresponding to the specified component. Then, after the service governance for the service corresponding to the specified component is complete, the server will delete the custom resources for the service corresponding to the specified component from the container cluster.
[0030] Specifically, when the server determines that a custom resource corresponding to a specified component has been created in the container cluster, it obtains the service governance status of the specified component in the application based on the custom resource of the service corresponding to the specified component. It should be noted that the specified component in this embodiment is used to indicate the component among the multiple components that have been injected into the edge and service proxy that has created custom resources. Then, the server needs to determine whether the service governance status corresponding to the specified component is enabled, and if the service governance status corresponding to the specified component is enabled, the server enables service governance for the service corresponding to the specified component.
[0031] In one embodiment of this application, when the service governance status of the specified component is enabled, the server creates a corresponding virtual service and target rule for the service corresponding to the specified component, and creates corresponding two-way authentication related configuration information for the specified component, thereby enabling the corresponding service governance for the service corresponding to the specified component.
[0032] In one embodiment of this application, after the server creates corresponding virtual services and target rules for the services corresponding to the specified components, and creates corresponding two-way authentication-related configuration information for the specified components, it enables corresponding traffic request management and load balancing management for the specified components based on the created virtual services and target rules. It should be noted that the configuration information in the target rules of this embodiment includes at least one of the following: traffic request path, traffic request ratio, and corresponding traffic request content.
[0033] 104. If no custom resource corresponding to a service is detected in the container cluster, the service governance of the service corresponding to the specified component is turned off, and the edge and service proxy in the specified component are deleted, so as to achieve service governance of several components in the container cluster.
[0034] After the server completes service governance for the service corresponding to the specified component, it deletes the custom resources for that service in the container cluster. Then, by monitoring the specified component through the plugin component, if the server determines that there are no custom resources for the service corresponding to the specified component in the container cluster, it needs to disable service governance for that service and delete the injected edge and service proxies in the specified component, thereby achieving the shutdown of service governance for the service corresponding to the specified component. This application, through the above method, achieves automated management of service governance for different components within the same application, reducing the complexity of service governance management and enabling unified management of components through a cloud management platform.
[0035] The above are embodiments of the method proposed in this application. Based on the same inventive concept, embodiments of this application also provide a device for implementing service governance in a cloud management platform, the structure of which is as follows: Figure 2 As shown.
[0036] Figure 2 This is a schematic diagram of the internal structure of a device for implementing service governance in a cloud management platform, as provided in an embodiment of this application. Figure 2 As shown, the device includes: At least one processor; And, a memory that is communicatively connected to at least one processor; The memory stores instructions that can be executed by at least one processor, and the instructions, when executed by at least one processor, enable at least one processor to: The cloud management platform manages several components in the container cluster corresponding to the application, and creates control and management models for several components in the managed container cluster. The control and management models are used to indicate whether service governance is enabled for the services corresponding to several components. By controlling the preset listening components in the management model, the system monitors whether several components managed by the cloud management platform are injected with edge and service proxies. When it detects that a component is injected with edge and service proxies, it determines whether a custom resource corresponding to the specified component's service has been created in the container cluster. If it is determined that custom resources corresponding to services of a specified component have been created in the container cluster, enable service governance for the service corresponding to the specified component, and delete the custom resources corresponding to the service from the container cluster after the service governance of the service corresponding to the specified component is completed. If no custom resource corresponding to a service is detected in the container cluster, the service governance of the service corresponding to the specified component is turned off, and the edge and service proxy in the specified component are deleted, so as to achieve service governance of several components in the application.
[0037] This application embodiment also provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows: The cloud management platform manages several components in the container cluster corresponding to the application, and creates control and management models for several components in the managed container cluster. The control and management models are used to indicate whether service governance is enabled for the services corresponding to several components. By controlling the preset listening components in the management model, the system monitors whether several components managed by the cloud management platform are injected with edge and service proxies. When it detects that a component is injected with edge and service proxies, it determines whether a custom resource corresponding to the specified component's service has been created in the container cluster. If it is determined that custom resources corresponding to services of a specified component have been created in the container cluster, enable service governance for the service corresponding to the specified component, and delete the custom resources corresponding to the service from the container cluster after the service governance of the service corresponding to the specified component is completed. If no custom resource corresponding to a service is detected in the container cluster, the service governance of the service corresponding to the specified component is turned off, and the edge and service proxy in the specified component are deleted, so as to achieve service governance of several components in the application.
[0038] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.
[0039] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0040] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0041] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0042] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0043] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0044] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0045] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0046] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0047] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0048] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for implementing service governance in a cloud management platform, characterized in that, The method includes: The cloud management platform manages several components in the container cluster corresponding to the application, and creates a control and management model for each component in the managed container cluster. The control and management model is used to indicate whether to enable service governance for the services corresponding to the components. The preset listening component in the control and management model listens to whether the several components managed by the cloud management platform inject edge and service proxies, and when it is detected that a component injects the edge and service proxies, it determines whether a custom resource corresponding to the specified component service has been created in the container cluster. If it is determined that a custom resource corresponding to the service of the specified component has been created in the container cluster, service governance is enabled for the service corresponding to the specified component, and after the service governance of the service corresponding to the specified component is completed, the custom resource corresponding to the service is deleted from the container cluster. If no custom resource corresponding to the service is detected in the container cluster, the service governance of the service corresponding to the specified component is turned off, and the edge and service proxy in the specified component are deleted, so as to realize the service governance of several components in the application. The creation of control and management models corresponding to the plurality of components in the managed container cluster specifically includes: When creating the control and management model corresponding to the several components in the container cluster, the services corresponding to the edge and service proxy are injected into the several components in the container cluster managed by the cloud management platform. The control and management model is used to configure the edge and service proxies injected by the plurality of components, and to determine the relevant configuration information corresponding to the edge and service proxies injected by the plurality of components respectively; the relevant configuration information includes at least one of the following: memory configuration information, CPU configuration information, and sampling rate configuration information; When the injection of the edge and service proxy into the component is detected, determining whether a custom resource corresponding to the specified component's service has been created in the container cluster specifically includes: If it is detected that a component is injected into the edge and service proxy, obtain multiple components in the container cluster that are injected into the edge and service proxy; The plugin component monitors multiple components injected into the edge and service proxy in the container cluster and determines whether custom resources corresponding to the specified service have been created among the multiple components injected into the edge and service proxy. After determining whether a custom resource corresponding to a specified component service has been created in the container cluster, the method further includes: Based on several services corresponding to several components in the container cluster corresponding to the application, and the service governance requirements corresponding to the several services, a correspondence between custom resources and independently released resources is created in the control and management model; If it is determined that no custom resource corresponding to the service of the specified component has been created in the container cluster, a corresponding independent release resource is created for the service corresponding to the specified component based on the correspondence between custom resources and independently released resources. Based on the independently released resources corresponding to the created specified component, service governance is enabled for the service corresponding to the specified component.
2. The method for implementing service governance in a cloud management platform according to claim 1, characterized in that, When it is determined that custom resources corresponding to the service of the specified component have been created in the container cluster, enabling service governance for the service corresponding to the specified component specifically includes: If it is determined that a custom resource corresponding to the specified component has been created in the container cluster, the service governance status of the specified component in the application is obtained based on the custom resource corresponding to the specified component; the specified component is used to indicate the component that has created the custom resource among the multiple components injected into the edge and service proxy; Determine whether the service governance status corresponding to the specified component is in the enabled service governance state, and if the service governance status corresponding to the specified component is in the enabled service governance state, enable service governance for the service corresponding to the specified component.
3. The method for implementing service governance in a cloud management platform according to claim 2, characterized in that, When the service governance status corresponding to the specified component is in the enabled service governance status, enabling service governance for the service corresponding to the specified component specifically includes: When the service governance status corresponding to the specified component is enabled, a corresponding virtual service and target rule are created for the service corresponding to the specified component, and corresponding two-way authentication related configuration information is created for the specified component, so as to enable the corresponding service governance for the service corresponding to the specified component.
4. The method for implementing service governance in a cloud management platform according to claim 3, characterized in that, After creating corresponding virtual services and target rules for the services corresponding to the specified components, and creating corresponding two-way authentication related configuration information for the specified components, the method further includes: Based on the created virtual service and target rules, enable corresponding traffic request management and load balancing management for the specified component; The configuration information in the target rule includes at least one of the following: traffic request path, traffic request ratio, and corresponding traffic request content.
5. The method for implementing service governance in a cloud management platform according to claim 1, characterized in that, When the method detects that a component has injected the edge and service proxy, it further includes: By injecting the component into the edge and service proxy, a proxy container corresponding to the component is obtained, and traffic requests are received through the proxy container corresponding to the component. Based on the received traffic request, determine whether the byte parsing of the traffic request conforms to the preset library protocol, and if the traffic request conforms to the preset library protocol, send the traffic request to the business container corresponding to the component to realize service governance of the component.
6. A device for service governance in a cloud management platform, characterized in that, The device includes: At least one processor; And, a memory communicatively connected to the at least one processor; The memory stores instructions that can be executed by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform a service governance method for a cloud management platform as described in any one of claims 1-5.
7. A non-volatile computer storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions are set as follows: A method for implementing service governance on a cloud management platform as described in any one of claims 1-5.
Citation Information
Patent Citations
Control method, device and equipment for micro-service governance and storage medium
CN113687919A
