CN114640556A - Cross-cluster network communication system and method - Google Patents
Cross-cluster network communication system and method Download PDFInfo
- Publication number
- CN114640556A CN114640556A CN202210200119.8A CN202210200119A CN114640556A CN 114640556 A CN114640556 A CN 114640556A CN 202210200119 A CN202210200119 A CN 202210200119A CN 114640556 A CN114640556 A CN 114640556A
- Authority
- CN
- China
- Prior art keywords
- data packet
- cluster
- target
- target node
- original data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 84
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000004806 packaging method and process Methods 0.000 claims abstract description 9
- 238000004590 computer program Methods 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 16
- 238000005516 engineering process Methods 0.000 description 8
- 102100033121 Transcription factor 21 Human genes 0.000 description 7
- 101710119687 Transcription factor 21 Proteins 0.000 description 7
- 238000007726 management method Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 238000005538 encapsulation Methods 0.000 description 5
- 230000005641 tunneling Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 241000322338 Loeseliastrum Species 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 235000008694 Humulus lupulus Nutrition 0.000 description 1
- BKCJZNIZRWYHBN-UHFFFAOYSA-N Isophosphamide mustard Chemical group ClCCNP(=O)(O)NCCCl BKCJZNIZRWYHBN-UHFFFAOYSA-N 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000033772 system development Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2212/00—Encapsulation of packets
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present disclosure provides a cross-cluster network communication system and method, the network communication system comprising: the first cluster is used for determining that the target address of an original data packet is a second cluster, packaging the original data packet and generating a packaged data packet; the first gateway component is arranged corresponding to the first cluster and used for receiving the encapsulated data packet sent by the first cluster; the second gateway component is arranged corresponding to the second cluster and is used for receiving the encapsulated data packet sent by the first gateway component and sending the encapsulated data packet to the second cluster; and the second cluster is used for receiving the encapsulated data packet sent by the second gateway component and decapsulating the encapsulated data packet to obtain an original data packet. Communication between different clusters is achieved.
Description
Technical Field
The present disclosure relates to the field of cloud platform technologies, and in particular, to a cross-cluster network communication system and method.
Background
The cloud primitive provides strong container arranging capacity, opens a network interface and supports a user-defined flexible container network. In the cloud native network scheme, each container group has an independent internet protocol address, the container groups operate in a flat network, and the containers are in a network capable of being directly connected. A container group network interface protocol defines interface specifications of a container network, and can configure the container network in a user-defined plug-in mode, but the existing container group network interface protocol can only realize communication between single cluster content groups, and does not consider the problem of intercommunication of multiple cluster content groups.
Disclosure of Invention
The present disclosure provides a cross-cluster network communication system and method that enables communication between different clusters.
In a first aspect, the present disclosure provides a cross-cluster network communication system, comprising:
the first cluster is used for determining that the target address of an original data packet is a second cluster, packaging the original data packet and generating a packaged data packet;
the first gateway component is arranged corresponding to the first cluster and used for receiving the encapsulated data packet sent by the first cluster;
the second gateway component is arranged corresponding to the second cluster and used for receiving the encapsulated data packet sent by the first gateway component and sending the encapsulated data packet to the second cluster;
and the second cluster is used for receiving the encapsulated data packet sent by the second gateway component and decapsulating the encapsulated data packet to obtain an original data packet.
According to the network communication system across clusters provided by the present disclosure, the system further comprises:
the first target node is arranged in a first cluster and used for encapsulating the original data packet, generating an encapsulated data packet and sending the encapsulated data packet to the first gateway component through a sending port;
the second target node is arranged in a second cluster and used for receiving the encapsulated data packet sent by the second gateway component through a receiving port and de-encapsulating the encapsulated data packet to obtain an original data packet;
the source address of the original data packet is a first target node, and the target address of the original data packet is a second target node.
According to the network communication system across clusters provided by the present disclosure, the system further comprises:
a first target node is arranged in the first cluster, a second target node is arranged in the second cluster, and the first target node comprises a first target container group;
the source address of the original data packet is a first target container group, and the target address of the original data packet is the second target node;
a first target container group, configured to encapsulate the original data packet, generate the encapsulated data packet, and send the encapsulated data packet to the first gateway component via a sending port of the first target node;
and the second target node is used for receiving the encapsulated data packet sent by the second gateway component through a receiving port and decapsulating the encapsulated data packet to obtain an original data packet.
According to the network communication system across clusters provided by the present disclosure, the system further comprises:
a first target node is arranged in the first cluster, a second target node is arranged in the second cluster, and the second target node comprises a second target container group;
the source address of the original data packet is a first target node, and the target address of the original data packet is a second target container group;
the first target node is configured to encapsulate the original data packet, generate the encapsulated data packet, and send the encapsulated data packet to the first gateway component via a sending port;
and the second target container group is used for receiving an original data packet sent by a second target node according to the target address, wherein the original data packet sent by the second target node is the encapsulated data packet sent by the second gateway component and received by the second target node through a receiving port, and the encapsulated data packet is obtained by decapsulating the encapsulated data packet.
According to the network communication system across clusters provided by the present disclosure, the system further comprises:
a first target node is arranged in the first cluster, a second target node is arranged in the second cluster, the first target node comprises a first target container group, and the second target node comprises a second target container group;
the source address of the original data packet is a first target container group, and the target address of the original data packet is a second target container group;
the first target container group is configured to encapsulate the original data packet, generate the encapsulated data packet, and send the encapsulated data packet to the first gateway component via a sending port of the first target node;
and the second target container group is used for receiving an original data packet sent by a second target node according to the target address, wherein the original data packet sent by the second target node is the encapsulated data packet sent by the second gateway component and received by the second target node through a receiving port, and the encapsulated data packet is obtained by decapsulating the encapsulated data packet.
According to the network communication system across clusters provided by the present disclosure, the system further comprises:
the first gateway route is arranged between the first cluster and the first gateway component and is used for sending the encapsulated data packet to the first gateway component corresponding to the first cluster;
the second gateway route is arranged between the first gateway component and the second gateway component and is used for sending the encapsulated data packet in the first gateway component to the second gateway component corresponding to the second cluster;
and the third gateway route is arranged between the second gateway component and the second cluster and is used for sending the encapsulated data packet in the second gateway component to the second cluster.
In a second aspect, the present disclosure provides a cross-cluster network communication method for a network communication system as described in any one of the above, the method including:
determining the target address of the original data packet as a second cluster through the first cluster;
packaging the original data packet through the first cluster to generate a packaged data packet;
sending the encapsulated data packet to a first gateway component corresponding to the first cluster through the first cluster;
and sending the encapsulated data packet to a second gateway component corresponding to the second cluster through the first gateway component, so that the second gateway component sends the encapsulated data packet to the second cluster, and decapsulating the encapsulated data packet through the second cluster to obtain the original data packet.
According to the cross-cluster network communication method provided by the present disclosure, the first cluster comprises a first target node, and the second cluster comprises a second target node; the source address of the original data packet is a first target node, and the target address of the original data packet is a second target node;
the method further comprises the following steps:
encapsulating the original data packet through the first target node to generate an encapsulated data packet, and sending the encapsulated data packet to the first gateway component through a sending port of the first target node;
and receiving the encapsulated data packet sent by the second gateway component through a receiving port of the second target node, and decapsulating the encapsulated data packet to obtain an original data packet.
According to the cross-cluster network communication method provided by the disclosure, the first cluster comprises a first target node, the first target node comprises a first target container group, and the second cluster comprises a second target node; the source address of the original data packet is a first target container group, and the target address of the original data packet is the second target node;
the method further comprises the following steps:
encapsulating the original data packet through the first target container group to generate an encapsulated data packet, and sending the encapsulated data packet to the first gateway component through a sending port of the first target node;
and receiving the encapsulated data packet sent by the second gateway component through a receiving port of the second target node, and decapsulating the encapsulated data packet to obtain an original data packet.
According to the cross-cluster network communication method provided by the disclosure, the first cluster comprises a first target node, the second cluster comprises a second target node, and the second target node comprises a second target container group; the source address of the original data packet is a first target node, and the target address of the original data packet is a second target container group;
the method further comprises the following steps:
encapsulating the original data packet through the first target node to generate an encapsulated data packet, and sending the encapsulated data packet to the first gateway component through a sending port;
and receiving an original data packet sent by a second target node according to the target address through the second target container group, wherein the original data packet sent by the second target node is the encapsulated data packet sent by the second gateway component and received by the second target node through a receiving port, and decapsulating the encapsulated data packet.
According to the cross-cluster network communication method provided by the present disclosure, the first cluster includes a first target node, the first target node includes a first target container group, the second cluster includes a second target node, the second target node includes a second target container group; the source address of the original data packet is a first target container group, and the target address of the original data packet is a second target container group;
the method further comprises the following steps:
encapsulating the original data packet by the first target container group, generating an encapsulated data packet, and sending the encapsulated data packet to the first gateway component through a sending port of the first target node;
and receiving an original data packet sent by a second target node according to the target address through the second target container group, wherein the original data packet sent by the second target node is the encapsulated data packet sent by the second gateway component and received by the second target node through a receiving port, and decapsulating the encapsulated data packet.
In a third aspect, the present disclosure provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the cross-cluster network communication method according to any one of the above.
In a fourth aspect, the present disclosure provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a cross-cluster network communication method as in any one of the above.
Fifth method, the present disclosure provides a computer program product comprising a computer program that when executed by a processor implements a cross-cluster network communication method as in any one of the above.
The present disclosure provides a cross-cluster network communication system and method, determining, by a first cluster, that a target address of an original data packet is a second cluster, where a first gateway component corresponding to the first cluster cannot directly identify the original data packet, and thus encapsulating the original data packet, and enabling the first gateway component to receive the encapsulated original data; and the first gateway component sends the encapsulated data packet to a second gateway component corresponding to a second cluster again, finally the second gateway component sends the encapsulated data packet to the second cluster, the second cluster decapsulates the encapsulated data packet to obtain an original data packet, and communication among different clusters is realized by means of the first gateway component corresponding to the first cluster and the second gateway component corresponding to the second cluster.
Drawings
In order to more clearly illustrate the technical solutions of the present disclosure or the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is one of schematic structural diagrams of a cross-cluster network communication system provided by an embodiment of the present disclosure;
fig. 2 is a second schematic structural diagram of a cross-cluster network communication system provided by the embodiment of the present disclosure;
fig. 3 is a third schematic structural diagram of a cross-cluster network communication system provided by an embodiment of the present disclosure;
fig. 4 is a fourth schematic structural diagram of a cross-cluster network communication system provided by the embodiment of the present disclosure;
fig. 5 is a fifth schematic structural diagram of a cross-cluster network communication system provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of Cni and Agent programs provided by an embodiment of the disclosure;
FIG. 7 is a block diagram of Pod communication between Cluster1 and Cluster2 provided by embodiments of the present disclosure;
fig. 8 is a schematic flow chart of a cross-cluster network communication method according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic device provided by the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments, which can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present disclosure, belong to the protection scope of the embodiments of the present disclosure.
Cloud-native is a software development technology, which makes full use of cloud computing and deploys applications as micro-services using a software technology stack. In the prior art, cloud native applications build a set of micro-services running in a Docker container, orchestrated in kubernets, and managed and deployed using DevOps and GitOps workflows. The advantage of using a Docker container is the ability to package all software and environment configurations required for execution into one executable package. The container runs in a virtualized environment, isolating the contained application from its environment.
Kubernetes is abbreviated as K8s, is a container cluster management system initiated and maintained by the Google team, and the bottom layer provides strong application management and resource management scheduling capabilities based on container technologies such as Docker and Rkt. The K8s has complete cluster management capability, including multi-level security protection and admission mechanism, multi-tenant application support capability, transparent service registration and service discovery mechanism, built-in intelligent load balancer, powerful fault discovery and self-repair function, service rolling upgrade and online capacity expansion capability, expandable resource automatic scheduling mechanism, and multi-granularity resource allocation management capability. Meanwhile, K8s provides perfect management tools which cover all links including development, test deployment and operation and maintenance monitoring. Therefore, K8s is a completely new distributed architecture solution based on container technology, and is a one-stop, complete distributed system development and support platform.
In the prior art, communication between the pods in a single cluster is divided into two types, one is an Underlay network, and three-layer networks or two-layer networks are directly connected between all the pods, such as Bgp network of Calico; the other is an Overlay network, and the communication between the Pod and the Pod needs an encapsulation/decapsulation process, such as an IPIP network of Calico and a Vxlan network of Flannel.
For the underwlay network, all nodes and Pod are in a three-layer or two-layer network plane, and cross-cluster communication can be realized directly through the routing configuration of the switch; for an Overlay network, the PodIP is a private network address, switches between nodes do not have routes of Pod segments, communication between the pods needs to encapsulate corresponding Overlay message headers, the routes are searched according to the outer layer message headers to reach a destination host, and the routes are sent to the destination Pod after decapsulation.
However, this communication method is suitable for a single cluster, and for different clusters, the Pod is a private network address, and a solution is needed to get through a private network across the clusters, so an embodiment of the present disclosure provides a network communication system across the clusters, an Overlay network is selected for a network communication method between the pods, specifically, the Overlay network constructs a virtual network on an existing physical network, upper layer applications are only related to the virtual network, and its general framework is to implement bearer applied to the network without large-scale modification of a base network, and can be separated from other network services, and is based on an IP-based base network technology.
The embodiment of the disclosure provides a cross-cluster network communication system, which comprises a plurality of clusters, wherein each cluster is correspondingly provided with a gateway component.
A Cluster (Cluster) is a collection of computing, storage, and network resources that K8s utilizes to run various container-based applications. Each constituent point of a cluster is called a Node (Node), and the cluster is formed by combining nodes. The Node's responsibility is to run container applications, which are responsible for monitoring and reporting the status of the container, while managing the life cycle of the container according to the requirements of Cluster. The Node runs on the operating system of Linux and can be a physical machine or a virtual machine.
The Gateway device refers to Gateway, abbreviated as (GW), which is a Gateway service framework under the springloud technology stack, and in a micro-service environment based on springloud, an external request may reach the Gateway, and the Gateway performs pre-operations such as forwarding, filtering, authenticating, and fusing on the request.
The Gateway operating in the kubernets environment can obtain the Service list of kubernets if the Spring-Cloud-kubernets framework is used, so the Gateway can play the role of a Gateway and forward an external request to the Service in the kubernets.
Referring to fig. 1, a schematic structural diagram of a cross-cluster network communication system provided in an embodiment of the present disclosure includes:
the first cluster 11 is configured to determine that a destination address of an original data packet is a second cluster, and encapsulate the original data packet to generate an encapsulated data packet.
Specifically, the first Cluster is represented by Cluster1, the second Cluster is represented by Cluster2, and the original data packet refers to the data packet in Cluster 1.
The encapsulation refers to hiding the attribute and implementation details of the original data packet, and only externally disclosing an interface to control the access level of reading and modifying the attribute in the program. Correspondingly, a message header can be understood as some information segments, the message is a unit sent by a network, and the message can be continuously encapsulated into packets, packets and frames for transmission in the transmission process, the encapsulation mode is to add some information segments, and the added information segments are the message header.
Correspondingly, the original data packet is encapsulated by using an IP tunneling technique, which is a process in which a router encapsulates one network layer protocol into another protocol to be transmitted to another router across a network.
IP tunneling is a packet encapsulation technique that encapsulates an original IP packet (whose header contains the original sender and the final destination) into the data payload of another packet (called an encapsulated IP packet) for transmission.
And encapsulating the original data packet by an IP tunnel technology, wherein the encapsulated data packet is called an encapsulated data packet.
And a first gateway component 12, configured to correspond to the first cluster, and configured to receive the encapsulated data packet sent by the first cluster.
Specifically, the first Gateway component refers to the Gateway1 correspondingly arranged in the first cluster, and the encapsulated data packet is sent to the Gateway1 arranged in the first cluster.
Correspondingly, the first cluster can be provided with one or more gateway components, and when the cluster size is large, the gateway components are added in a manner of supporting horizontal expansion, so that load balancing can be realized.
And the second gateway component 13 is arranged corresponding to the second cluster and is used for receiving the encapsulated data packet sent by the first gateway component and sending the encapsulated data packet to the second cluster.
In particular, the second Gateway component refers to Gateway2 provided by the second cluster, and likewise, the second cluster may be provided with one or more Gateway components.
Correspondingly, Gateway1 of the first cluster sends the encapsulated packet to Gateway2 of the second cluster, and then Gateway2 of the second cluster sends the encapsulated packet to the second cluster.
And the second cluster 14 is configured to receive the encapsulated data packet sent by the second gateway component, and decapsulate the encapsulated data packet to obtain an original data packet.
Specifically, decapsulation is the reverse process of encapsulation, and removes the added header of the Overlay network to obtain the original data.
Correspondingly, the encapsulated data packet is decapsulated through a Node2 in the Cluster2 to obtain an original data packet, namely, the data packet in the Cluster 1.
The present disclosure provides a cross-cluster network communication system, where a target address of an original data packet is determined as a second cluster by a first cluster, and a first gateway component corresponding to the first cluster cannot directly identify the original data packet, so that the original data packet is encapsulated, and the first gateway component can receive the encapsulated original data; and the first gateway component sends the encapsulated data packet to a second gateway component corresponding to a second cluster again, and finally the second gateway component sends the encapsulated data packet to the second cluster.
Referring to fig. 2, a second schematic structural diagram of a cross-cluster network communication system provided in an embodiment of the present disclosure includes:
a first target node 21 arranged in the first cluster, configured to encapsulate the original data packet, generate the encapsulated data packet, and send the encapsulated data packet to the first gateway component 22 via a sending port;
a second target node 24 arranged in a second cluster, configured to receive the encapsulated data packet sent by the second gateway component 23 through a receiving port, and decapsulate the encapsulated data packet to obtain an original data packet;
the source address of the original data packet is a first target node, and the target address of the original data packet is a second target node.
Specifically, a plurality of nodes are included in the cluster, the nodes are represented by nodes, the first target Node is represented by Node1, and the second target Node is represented by Node 2.
Correspondingly, the Node1 encapsulates the original data packet to generate an encapsulated data packet, and sends the encapsulated data packet to the Gateway1 via the sending port, and the Node2 receives the encapsulated data packet sent by the Gateway2 via the receiving port, and decapsulates the encapsulated data packet to obtain the original data packet.
The cross-cluster network communication system provided by the embodiment of the disclosure realizes Overlay network communication between nodes in different clusters.
Referring to fig. 3, a third schematic structural diagram of a cross-cluster network communication system provided in the embodiment of the present disclosure includes:
a first target node is arranged in the first cluster, a second target node is arranged in the second cluster, and the first target node comprises a first target container group;
the source address of the original data packet is a first target container group, and the target address of the original data packet is the second target node;
a first target container group 31, configured to encapsulate the original data packet, generate the encapsulated data packet, and send the encapsulated data packet to the first gateway component 32 through a sending port of the first target node;
the second destination node 34 is configured to receive the encapsulated data packet sent by the second gateway component 33 through a receiving port, and decapsulate the encapsulated data packet to obtain an original data packet.
Specifically, a Container group refers to Pod, Pod is a basic management unit in K8s, and not Container (Container), and Pod is a layer of packaging of K8s on a Container, and is composed of a group of one or more containers running on the same host.
The Pod can support multiple containers to share a network address and a file system in one Pod, services can be combined and completed in simple and efficient modes such as interprocess communication and file sharing, when one Pod contains multiple containers, the containers always run on the same working Node (Node), and one Pod never spans multiple working nodes.
Correspondingly, the first target container group refers to Pod1 in Node1, Pod1 encapsulates original data to generate an encapsulated data packet, and Pod1 sends the encapsulated data packet to Gateway1 corresponding to Cluster 1.
Referring to fig. 4, a fourth schematic structural diagram of a cross-cluster network communication system provided in the embodiment of the present disclosure includes:
a first target node is arranged in the first cluster, a second target node is arranged in the second cluster, and the second target node comprises a second target container group;
the source address of the original data packet is a first target node, and the target address of the original data packet is a second target container group;
the first target node 41 is configured to encapsulate the original data packet, generate the encapsulated data packet, and send the encapsulated data packet to the first gateway component 42 via a sending port;
the second target container group 44 is configured to receive an original data packet sent by a second target node according to the target address, where the original data packet sent by the second target node is the encapsulated data packet sent by the second gateway component 43 and received by the second target node through the receiving port, and the encapsulated data packet is obtained by decapsulating the encapsulated data packet.
Specifically, the second target container group refers to Pod2 in Node 2. And sending the encapsulated data packet in the Gateway1 to the Gateway2 corresponding to the second cluster, and then sending the encapsulated data packet to the Pod2 of the Node2 in the second cluster by the Gateway 2. Pod2 decapsulates the encapsulated packet to obtain the original packet.
The cross-cluster network communication system provided by the embodiment of the disclosure realizes Overlay network communication between the container groups and the nodes in different clusters.
Referring to fig. 5, a fifth structural schematic diagram of a cross-cluster network communication system provided in the embodiment of the present disclosure includes:
a first target node is arranged in the first cluster, a second target node is arranged in the second cluster, the first target node comprises a first target container group, and the second target node comprises a second target container group;
the source address of the original data packet is a first target container group, and the target address of the original data packet is a second target container group;
the first target container group 51 is configured to encapsulate the original data packet, generate the encapsulated data packet, and send the encapsulated data packet to the first gateway component 52 through a sending port of the first target node;
the second target container group 54 is configured to receive an original data packet sent by a second target node according to the target address, where the original data packet sent by the second target node is the encapsulated data packet sent by the second gateway component 53 and received by the second target node through the receiving port, and the encapsulated data packet is obtained by decapsulating the encapsulated data packet.
Specifically, a first target Node1 is set in the first Cluster1, a Pod1 is set in the Node1, a second target Node2 is set in the second Cluster2, and a Pod2 is set in the Node 2.
The cross-cluster network communication system provided by the embodiment of the disclosure realizes Overlay network communication between container groups in different clusters.
Based on any of the above embodiments, the system further comprises:
the first gateway router is arranged between the first cluster and the first gateway component and used for sending the encapsulated data packet to the first gateway component corresponding to the first cluster;
the second gateway route is arranged between the first gateway component and the second gateway component and is used for sending the encapsulated data packet in the first gateway component to the second gateway component corresponding to the second cluster;
and the third gateway route is arranged between the second gateway component and the second cluster and is used for sending the encapsulated data packet in the second gateway component to the second cluster.
It is understood that routing refers to the process of a router receiving a packet from one interface, directing it according to the destination address of the packet, and forwarding it to another interface. In this step, the encapsulated packet is sent from the sending node to the first gateway component.
Specifically, the first Gateway Route may be understood as Route 1 directed to Gateway1, Route 1 being generated by the Route-Controller. A route to Gateway1 is determined by the sending node in the first cluster and the encapsulated packet is sent to the first Gateway component, Gateway1, based on the route of Gateway 1.
The second Gateway Route is Route 2, which is directed to Gateway2, Route 2 being generated by the Route-Controller. And sending the encapsulated data packet in the Gateway1 to the Gateway2 corresponding to the second cluster based on the route 2.
The third route is route 3 directed to the second cluster (which may be understood as being directed to the receiving Node2 in the second cluster), route 3 being generated by the Node-Controller. Gateway2 sends the encapsulated packet on route 3 to Node2 in the second cluster. It is to be appreciated that a fourth route to the second target container set can be determined by the Node2, and the encapsulated packet is sent to the second target container set of the Node2 based on the fourth route, the fourth route being route 4 to the Node2, the route 4 being generated by the Node-Controller. The encapsulated packet is sent to Pod2 of Node2 based on route 4.
It can be understood that, before setting the first gateway route, the second gateway route, and the third gateway route, routing related information needs to be configured, and the specific process includes the following steps 1 to 3:
step 1, creating a CRD (custom Resource definition) to represent the routing information of the Overlay network.
In the created CRD structure, the type of Overlay tunnel is represented by tunetype, an IP tunneling technique is used in the embodiment of the present disclosure, Route is specific routing information, Destination is a Destination IP address of a Route (the Destination IP address is an IP address of a Destination cluster, and in the embodiment of the present disclosure is a second cluster), and Remote is a next hop list of the Route (the next hop includes a first gateway component and a second gateway component in the embodiment of the present disclosure), and if the Destination IP is multiple Destination IPs, an equivalent Route (ECMP) is formed.
Equivalent routing (ECMP) can be understood as that in a network environment where there are multiple different links to reach the same destination address, if a conventional routing technology is used, a packet addressed to the destination address can only utilize one of the links, other links are in a backup state or an invalid state, and switching between the links requires a certain time in a dynamic routing environment, whereas an equivalent multipath routing protocol can simultaneously use multiple links in the network environment, which not only increases transmission bandwidth, but also can backup data transmission of a failed link without delay or packet loss. The ECMP has the greatest characteristic of realizing multipath load balancing under the equivalent condition.
And 2, configuring the container network by using an Cni program, and configuring the container Overlay network route by using an Agent program.
Specifically, the Cni program is implemented using the K8s standard Cni interface to assign IP (IPAM functionality) to a Pod for configuring routes directed to the Pod.
The Agent program is used for acquiring Pod, Node and RoutecRD information and configuring a container Overlay network route through interaction with Apiserver.
Apiserver is the core of the cluster and is responsible for communication among all functional modules of the cluster, all the functional modules in the cluster store information into etcd through the Apiserver, and when the data are required to be acquired and operated, the data are realized through a REST interface (List/Watch method) provided by an API Server, so that information interaction among all the modules is realized.
And 3, initializing the Agent program through the Config configuration file, starting a corresponding Controller (Controller), and issuing an Overlay route by the List/Watch Apiserver.
Wherein the Controller includes: Pod-Controller, Node-Controller, Route-Controller.
Specifically, the Agent program is initialized through a Config configuration file, and the configuration structure is as follows: kubeconfig is the address of the authentication file communicated with Apiserver, TlIPRoute/TlNodeRoute/TlRoute respectively represent the switches for opening Pod-Controller, Node-Controller and Route-Controller, and TlRouteLabel is the label selector of RouteCRD monitored by Route-Controller.
Specifically, referring to fig. 6, a schematic diagram of Cni program and Agent program provided in the embodiment of the present disclosure is shown.
1.Pod-Controller
The function is List/Watch Pod information, and an Overlay route pointing to Pod is issued for intercommunication of Pod across nodes, for example, IP route add { PodIP } via { NodeIP } dev tunl0onlink, the destination IP is the IP of Pod, the next hop is the NodeIP where Pod is located, and the output interface is tunl0 port.
2.Node-Controller
The function is List/Watch Node information, and issue Overlay route pointing to Node in table 16 for intercommunication between Pod and Node, for example, IP route add { NodeIP } via { NodeIP } dev tunl0onlink table 16, where the destination IP and next hop are both the IP of Node, and the outgoing interface is tunl0 port. Among them, table 16 stores Overlay routing information about Node.
3.Route-Controller
The method is used for List/Watch RoutecRD information, issuing Overlay routes pointing to Destination network segments (network segments of other clusters), and mainly used for inter-cluster route access, such as IP route add { Destination } onlink next hop via { GW1} dev tunl0 weight 2onlink next hop via { GW2} dev tunl0 weight 2onlink, Destination is one network segment or IP, next hop is IP of gateway (multiple next hops form ECMP), and exit interface is tunl0 port.
Further, taking the implementation of the present disclosure as an example of implementing communication between Pod in different clusters, a supplementary description is further made, and referring to fig. 7, a block diagram of Pod communication between Cluster1 and Cluster2 provided in the embodiment of the present disclosure is shown, and a specific process of Pod communication between Cluster1 and Cluster2 is steps 11 to 14.
In the first Cluster, the first Cluster is represented by Cluster1, the Node is represented by Node1, and the container group is represented by Pod 1; in the second Cluster, the second Cluster is represented by Cluster2, the Node is represented by Node2, and the container group is represented by Pod 2; GW1 denotes a gateway provided for the first cluster, and GW2 denotes a gateway provided for the second cluster. By default, relevant route information has been configured between ongoing communications, represented directly by route 1, route 2, route 3, and route 4.
And step 11, acquiring an original data packet of Pod1, determining a route 1 according to Pod2 IP, encapsulating the original data packet to generate an encapsulated data packet, and sending the encapsulated data packet from a network card of a Node 1.
Specifically, the original data packet comes out from Pod1, a route is searched according to a destination IP (Pod2 IP), the route 1 (a route pointing to GW 1) with an output interface tunl0 is determined by searching in table 16 without a proper route and searching in table main, the original data is encapsulated by using an IP tunneling technique to generate an encapsulated data packet, and the encapsulated data packet is sent out from a network card (eth) of Node1 after the original IP is the IP of Node1 and the destination IP is the IP of GW 1.
Wherein, table 16 stores Overlay routing information about Node, and table main stores relevant routing information about Pod and gateway component.
Step 12, after receiving the encapsulated data packet, GW1 decapsulates it, finds out route 2 according to the next hop IP, encapsulates it again, and sends it out from the network card of GW 1.
Specifically, after receiving the encapsulated packet, GW1 decapsulates the IPIP header, searches for a route, which has route 2 of outbound interface tunl0, and the next hop is gateway component GW2 of Cluster2, and encapsulates the IPIP header again (in the encapsulated packet, the original IP is IP of GW1 of Cluster1, and the destination IP is IP of GW2 of Cluster 2), and then sends out the IP from network card (eth) of GW 1.
Specifically, after receiving the encapsulated packet, GW2 of Cluster2 decapsulates the IPIP header, finds a route according to a destination IP (Pod2 IP), determines route 3 (a route pointing to Pod2 IP) with output interface tunl0, encapsulates the IPIP header again (the original IP in the encapsulated packet is the IP of GW2, and the destination IP is the IP of GW2 in Cluster 2), and then sends the IP header from a network card (eth) of GW 2.
Specifically, after receiving the encapsulated data packet, the Node2 decapsulates the IPIP header, searches for a route according to the destination IP (Pod2) of the inner layer, searches for a table main table, determines that there is a route 4 pointing to the ven, and directly forwards the route 4 to the ven of the Pod 2.
The cross-cluster network communication system provided by the embodiment of the disclosure realizes communication among container groups in different clusters.
The following describes a cross-cluster network communication method provided in an embodiment of the present disclosure, which is used in any one of the network communication systems described above, and specifically includes:
specifically, referring to fig. 8, a schematic flow chart of a cross-cluster network communication method provided in the embodiment of the present disclosure is shown, where the method includes:
the destination address of the original packet is determined 810 by the first cluster to be the second cluster.
820, encapsulating the original data packet by the first cluster to generate an encapsulated data packet.
830, sending the encapsulated packet to a first gateway component corresponding to the first cluster through the first cluster.
840, sending the encapsulated data packet to a second gateway component corresponding to the second cluster through the first gateway component, so that the second gateway component sends the encapsulated data packet to the second cluster, and decapsulating the encapsulated data packet through the second cluster to obtain the original data packet.
The present disclosure provides a cross-cluster network communication method, where a target address of an original data packet is determined as a second cluster by a first cluster, and a first gateway component corresponding to the first cluster cannot directly identify the original data packet, so that the original data packet is encapsulated, and the first gateway component can receive the encapsulated original data; and the first gateway component sends the encapsulated data packet to a second gateway component corresponding to a second cluster again, and finally the second gateway component sends the encapsulated data packet to the second cluster.
According to any of the above embodiments, the first cluster comprises a first target node, and the second cluster comprises a second target node; the source address of the original data packet is a first target node, and the target address of the original data packet is a second target node;
the method further comprises the following steps:
encapsulating the original data packet through the first target node to generate an encapsulated data packet, and sending the encapsulated data packet to the first gateway component through a sending port of the first target node;
and receiving the encapsulated data packet sent by the second gateway component through a receiving port of the second target node, and decapsulating the encapsulated data packet to obtain an original data packet.
Based on any of the above embodiments, the first cluster includes a first target node, the first target node includes a first target container group, and the second cluster includes a second target node; the source address of the original data packet is a first target container group, and the target address of the original data packet is the second target node;
the method further comprises the following steps:
encapsulating the original data packet through the first target container group to generate an encapsulated data packet, and sending the encapsulated data packet to the first gateway component through a sending port of the first target node;
and receiving the encapsulated data packet sent by the second gateway component through a receiving port of the second target node, and decapsulating the encapsulated data packet to obtain an original data packet.
Based on any of the above embodiments, the first cluster includes a first target node, the second cluster includes a second target node, and the second target node includes a second target container group; the source address of the original data packet is a first target node, and the target address of the original data packet is a second target container group;
the method further comprises the following steps:
encapsulating the original data packet through the first target node to generate an encapsulated data packet, and sending the encapsulated data packet to the first gateway component through a sending port;
and receiving an original data packet sent by a second target node according to the target address through the second target container group, wherein the original data packet sent by the second target node is the encapsulated data packet sent by the second gateway component and received by the second target node through the receiving port, and decapsulating the encapsulated data packet.
Based on any of the above embodiments, the first cluster includes a first target node, the first target node includes a first target container group, the second cluster includes a second target node, and the second target node includes a second target container group; the source address of the original data packet is a first target container group, and the target address of the original data packet is a second target container group;
the method further comprises the following steps:
encapsulating the original data packet through the first target container group to generate an encapsulated data packet, and sending the encapsulated data packet to the first gateway component through a sending port of the first target node;
and receiving an original data packet sent by a second target node according to the target address through the second target container group, wherein the original data packet sent by the second target node is the encapsulated data packet sent by the second gateway component and received by the second target node through the receiving port, and decapsulating the encapsulated data packet.
Fig. 9 illustrates a physical structure diagram of an electronic device, and as shown in fig. 9, the electronic device may include: a processor (processor)910, a communication Interface (Communications Interface)920, a memory (memory)930, and a communication bus 940, wherein the processor 910, the communication Interface 920, and the memory 930 are coupled for communication via the communication bus 940. Processor 910 may invoke logic instructions in memory 930 to perform a cross-cluster network communication system comprising: the first cluster is used for determining that the target address of an original data packet is a second cluster, packaging the original data packet and generating a packaged data packet; the first gateway component is arranged corresponding to the first cluster and used for receiving the encapsulated data packet sent by the first cluster; the second gateway component is arranged corresponding to the second cluster and used for receiving the encapsulated data packet sent by the first gateway component and sending the encapsulated data packet to the second cluster; and the second cluster is used for receiving the encapsulated data packet sent by the second gateway component and decapsulating the encapsulated data packet to obtain an original data packet.
Furthermore, the logic instructions in the memory 930 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present disclosure also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform a cross-cluster network communication system as provided above, the network communication system comprising: the first cluster is used for determining that the target address of an original data packet is a second cluster, packaging the original data packet and generating a packaged data packet; the first gateway component is arranged corresponding to the first cluster and used for receiving the encapsulated data packet sent by the first cluster; the second gateway component is arranged corresponding to the second cluster and used for receiving the encapsulated data packet sent by the first gateway component and sending the encapsulated data packet to the second cluster; and the second cluster is used for receiving the encapsulated data packet sent by the second gateway component and decapsulating the encapsulated data packet to obtain an original data packet.
In yet another aspect, the present disclosure also provides a non-transitory computer readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the above-provided network communication system across clusters, the network communication system comprising: the first cluster is used for determining that the target address of an original data packet is a second cluster, packaging the original data packet and generating a packaged data packet; the first gateway component is arranged corresponding to the first cluster and used for receiving the encapsulated data packet sent by the first cluster; the second gateway component is arranged corresponding to the second cluster and used for receiving the encapsulated data packet sent by the first gateway component and sending the encapsulated data packet to the second cluster; and the second cluster is used for receiving the encapsulated data packet sent by the second gateway component and decapsulating the encapsulated data packet to obtain an original data packet.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solutions of the present disclosure, not to limit them; although the present disclosure has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present disclosure.
Claims (14)
1. A cross-cluster network communication system, the network communication system comprising:
the first cluster is used for determining that the target address of an original data packet is a second cluster, packaging the original data packet and generating a packaged data packet;
the first gateway component is arranged corresponding to the first cluster and used for receiving the encapsulated data packet sent by the first cluster;
the second gateway component is arranged corresponding to the second cluster and used for receiving the encapsulated data packet sent by the first gateway component and sending the encapsulated data packet to the second cluster;
and the second cluster is used for receiving the encapsulated data packet sent by the second gateway component and decapsulating the encapsulated data packet to obtain an original data packet.
2. The system of claim 1, further comprising:
the first target node is arranged in a first cluster and used for encapsulating the original data packet, generating an encapsulated data packet and sending the encapsulated data packet to the first gateway component through a sending port;
the second target node is arranged in a second cluster and used for receiving the encapsulated data packet sent by the second gateway component through a receiving port and de-encapsulating the encapsulated data packet to obtain an original data packet;
the source address of the original data packet is a first target node, and the target address of the original data packet is a second target node.
3. The system of claim 1, further comprising:
a first target node is arranged in the first cluster, a second target node is arranged in the second cluster, and the first target node comprises a first target container group;
the source address of the original data packet is a first target container group, and the target address of the original data packet is the second target node;
a first target container group, configured to encapsulate the original data packet, generate the encapsulated data packet, and send the encapsulated data packet to the first gateway component via a sending port of the first target node;
and the second target node is used for receiving the encapsulated data packet sent by the second gateway component through a receiving port and decapsulating the encapsulated data packet to obtain an original data packet.
4. The system of claim 1, further comprising:
a first target node is arranged in the first cluster, a second target node is arranged in the second cluster, and the second target node comprises a second target container group;
the source address of the original data packet is a first target node, and the target address of the original data packet is a second target container group;
the first target node is configured to encapsulate the original data packet, generate the encapsulated data packet, and send the encapsulated data packet to the first gateway component via a sending port;
and the second target container group is used for receiving an original data packet sent by a second target node according to the target address, wherein the original data packet sent by the second target node is the encapsulated data packet sent by the second gateway component and received by the second target node through a receiving port, and the encapsulated data packet is obtained by decapsulating the encapsulated data packet.
5. The system of claim 1, further comprising:
a first target node is arranged in the first cluster, a second target node is arranged in the second cluster, the first target node comprises a first target container group, and the second target node comprises a second target container group;
the source address of the original data packet is a first target container group, and the target address of the original data packet is a second target container group;
the first target container group is configured to encapsulate the original data packet, generate the encapsulated data packet, and send the encapsulated data packet to the first gateway component through a sending port of the first target node;
and the second target container group is used for receiving an original data packet sent by a second target node according to the target address, wherein the original data packet sent by the second target node is the encapsulated data packet sent by the second gateway component and received by the second target node through a receiving port, and the encapsulated data packet is obtained by decapsulating the encapsulated data packet.
6. The system of claim 1, further comprising:
the first gateway route is arranged between the first cluster and the first gateway component and is used for sending the encapsulated data packet to the first gateway component corresponding to the first cluster;
the second gateway router is arranged between the first gateway component and the second gateway component and used for sending the encapsulated data packet in the first gateway component to the second gateway component corresponding to the second cluster;
and the third gateway route is arranged between the second gateway component and the second cluster and is used for sending the encapsulated data packet in the second gateway component to the second cluster.
7. A cross-cluster network communication method for the network communication system according to any one of claims 1-6, the method comprising:
determining a target address of an original data packet as a second cluster through the first cluster;
packaging the original data packet through the first cluster to generate a packaged data packet;
sending the encapsulated data packet to a first gateway component corresponding to the first cluster through the first cluster;
and sending the encapsulated data packet to a second gateway component corresponding to the second cluster through the first gateway component, so that the second gateway component sends the encapsulated data packet to the second cluster, and decapsulating the encapsulated data packet through the second cluster to obtain the original data packet.
8. The method of network communication across clusters of claim 7, wherein the first cluster comprises a first target node and the second cluster comprises a second target node; the source address of the original data packet is a first target node, and the target address of the original data packet is a second target node;
the method further comprises the following steps:
encapsulating the original data packet through the first target node to generate an encapsulated data packet, and sending the encapsulated data packet to the first gateway component through a sending port of the first target node;
and receiving the encapsulated data packet sent by the second gateway component through a receiving port of the second target node, and decapsulating the encapsulated data packet to obtain an original data packet.
9. The method of claim 7, wherein the first cluster comprises a first target node, the first target node comprises a first target container group, and the second cluster comprises a second target node; the source address of the original data packet is a first target container group, and the target address of the original data packet is the second target node;
the method further comprises the following steps:
encapsulating the original data packet through the first target container group to generate an encapsulated data packet, and sending the encapsulated data packet to the first gateway component through a sending port of the first target node;
and receiving the encapsulated data packet sent by the second gateway component through a receiving port of the second target node, and decapsulating the encapsulated data packet to obtain an original data packet.
10. The method of claim 7, wherein the first cluster comprises a first target node, the second cluster comprises a second target node, and the second target node comprises a second target container group; the source address of the original data packet is a first target node, and the target address of the original data packet is a second target container group;
the method further comprises the following steps:
encapsulating the original data packet through the first target node to generate an encapsulated data packet, and sending the encapsulated data packet to the first gateway component through a sending port;
and receiving an original data packet sent by a second target node according to the target address through the second target container group, wherein the original data packet sent by the second target node is the encapsulated data packet sent by the second gateway component and received by the second target node through a receiving port, and decapsulating the encapsulated data packet.
11. The method of claim 7, wherein the first cluster comprises a first target node, the first target node comprises a first target group of containers, the second cluster comprises a second target node, the second target node comprises a second target group of containers; the source address of the original data packet is a first target container group, and the target address of the original data packet is a second target container group;
the method further comprises the following steps:
encapsulating the original data packet through the first target container group to generate an encapsulated data packet, and sending the encapsulated data packet to the first gateway component through a sending port of the first target node;
and receiving an original data packet sent by a second target node according to the target address through the second target container group, wherein the original data packet sent by the second target node is the encapsulated data packet sent by the second gateway component and received by the second target node through a receiving port, and decapsulating the encapsulated data packet.
12. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of network communication across a cluster according to any one of claims 7 to 11 when executing the program.
13. A non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of network communication across a cluster according to any one of claims 7 to 11.
14. A computer program product comprising a computer program, wherein the computer program when executed by a processor implements the method of network communication across a cluster according to any one of claims 7 to 11.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210200119.8A CN114640556A (en) | 2022-03-02 | 2022-03-02 | Cross-cluster network communication system and method |
PCT/CN2022/124573 WO2023165137A1 (en) | 2022-03-02 | 2022-10-11 | Cross-cluster network communication system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210200119.8A CN114640556A (en) | 2022-03-02 | 2022-03-02 | Cross-cluster network communication system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114640556A true CN114640556A (en) | 2022-06-17 |
Family
ID=81947204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210200119.8A Pending CN114640556A (en) | 2022-03-02 | 2022-03-02 | Cross-cluster network communication system and method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114640556A (en) |
WO (1) | WO2023165137A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115333993A (en) * | 2022-10-11 | 2022-11-11 | 江苏博云科技股份有限公司 | Method, equipment and storage medium for customizing container group routing in container environment |
CN116243899A (en) * | 2022-12-06 | 2023-06-09 | 浙江讯盟科技有限公司 | User-defined arrangement container and method based on network environment |
WO2023165137A1 (en) * | 2022-03-02 | 2023-09-07 | 京东科技信息技术有限公司 | Cross-cluster network communication system and method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130142201A1 (en) * | 2011-12-02 | 2013-06-06 | Microsoft Corporation | Connecting on-premise networks with public clouds |
CN104579973A (en) * | 2014-12-24 | 2015-04-29 | 北京华为数字技术有限公司 | Message forwarding method and device of virtual cluster |
CN109617995A (en) * | 2018-12-29 | 2019-04-12 | 北京金山云网络技术有限公司 | To management system, method and the electronic equipment of tenant's cluster VPC internal container |
US20190173796A1 (en) * | 2017-12-01 | 2019-06-06 | International Business Machines Corporation | Load balancing in data hosting systems |
CN111934970A (en) * | 2020-08-06 | 2020-11-13 | 北京字节跳动网络技术有限公司 | Data transmission method, device and system |
CN112751913A (en) * | 2020-12-22 | 2021-05-04 | 联奕科技股份有限公司 | Network communication method and system across Kubernetes cluster |
CN114040020A (en) * | 2021-10-08 | 2022-02-11 | 杭州隆埠科技有限公司 | Cross-cluster service calling method and system |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7117419B2 (en) * | 2003-08-05 | 2006-10-03 | Newisys, Inc. | Reliable communication between multi-processor clusters of multi-cluster computer systems |
US7937088B2 (en) * | 2004-03-26 | 2011-05-03 | Qualcomm Incorporated | Routing communications in an ad hoc network |
US20100250646A1 (en) * | 2009-03-25 | 2010-09-30 | Microsoft Corporation | Mechanism for geo distributing application data |
CN106452952B (en) * | 2016-09-29 | 2019-11-22 | 华为技术有限公司 | A kind of method and gateway cluster detecting group system communications status |
CN107948086A (en) * | 2016-10-12 | 2018-04-20 | 北京金山云网络技术有限公司 | A kind of data packet sending method, device and mixed cloud network system |
CN113726638B (en) * | 2021-11-04 | 2022-04-01 | 北京比格大数据有限公司 | Method, device and equipment for managing multi-cloud multi-core container and storage medium |
CN114640556A (en) * | 2022-03-02 | 2022-06-17 | 京东科技信息技术有限公司 | Cross-cluster network communication system and method |
-
2022
- 2022-03-02 CN CN202210200119.8A patent/CN114640556A/en active Pending
- 2022-10-11 WO PCT/CN2022/124573 patent/WO2023165137A1/en unknown
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130142201A1 (en) * | 2011-12-02 | 2013-06-06 | Microsoft Corporation | Connecting on-premise networks with public clouds |
CN104579973A (en) * | 2014-12-24 | 2015-04-29 | 北京华为数字技术有限公司 | Message forwarding method and device of virtual cluster |
US20190173796A1 (en) * | 2017-12-01 | 2019-06-06 | International Business Machines Corporation | Load balancing in data hosting systems |
CN109617995A (en) * | 2018-12-29 | 2019-04-12 | 北京金山云网络技术有限公司 | To management system, method and the electronic equipment of tenant's cluster VPC internal container |
CN111934970A (en) * | 2020-08-06 | 2020-11-13 | 北京字节跳动网络技术有限公司 | Data transmission method, device and system |
CN112751913A (en) * | 2020-12-22 | 2021-05-04 | 联奕科技股份有限公司 | Network communication method and system across Kubernetes cluster |
CN114040020A (en) * | 2021-10-08 | 2022-02-11 | 杭州隆埠科技有限公司 | Cross-cluster service calling method and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023165137A1 (en) * | 2022-03-02 | 2023-09-07 | 京东科技信息技术有限公司 | Cross-cluster network communication system and method |
CN115333993A (en) * | 2022-10-11 | 2022-11-11 | 江苏博云科技股份有限公司 | Method, equipment and storage medium for customizing container group routing in container environment |
CN115333993B (en) * | 2022-10-11 | 2022-12-09 | 江苏博云科技股份有限公司 | Method, equipment and storage medium for customizing container group routing in container environment |
CN116243899A (en) * | 2022-12-06 | 2023-06-09 | 浙江讯盟科技有限公司 | User-defined arrangement container and method based on network environment |
CN116243899B (en) * | 2022-12-06 | 2023-09-15 | 浙江讯盟科技有限公司 | User-defined arrangement container and method based on network environment |
Also Published As
Publication number | Publication date |
---|---|
WO2023165137A1 (en) | 2023-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111885075B (en) | Container communication method, device, network equipment and storage medium | |
CN107947961B (en) | SDN-based Kubernetes network management system and method | |
CN110012125B (en) | Cluster network communication method, device, storage medium and equipment | |
CN107078969B (en) | Realize computer equipment, the system and method for load balancing | |
CN110445649B (en) | Method and apparatus for implementing connections between edge devices via a switching fabric | |
JP6434821B2 (en) | Communication apparatus and communication method | |
US11398956B2 (en) | Multi-Edge EtherChannel (MEEC) creation and management | |
CN114640556A (en) | Cross-cluster network communication system and method | |
WO2017113231A1 (en) | Packet transmission method, device and system | |
CN108199963B (en) | Message forwarding method and device | |
CN107948041B (en) | Method and equipment for constructing VXLAN centralized multi-active gateway | |
CN104170331A (en) | L3 gateway for VXLAN | |
CN103139075B (en) | A kind of message transmitting method and equipment | |
WO2022078415A1 (en) | Packet forwarding method and network device | |
CN108123819B (en) | Virtual-real network seamless fusion simulation method | |
US20230171223A1 (en) | Communication Method, CP Device, and NAT Device | |
CN113746717A (en) | Network equipment communication method and network equipment communication device | |
US20220360526A1 (en) | Routing information publishing method, apparatus, and system | |
CN113225252B (en) | Establishment method, processing method and related equipment for Bidirectional Forwarding Detection (BFD) session | |
CN112751768B (en) | Service message forwarding method and device and computer storage medium | |
CN110572326A (en) | Method, device, network equipment and system for establishing forwarding path | |
JP2020113836A (en) | Information processing device, information processing system, and setting program | |
WO2022088685A1 (en) | Semantic name acquisition method and apparatus, device, and storage medium | |
CN112887185B (en) | Communication method and device of overlay network | |
JP7273130B2 (en) | Communication method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |