External-IP shows Pending (Kubernetes)

I have deployed the svc on Lab servers but "External-IP" shows PENDING.

kubectl expose deployment spring-boot-postgres-sample --type=LoadBalancer --port=8080.

I tried to change --TYPE but no luck.

Any suggestions?


  • post-author-pic
    Michael M


    It looks like the issue that you are seeing is related to the setting of 'load balancer' in your service.
    If you have installed a standalone kubernetes installation that is not on a cloud provider you would need to provision and configure an ingress to expose the service to an outside ip address.

Looking For Team Training?

Learn More