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

Method for realizing high availability of API gateway service in K8S environment

An implementation method and a technology of service instances, which are applied in the direction of network connection, data exchange network, digital transmission system, etc., can solve problems such as waterfall development, unpredictability, slow recovery, etc., and achieve automatic recovery, ensure safety, and guarantee The effect of business ability

Active Publication Date: 2021-02-26
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional gateway services are facing problems such as unpredictability, poor scalability, waterfall development, slow recovery, etc., and need to be further improved

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0023] The high-availability implementation method of the API gateway service in the K8S environment of the present invention realizes various business requirements by writing a custom business plug-in, analyzes the business, configures the main user reasonably, and achieves full use of resources. The dynamic expansion and contraction of distributed instances realizes the distributed gateway service for multi-master user isolation and multi-sub-user sharing.

[0024] The specific implementation method of API gateway service high availability under the K8S environment specifically includes the following steps:

[0025] S1. Deploy the nginx-ingress service in the cluster as the unified entrance of the gateway service.

[0026] S2. Configure K8s ingress resources, and import traffic into different gateway routing service instances through nginx-ingress.

[0027] In this step, the gateway instance is configured with the HPA automatic expansion mechanism, and the threshold value o...

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 discloses an API gateway service high availability implementation method in a K8S environment, and belongs to the technical field of API gateways. According to the API gateway service high-availability implementation method in the K8S environment, various service requirements are met by compiling a custom service plug-in, resources are fully used by analyzing services and reasonablyconfiguring a main user, dynamic capacity expansion and shrinkage of distributed instances are carried out by monitoring the performance use state, and the distributed gateway service shared by multiple main users and multiple sub-users is realized. According to the API gateway service high availability implementation method in the K8S environment, service instance technology isolation between main users and isolation between the main users can be achieved, the safety of single gateway service is guaranteed, and the API gateway service high availability implementation method has good application and popularization value.

Description

technical field [0001] The invention relates to the technical field of API gateways, and specifically provides a method for realizing high availability of API gateway services in a K8S environment. Background technique [0002] With the continuous development of cloud-native technology, new dynamic environments such as public cloud, private cloud, and hybrid cloud continue to upgrade. Building and running elastically scalable applications has become a basic attribute of services. The disadvantages of traditional architectures have become more and more obvious. Software services are becoming more and more important. Traditional gateway services face problems such as unpredictability, poor scalability, waterfall development, slow recovery, etc., and need to be further improved. Contents of the invention [0003] The technical task of the present invention is to address the above-mentioned existing problems and provide a method for implementing high availability of API gatew...

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
IPC IPC(8): H04L29/08H04L12/24H04L29/06H04L12/66
CPCH04L41/0803H04L41/082H04L63/0218H04L12/66H04L67/1001
Inventor 盖泉贺高传集颜亮张东海
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
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