Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Default gray release method and device based on Kubernetes platform and load balancing component

A technology of grayscale publishing and load balancing, applied in the computer field, it can solve the problems of fixed time cost, steep learning curve, and difficult maintenance.

Active Publication Date: 2022-02-18
北京快成科技有限公司
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] After the traditional centralized service registration discovery mechanism such as Nacos’ microservice cluster is migrated to the Kubernetes platform, due to the use of the Kubernetes service discovery mechanism, most of the traditional grayscale release components migrated to the K8S environment fail; in the Kubernetes management platform Currently, it is a common practice to use cloud-native technologies such as Service Mesh to implement service grayscale release.
However, for most small and medium-sized enterprises, cloud-native technologies such as Service Mesh have a steep learning curve, require a certain amount of time and cost, and are difficult to maintain.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Default gray release method and device based on Kubernetes platform and load balancing component
  • Default gray release method and device based on Kubernetes platform and load balancing component
  • Default gray release method and device based on Kubernetes platform and load balancing component

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0070] Specific implementation method: Step 1: Online deployment of Grayscale service, such as image packaging -> Deployment update; Step 2: Modify relevant configuration of Grayscale test; Step 3: Expand the test scope step by step, such as disabling Grayscale service, internal verification, and online public testing ;Step 4: Pass the grayscale test, and all services are upgraded; Step 5: Restore the relevant configuration of the grayscale test, and the online dual Namespaces jointly support the system operation.

[0071] A default grayscale release method based on the Kubernetes platform and load balancing components proposed based on the above-mentioned embodiments includes configuring grayscale release configuration parameter information, and the grayscale release configuration information includes grayscale test service list, participating grayscale Published user type and gray-scale identification; send the gray-scale release configuration parameter information to the ser...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a default gray release method and device based on a Kubernetes platform and a load balancing component. The default gray release method comprises gray release configuration parameter information. In the implementation process, gray release configuration parameter information is issued to a micro-service gateway, when a user request passes through the gateway, the gateway carries out initial gray marking on the user request in combination with the gray release configuration parameter information, and the control right of flow switching and execution in the gray release process is placed in the micro-service gateway. According to the method, a service grid technology is not used, an online operation service and a gray scale test service are isolated by using Namespace, service communication in the two Namespaces is broken through at the same time, the limitation that the resource utilization rate is only 50% in a traditional blue-green publishing scheme is avoided, the utilization rate of hardware resources is maximized, the traffic borne by different versions of services can be switched by adjusting the gray release parameters, and fast rollback is realized when the gray test fails.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a default gray-scale publishing method and device based on a Kubernetes platform and a load balancing component. Background technique [0002] In recent years, with the rapid growth of the number of Internet users, the requirements for Internet products have become higher and higher. On the one hand, it is required to provide users with stable services, and on the other hand, it is required to respond to user needs in a timely manner and to rapidly iterate products. Therefore, based on the comprehensive consideration of system stability and rapid business iteration, grayscale release is generally used to release new versions. [0003] After the traditional centralized service registration discovery mechanism such as Nacos’ microservice cluster is migrated to the Kubernetes platform, due to the use of the Kubernetes service discovery mechanism, most of the traditional gr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/61G06F8/65G06F8/71H04L67/1004
CPCG06F8/71G06F8/65G06F8/63H04L67/1004
Inventor 任玉鹏
Owner 北京快成科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products