Go-based network automation with YANG models, gRPC, Ansible, Terraform, and Kubernetes integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
478 B
Markdown
12 lines
478 B
Markdown
# Mesh Topology
|
|
|
|
The WireGuard mesh connects clusters over overlay tunnels. Topology state is shared between the DaemonSet (writer) and CNI plugin (reader) via `/etc/kedge/mesh.json`.
|
|
|
|
## Peer Discovery
|
|
- Static peers from ConfigMap (`k8s/configmap-mesh.yaml`)
|
|
- Dynamic discovery via Headscale (Phase 3)
|
|
|
|
## Health Monitoring
|
|
- Periodic peer handshake checks
|
|
- Dead peer detection with configurable timeout
|
|
- Prometheus metrics: `kedge_mesh_peer_count`, `kedge_mesh_tunnel_up`
|