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

A load balancing availability improvement method and device for a kubernetes cluster

A load balancing and availability technology, applied in the transmission system, electrical components, etc., to achieve the effect of realizing self-healing ability and ensuring availability

Active Publication Date: 2021-02-02
深圳软通动力信息技术有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] One or more embodiments of this specification describe the method and device for improving the load balancing availability of Kubernetes clusters, solve the problem of load balancing failures in certain scenarios, and improve the availability of user clusters

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
  • A load balancing availability improvement method and device for a kubernetes cluster
  • A load balancing availability improvement method and device for a kubernetes cluster
  • A load balancing availability improvement method and device for a kubernetes cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] The slb on Alibaba Cloud was deleted by mistake, which made the user cluster unavailable.

[0059] When the resource declaration of slb in the cluster still exists, but the resource declaration does not exist when requesting Alibaba Cloud, lb-operator will synchronize the error information such as "couldn't find specified slb instance" to the status of the slb resource declaration , that is, the current slb status errorMsg is "couldn't find specified slbinstance". When the state of the slb resource declaration is modified, lb-operator watches the error in the resource again, automatically applies for a new slb according to the configured spec.slbRecoverPolicy, and completes the configuration according to the configuration data of the previous slb in status . That is, when the resource statement of the slb in the cluster still exists, but the resource statement does not exist when requesting Alibaba Cloud, lb-operator will execute the self-healing logic according to the...

Embodiment 2

[0061] When the slb in the cluster still exists, but the backend service group or the listening port is modified by mistake, it may be due to human misoperation of the slb, or there are other operations, such as: when a service resource of type loadbalancer is created in the cluster, and use If the slb is deleted, the listening port of the slb will be modified, and incorrectly modifying the slb configuration will also cause the cluster to be unavailable.

[0062] At this time, the component lb-operator provides a self-healing strategy resetSlbConfigWhileError, that is, when the configuration of slb is found to be different from the initial configuration, the backend service group and port of slb will be reconfigured according to the initial configuration, and the cluster can be restored to an available state at this time .

[0063] In the method of the present invention, by comparing the resource declarations of load balancing in the cloud and in the cluster, when the slb of t...

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 present invention provides a method and device for improving the load balancing availability of a Kubernetes cluster. The method includes: a user submits a load balancing resource statement to the Kubernetes cluster; a component lb-operator watch providing load balancing self-healing logic to the resource statement, And regularly synchronize the status information of the load balancing to the Kubernetes cluster; if the resource declaration of the cloud load balancing does not match the resource declaration in the Kubernetes cluster, the component lb-operator executes the self-healing logic. In the method of the present invention, by comparing the resource declarations of load balancing in the cloud and in the cluster, when the slb of the user cluster fails, different self-healing logics are executed according to the different states of the load balancing in the status, which can realize self-healing in some error scenarios ability.

Description

technical field [0001] One or more embodiments of the present invention relate to the technical field of computer software, in particular to the cloud native field, and in particular to a method and device for improving load balancing availability of a Kubernetes cluster. Background technique [0002] This section is intended to provide a background or context for implementations of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] 1. Glossary: [0004] Kubernetes, an open source, is used to manage containerized applications on multiple hosts in the cloud platform. The goal of Kubernetes is to make deploying containerized applications simple and efficient. [0005] Load balancing (server load balance, slb) is a clustering technology of servers or network devices. Load balancing distributes specific services to multiple servers or network devices, thereby improving service capabili...

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 Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/1012H04L67/1029H04L67/1001
Inventor 李逸锋吴江法蔡锡生王一钧王玉虎
Owner 深圳软通动力信息技术有限公司