Troubleshooting


This article covers common issues you may encounter with load balancers in Kubernetes and how to resolve them.

Failed to Obtain IP
Copy link

If a load balancer fails to obtain an external IP address during creation, the following annotation will appear in the service:

k8s.hostman.com/attached-loadbalancer-ensuring-error: true

This means something went wrong while binding the external IP. In this case, we recommend recreating the load balancer or contacting technical support.

How to check:

  1. List all services of type LoadBalancer in the cluster:
kubectl get svc --all-namespaces --field-selector spec.type=LoadBalancer
  1. View the annotations of the desired service:
kubectl describe svc <service-name> -n <namespace>
  1. If the output contains the following annotation, recreate the load balancer or contact support and provide your cluster ID.
k8s.hostman.com/attached-loadbalancer-ensuring-error: true