What is EdgeMesh?
mainEdgeMesh is a data plane component for KubeEdge clusters. It provides simple service discovery and traffic proxying for applications, effectively masking complex network structures in edge computing scenarios.
Key benefits include:
- High Availability: Uses LibP2P to connect edge nodes. It distinguishes between LAN communication (direct) and cross-LAN communication (direct tunnels via hole punching if successful, otherwise relayed via a relay).
- High Reliability (Offline Scenarios): Metadata is delivered via the KubeEdge edge-cloud channel, removing the need to access the cloud
apiserver. It includes a lightweight node-level DNS server so service discovery does not depend on cloud CoreDNS. - Extreme Lightweightness: Only one
edgemesh-agentis deployed per node, saving edge resources compared to a full stack of CoreDNS + Kube-Proxy + CNI.