Two things go wrong with an exposed Service: it never receives an external address, or it receives one but traffic does not reach the pod. Work them in that order, because there is no value in chasing dropped traffic on a Service that has no load balancer yet. The load balancer itself comes from the Hetzner cloud-controller-manager (CCM), a pod in `kube-system` that watches Service objects and calls the Hetzner API to create and update the load balancer. ```mermaid flowchart TD A["Service exposed"]:::app --> B{"EXTERNAL-IP assigned?"}:::decision B -->|No, stuck pending| C["The CCM has not made the LB.
Read the Service events."]:::platform B -->|Yes, but traffic drops| D{"Hubble shows a DROP
with a policy reason?"}:::decision D -->|Yes| E["A NetworkPolicy is denying it.
Fix the policy."]:::app D -->|No| F{"App sees only the LB address?"}:::decision F -->|Yes| G["Turn on PROXY protocol
on both ends."]:::app F -->|No| H["Check the NodePort datapath,
then the node."]:::platform ``` ## The Service is stuck on `` An `EXTERNAL-IP` that stays `` means the CCM has not created the load balancer. The reason is almost always on the Service's own events: ```console $ kubectl describe svc ``` Read the events at the bottom and match them: | Event on the Service | Cause | Fix | | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Annotation rejected, reconcile fails | a value in the wrong format, like a bare `15` where a Go duration `"15s"` is required | fix the annotation value; see [Configure a Hetzner load balancer](/docs/hetzner/apalla/network/load-balancing/configure-a-load-balancer) | | Hetzner API auth or permission error | the CCM's Hetzner token is missing, wrong, or lacks permission | check the CCM pod logs in `kube-system` and the token it uses | | Load balancer made, but no targets | no pod matches the Service selector and is ready | fix the selector or the pods' readiness | | `the token you have provided is invalid` | the Hetzner Cloud token in the `hetzner` Secret is wrong or revoked. Existing load balancers keep serving, but are not updated | set a valid token; see [What is the safe procedure for rotating Hetzner credentials?](/support/what-is-the-safe-procedure-for-rotating-hetzner-credentials) | | `invalid input in field 'http'` | `http-timeout-idle` is set on a Service with the protocol `tcp`, or its value is outside `30s` to `300s` | fix or remove the annotation; see [Set the idle timeout of HTTP connections](/docs/hetzner/apalla/network/load-balancing/configure-a-load-balancer#set-the-idle-timeout-of-http-connections) | | `primary IP is already assigned to a resource` | the Primary IP in `public-net-ipv4` or `public-net-ipv6` is in use by a server or another load balancer | unassign it, or use another Primary IP | | `primary IP with ID … not found` | the annotation holds an address or an ID from another project | set the ID of a Primary IP in the cluster's Hetzner Cloud project | | `primary IP is in location …, but the load balancer is in location …` | the Primary IP and the load balancer are in different locations | set the `location` annotation to the Primary IP's location, or create the Primary IP there | While a load balancer cannot be created, the Service's NodePort is not limited to the load balancer yet and answers every source. See [Limit the NodePort to the load balancer](/docs/hetzner/apalla/network/load-balancing/configure-a-load-balancer#limit-the-nodeport-to-the-load-balancer). ## The load balancer exists but is not updated A Service that already has its address can still fail to reconcile. The load balancer keeps serving with its last settings and targets, but new nodes are not added. Check the Service's events here too: | Event on the Service | Cause | Fix | | ---------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `changeType: number of existing services is higher than load balancer type max services` | the Service has no `type` annotation and the load balancer was resized in the Hetzner console. The CCM tries to change it to `lb11`, which holds 5 ports | set `load-balancer.hetzner.cloud/type` to the type the load balancer has; see [Keep a larger load balancer type](/docs/hetzner/apalla/network/load-balancing/configure-a-load-balancer#keep-a-larger-load-balancer-type) | | `PrimaryIPChangeUnsupported` | a `public-net-ipv4` or `public-net-ipv6` annotation changed after the load balancer was created | none needed, the addresses stay. To use other Primary IPs, delete and recreate the Service | | `UnsupportedProtocolConfigured` | the Service has a UDP port. Hetzner load balancers forward TCP only | the TCP ports work. Expose the UDP port another way; see [UDP is not supported](/docs/hetzner/apalla/network/expose/choose-how-to-expose#udp-is-not-supported) | | `RobotServerListStale` | the CCM cannot read the bare-metal server list from Hetzner Robot, usually because of a wrong Robot password. It uses the last list it read | fix the `robot-user` and `robot-password` keys of the `hetzner` Secret | | `RobotCredentialsMissing` | the Robot user or password in the `hetzner` Secret is empty, so bare-metal nodes are not added as targets | set both keys in the `hetzner` Secret on the management cluster | ## The Service has an IP but traffic is dropped Once the address exists, trace the path from the edge inward. Check for a policy drop A `NetworkPolicy` or `CiliumNetworkPolicy` denying the traffic is the most common cause. Watch dropped flows: ```console $ hubble observe --verdict DROPPED --to-pod --last 100 ``` A `DROPPED` verdict with a policy reason means a policy is blocking it. See [Segment with network policies](/docs/hetzner/apalla/security/segment-with-network-policies). Check the source address the pod sees If the application rejects requests because they all appear to come from the load balancer, the client address is being lost. By default a pod sees the load balancer's address, not the client's. Enable PROXY protocol on the Service and the backend together, as described in [Preserve the client source IP](/docs/hetzner/apalla/network/load-balancing/preserve-client-source-ip#recover-the-client-ip-with-proxy-protocol). > [!WARNING] > PROXY protocol must match on both ends. If the load balancer sends the PROXY header but the backend does not expect it, or the reverse, the connection is dropped or the backend reads a corrupted request. A KubeGate source-CIDR policy behaves the other way around: until PROXY protocol is on, KubeGate cannot read the real client address, so the policy stays dormant and every client is admitted. Set it on the Service annotation and the backend in the same change. Confirm the datapath port answers The load balancer reaches pods through a NodePort, a port opened on every node that forwards to the Service's pods. Confirm the Service has a NodePort and that a backend responds on it from another pod in the cluster. If pod-to-pod traffic itself is broken, the problem is below the Service. Run a [Cilium connectivity test](/docs/hetzner/apalla/network/debug/run-a-cilium-connectivity-test). ## The NodePort answers the wrong clients By default, a LoadBalancer Service's NodePort accepts connections from outside the cluster only from its own load balancer. The CCM lists the load balancer's address in the Service's `spec.loadBalancerSourceRanges`. Cilium drops every other source. See [Limit the NodePort to the load balancer](/docs/hetzner/apalla/network/load-balancing/configure-a-load-balancer#limit-the-nodeport-to-the-load-balancer). Read the list and the Service's events: ```console $ kubectl get svc -o jsonpath='{.spec.loadBalancerSourceRanges}' $ kubectl describe svc ``` Then match the symptom: | Symptom | Cause | Fix | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | | `:` times out from your machine, the load balancer works | expected: only the load balancer may reach the NodePort from outside | test through the load balancer address, or from a pod in the cluster | | the NodePort answers any source, though `loadBalancerSourceRanges` has entries | the restriction is off and every entry has a leading or trailing space, so Cilium skips them all | remove the spaces | | the NodePort answers any source | the Service has `load-balancer.hetzner.cloud/restrict-node-port-source: "false"` or `service.cilium.io/src-ranges-policy: deny` | remove the annotation if the NodePort should be limited | | the load balancer marks every target unhealthy after you set your own ranges | the restriction is off and your own entries leave out the load balancer's address | add the load balancer's IPv4 as a `/32`, or turn the restriction back on | | changing the Service type is rejected | the API server allows `loadBalancerSourceRanges` only on `type: LoadBalancer` Services | remove `loadBalancerSourceRanges` in the same request, or opt out first and wait until the CCM has removed its entries | ## A proxy port on a node is not reachable A proxy that serves on a node's own ports rather than through a Service is judged by the host firewall. If requests from outside time out, look at what the node dropped. Run this in the Cilium agent on the node that should answer: ```console $ kubectl -n kube-system exec -- cilium-dbg monitor --type drop ``` Running `hubble observe --verdict DROPPED` in the same pod shows the same drops. Two drop lines matter here: ``` drop (Policy denied) ... identity world->unknown: -> :443 tcp SYN drop (Policy denied) ... identity remote-node->unknown: 192.168.2.66 -> :443 tcp SYN ``` The first means there is no host rule for that port. The second means a rule exists but does not allow `remote-node`, so requests forwarded from another node are dropped while direct ones succeed. Its source is the forwarding node's internal address, not its public IP, so do not look for a node IP there. See [Expose a reverse proxy without a load balancer](/docs/hetzner/apalla/network/expose/reverse-proxy-without-a-load-balancer). ## When it is a node-level problem If several Services on the same node misbehave, or an entire node's traffic is affected, the Service is not the problem. Stop tracing the Service and debug the node. - [Debug node networking](/docs/hetzner/apalla/network/debug/debug-node-networking) - [Diagnose pod DNS resolution](/docs/hetzner/apalla/network/debug/diagnose-pod-dns-resolution) - [Ports and listeners](/docs/hetzner/apalla/security/ports-and-listeners) - [Support questions](/support/troubleshoot)