Service of type LoadBalancer in AWS is in pending state.

Solution Verified - Updated -

Issue

  • After creating a service of type LoadBalancer it stays in a pending state.
 NAME         TYPE          CLUSTER-IP       EXTERNAL-IP                    PORT(S)                  AGE     SELECTOR
  xyz        LoadBalancer     172.x.x.x         <pending>          31010:31168/TCP,9047:32275/TCP     2d16h   app=xyz
Events:
  Type    Reason                Age                    From                Message
  ----    ------                ----                   ----                -------
  Normal  EnsuringLoadBalancer  2m19s (x211 over 17h)  service-controller  Ensuring load balancer

Environment

  • OpenShift Container Platform
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content