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

Communication method between Kubernetes clusters, computer equipment and medium

A communication method and inter-cluster technology, applied in the field of cloud computing, can solve problems such as the inability of Kubernetes clusters to communicate normally, the inability to implement point-to-point communication of Kubernetes clusters, and the low communication efficiency.

Pending Publication Date: 2021-10-29
重庆星环人工智能科技研究院有限公司
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The methods in the prior art cannot achieve point-to-point communication between Kubernetes clusters, and when the gateway node fails or fails, normal communication between two Kubernetes clusters will result, and the communication efficiency is low

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
  • Communication method between Kubernetes clusters, computer equipment and medium
  • Communication method between Kubernetes clusters, computer equipment and medium
  • Communication method between Kubernetes clusters, computer equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] figure 1 It is a flowchart of a communication method between Kubernetes clusters in Embodiment 1 of the present invention. This embodiment is applicable to the situation of communicating between Kubernetes clusters. The method can be executed by a communication device between Kubernetes clusters. It can be realized by means of software and / or hardware, and integrated in computer equipment. Specifically, refer to figure 1 , the method specifically includes the following steps:

[0041] Step 110 , in response to an instruction of adding a target node of the target slave Kubernetes cluster, synchronizing the attribute information of the target node to the storage area of ​​the master Kubernetes cluster.

[0042] It should be noted that the communication method between Kubernetes clusters involved in this embodiment can be applied to the main Kubernetes cluster; wherein, the main Kubernetes cluster can be any Kubernetes cluster, and the rest of the Kubernetes clus...

Embodiment 2

[0057] figure 2 It is a flowchart of a communication method between Kubernetes clusters in Embodiment 2 of the present invention. This embodiment is a further refinement of the above-mentioned technical solutions. The technical solutions in this embodiment can be compared with one or more of the above-mentioned embodiments Combination of options in . Such as figure 2 As shown, the communication method between Kubernetes clusters may include the following steps:

[0058] Step 210, establishing an access connection between the master Kubernetes cluster and each slave Kubernetes cluster, so that the master Kubernetes cluster monitors the resource information stored in the storage area of ​​each slave Kubernetes cluster.

[0059] In an optional implementation of this embodiment, the master Kubernetes cluster can also establish access connections between the master Kubernetes cluster and each slave Kubernetes cluster before responding to the increase instruction of the ...

Embodiment 3

[0076] image 3 It is a flowchart of a communication method between Kubernetes clusters in Embodiment 3 of the present invention. This embodiment is a further refinement of the above-mentioned technical solutions. The technical solutions in this embodiment can be compared with one or more of the above-mentioned embodiments Combination of options in . Such as image 3 As shown, the communication method between Kubernetes clusters may include the following steps:

[0077] Step 310, establishing access connections between the master Kubernetes cluster and each slave Kubernetes cluster.

[0078] Step 320 , in response to an instruction to add the target node of the target slave Kubernetes cluster, synchronizing the attribute information of the target node to the storage area of ​​the primary Kubernetes cluster.

[0079] Step 330: Establish communication channels between the target node and each of the reference nodes according to the attribute information of the targe...

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 embodiment of the invention discloses a communication method between Kubernetes clusters, computer equipment and a medium, which are applied to a master Kubernetes cluster, and the method comprises the following steps: in response to an increase instruction of a target node of a target slave Kubernetes cluster, synchronizing attribute information of the target node to a storage area of the master Kubernetes cluster; respectively establishing communication channels between the target node and each reference node according to the attribute information of the target node and the attribute information of at least one reference node of the main Kubernetes cluster; and in response to a synchronization instruction of the to-be-synchronized data in the target reference node, synchronizing the to-be-synchronized data from the target reference node to the target node through the target communication channel. According to the scheme provided by the embodiment of the invention, the problems that the two Kubernetes clusters cannot normally communicate and the communication efficiency is relatively low when the gateway node fails or fails in the prior art are solved, and the point-to-point communication between the Kubernetes clusters is realized.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of cloud computing, and in particular to a communication method, computer equipment and media between Kubernetes clusters. Background technique [0002] Kubernetes is an open source, used to manage containerized applications on multiple hosts in the cloud platform. The goal of Kubernetes is to make the deployment of containerized applications simple and efficient, providing application deployment, planning, update and maintenance mechanisms. [0003] At this stage, multiple Kubernetes clusters are usually deployed to carry different services, or to perform business disaster recovery between the clusters, so that the services of different Kubernetes clusters need to access each other; The business communication between the clusters is to forward the traffic to the gateway node in a centralized way, and then the gateway node communicates with other clusters, so as to realize the communica...

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): H04L29/08H04L12/24G06F11/16G06F9/455
CPCH04L67/10H04L67/104H04L67/1097H04L67/1095H04L41/0654G06F11/1658G06F9/45558G06F2009/45579G06F2009/45595G06F2009/45591
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