Unlock instant, AI-driven research and patent intelligence for your innovation.

Kubernetes load balancing method based on BGP networking

A load balancing and networking technology, applied in the transmission system, electrical components, etc., can solve problems such as limiting the number of cluster services, user usage scenario restrictions, performance impact, etc., to achieve the effect of improving network performance and enriching health checks

Pending Publication Date: 2022-04-22
上海弘积信息科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The current three solutions have some imperfections, they can only support the distribution of seven-layer applications, and have restrictions on user usage scenarios
NodePort will occupy an independent port of Kubernetes Node, and all Nodes in the cluster must enable access to this port, which limits the number of cluster services
Generally, it will be combined with the load balancing device outside the cluster to do double-layer load, but it will have a certain impact on performance.

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
  • Kubernetes load balancing method based on BGP networking
  • Kubernetes load balancing method based on BGP networking

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] A BGP networking-based Kubernetes load balancing method of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0018] combined with Figure 1-2 , a Kubernetes load balancing method based on BGP networking, comprising the following steps:

[0019] Step 1: Deploy Calico BGP networking in Kubernetes, and the Calico BGP networking uses the Linux kernel to establish an efficient virtual router to be responsible for data forwarding;

[0020] Step 2: Configure the load balancer outside the cluster to add it to the BGP network to realize the network direct connection from the load balancer to the Pod;

[0021] Step 3: Deploy the load balancing controller container in Kubernetes, the controller listens to the API SERVER, and synchronizes the service changes to the load balancing outside the cluster;

[0022] Step 4: The user publishes the ConfigMap to Kubernetes. The ConfigMap describes the Service and virtual servic...

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 a Kubernetes load balancing method based on a BGP (Border Gateway Protocol) networking. According to the method, the load capacity of 4-7 layers of loads is provided, Pod is directly published to load balancing, compared with NodePort + external load balancing equipment, a cluster Node port is not occupied, Kube-Proxy participation in a cluster is not needed, the network performance is improved, and richer health check and session holding capacity is provided.

Description

technical field [0001] The invention relates to the technical field of load balancing, in particular to a method for balancing Kubernetes loads based on BGP networking. Background technique [0002] Kubernetes is Google's open source container cluster management system, which provides functions such as application deployment, maintenance, and expansion mechanisms. Using kubernetes can easily manage containerized applications running across machines. In kubernetes technology, a Pod is a basic operating unit consisting of one or more containers; among them, if a Pod is composed of multiple containers, the multiple containers that make up a Pod are located on the same node (that is, the host) of the kubernetes cluster. Since the pod will drift on each node of the kubernetes cluster, the address of the pod is not fixed, which makes it impossible to access the pod. Kubernetes further introduces the concept of service, which is also the basic operating unit of kubernetes and has...

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): H04L67/60H04L67/10H04L67/1001
CPCH04L67/10
Inventor 苏家巍
Owner 上海弘积信息科技有限公司