Tuesday, January 15, 2019

AWS EKS - elb in pending state

## ELB Error ( in pending state)
Error creating load balancer (will retry): failed to ensure load balancer for service default/hellopankajgautam:

Solution: Tagging required for VPC/Subnets and private
https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html

"kubernetes.io/cluster/${var.product}-${var.env}-${var.cluster_name}" = "shared"
"kubernetes.io/role/internal-elb" = "1"

in my experience so far - the only time elb is in pending state -
    if there not tagging available as mentioned above
    or there is no ips left
    or if there is any soft limit errors