My Service has no external IP or drops traffic. What now?
When a Kubernetes Service external IP stays <pending> on Hetzner, the Hetzner cloud-controller-manager (CCM) has not created the load balancer. Syself Autopilot runs the CCM in every cluster, and it creates a Hetzner Load Balancer for each type: LoadBalancer Service. A short <pending> right after you create the Service is normal. If it stays, the events at the bottom of this output say why:
kubectl describe svc <name>
Check these causes first:
- A load balancer annotation has a value in the wrong format.
- The Hetzner Cloud API token is missing, wrong or read-only. It is in the
hetznersecret you created when you connected your Hetzner account. If you changed the token recently, see What is the safe procedure for rotating Hetzner credentials? - On a cluster with bare-metal nodes, also check the Robot user and password in the same secret.
If the Service has an IP but traffic does not arrive:
- PROXY protocol is on at the load balancer but not in the backend, or the reverse. Both sides must match. See Why do my pods see the load balancer IP instead of the client IP?
- A NetworkPolicy or CiliumNetworkPolicy drops the traffic. Hubble shows the drop and the reason.
- No ready pod matches the Service's selector.
For each of these cases, work through Troubleshoot load balancers and service traffic. If requests stall only when a node goes away, see Why does the Hetzner LB go red or requests stall when one node goes down?
Related questions
