meshnet-cni icon indicating copy to clipboard operation
meshnet-cni copied to clipboard

Grpc link

Open kingshukdev opened this issue 2 years ago • 2 comments

This PR adds gRPC overlay for interconnecting pods distributed across nodes.

  • It uses protobuf to encapsulate a packet from a source pod and transport the same over grpc channel to a remote pod in remote node.
  • Each remote node maintains an active grpc channel till it has pods communicating with each other.
  • Implementation detail is available in ./doc folder.
  • Areas of changes are in build infrastructure, Meshnet plugin & Meshnet Daemon
  • Tested with go 1.18

It does not need any significant change in the existing meshnet CRD and is fully backwards compatible.

kingshukdev avatar Aug 08 '22 12:08 kingshukdev

How important is the lack of MTU overhead when (a) most likely the inter-node communication is on the local subnet and (b) jumbo frames are a thing?

Cerebus avatar Aug 29 '22 20:08 Cerebus

How important is the lack of MTU overhead when (a) most likely the inter-node communication is on the local subnet and (b) jumbo frames are a thing?

This is the next thing I will work on. We will have user configurable MTU, including jumbo frame. If the user wants then they can dial is different MTU for different link. This can happen in real network, so a meshnet created topology can have the same characteristics.

This is what I intend to support -> Configurable MTU + space for 10 stacked VLAN + space for 10 stacked for MPLS labels.

kingshukdev avatar Aug 30 '22 07:08 kingshukdev

@networkop - All the review comments are addressed.

kingshukdev avatar Sep 05 '22 13:09 kingshukdev