Kubernetes
Smart Router runs on Kubernetes, and Magma Devs supports Kubernetes deployments. To run it on your cluster, or for help with one you already run, talk to us.
What a cluster needs from the router
- Probes. The router serves
/livezand/readyzon its metrics server, which is off until--metrics-listen-addressis set (for example:7779)./livezanswers200while the process serves HTTP, so it suits a liveness probe./readyzanswers503while no chain is healthy, so it suits a readiness probe: the pod leaves the Service without restarting. When readiness changes says what makes a chain healthy. - The health check stays on.
--relays-health-enableis on by default. With it off,/readyzanswers503unconditionally (see CLI flags). - The image.
ghcr.io/magma-devs/smart-router:vX.Y.Z, forlinux/amd64andlinux/arm64, carries the same binary as the release.