A cloud LB Service is stuck in `<pending>` for EXTERNAL-IP. What do you check?
AdvancedScenarioServices, Ingress and DNS
Answer
Situation read → A LoadBalancer Service never receives an address on EKS.
What I'd do →
kubectl describe svcand read Events for controller errors- Check the AWS Load Balancer Controller logs:
kubectl -n kube-system logs deploy/aws-load-balancer-controller - Verify IAM permissions via IRSA or Pod Identity
- Verify subnet tags (
kubernetes.io/role/elb) and cluster tag - Check service quotas for NLBs or Elastic IPs
Why → Something outside Kubernetes (IAM, subnets, quota) is almost always the blocker, and the event on the Service tells you which.
Interview tip → Mention testing on bare metal: you need MetalLB for LoadBalancer.
More on Services, Ingress and DNS
A Service has no endpoints. How do you find out why?BeginnerWhen do you use ClusterIP, NodePort, LoadBalancer and ExternalName?BeginnerTraffic to a Service works from some pods but times out from others. How do you debug it?AdvancedYou want to expose three HTTP services under one hostname with different paths. How?Intermediateingress-nginx returns 404 for a new host. What do you check?Intermediateingress-nginx returns 502 or 503 intermittently. What are the likely reasons?Intermediate