Configuring a Hetzner Load Balancer

Load Balancer Configuration Examples

In order to expose your workload with a Service of type Load Balancer, you need to annotate the Service so it is able to correctly assign IPs to the pods:

Annotation keyExplanation
load-balancer.hetzner.cloud/locationShould match the region set on the Cluster resource
load-balancer.hetzner.cloud/typeShould match the type set on the Cluster resource

Below you can find an example manifest exposing a web server with a Service of type Load Balancer:

yaml

You should be able to see the External IP assigned to your service and access nginx through it.

Previous
Network