Interview Prep/Kubernetes/Services, Ingress and DNS

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 →

  1. kubectl describe svc and read Events for controller errors
  2. Check the AWS Load Balancer Controller logs: kubectl -n kube-system logs deploy/aws-load-balancer-controller
  3. Verify IAM permissions via IRSA or Pod Identity
  4. Verify subnet tags (kubernetes.io/role/elb) and cluster tag
  5. 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.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Services, Ingress and DNS