Can we use MetalLB or DNS failover instead of the Hetzner load balancer?
Yes. You can run MetalLB on Hetzner yourself, or serve traffic from the nodes with DNS in front. The Hetzner Load Balancer is the default for application traffic on Syself Autopilot, and you choose per workload how to expose it.
- Hetzner Load Balancer (default): Syself Autopilot creates one for every
type: LoadBalancerService and keeps its targets in line with the nodes as they are replaced. - Reverse proxy on the nodes with DNS in front: run the proxy with
hostPorton selected nodes and point DNS at them. You own the addresses, the health checks and the failover. A bare-metal node keeps its IP when it is reprovisioned. A cloud node gets a new one. - MetalLB: it is not part of Syself Autopilot, so you install, run and test it yourself. At Hetzner an extra address, such as a Floating IP, is assigned to one server. When that node goes down, the address has to be reassigned at Hetzner, and MetalLB does not do that on its own.
- DNS failover or a CDN in front of the Hetzner Load Balancer: this keeps the load balancer and adds a second path outside it. See How do we make the cluster resilient to a Hetzner LB failure?
The control-plane load balancer is part of every cluster and stays in place.
For the setup without a load balancer and what you then own yourself, follow Expose a reverse proxy without a load balancer. For the default path, see Configure a Hetzner load balancer.
Related questions
