kosmos-io / kosmos

The limitless expansion of Kubernetes. Make Kubernetes without boundaries
https://kosmos-io.github.io/kosmos-website/
Apache License 2.0
201 stars 49 forks source link

For Calico utilizing etcd as its backend storage, implementation supports P2P (Peer-to-Peer) mode. #409

Open duanmengkk opened 8 months ago

duanmengkk commented 8 months ago

What would you like to be added:

For the P2P mode ClusterLink, implementation supports cross-cluster network connectivity for Calico plugin using etcd as its backend storage.

Why is this needed:

Currently, Kosmos utilizes ClusterLink to implement cross-cluster network connectivity. ClusterLink currently supports two modes: gateway mode and P2P mode. Gateway mode selects one node in the cluster to act as the gateway for the tunnel network, while P2P mode is a direct node-to-node communication method. When Calico's backend storage is etcd, the P2P mode is currently not supported. The reason for this is because we need to investigate how to retrieve blockaffinity information from the etcd backend storage. Meanwhile, in gateway mode, we only need to obtain ippools information.

duanmengkk commented 8 months ago

/help-wanted