Skip to main content

Can we use the control plane's load balancer for our own workloads?

Syself support For release

No. You cannot use the control plane load balancer for workloads. Syself Autopilot creates it for the Kubernetes API and keeps it in that state, so a service you add to it by hand is removed again.

For a workload, create a Service of type LoadBalancer. It gets its own Hetzner Load Balancer, and you configure it with annotations on the Service. Application traffic and API traffic then never share one connection limit.

To keep the number of load balancers low, put an ingress controller or a Gateway controller behind a single LoadBalancer Service and route your HTTP applications through it by hostname. Many applications then share one load balancer and one public IP.

To create one, follow Expose an app with a LoadBalancer Service and take the annotations from Configure a Hetzner load balancer. How much each load balancer type carries is listed in What are a Hetzner load balancer's real limits, and how does multi-LB balancing work?

Still stuck?

Prepare your case, then email us.