service external ip pending kubernetes

AATHITH RAJENDRAN picture AATHITH RAJENDRAN · Dec 12, 2018 · Viewed 8k times · Source

Why service external IP address is in a pending state?

Should I enable any load balancer for my kubernetes master?

I'm using kubernetes on digital ocean cloud.

enter image description here

Answer

Samrat Priyadarshi picture Samrat Priyadarshi · Dec 12, 2018

To provision Load Balancer or Persistent Volumes in Cloud, Kubernetes uses Cloud controller Manager. Follow this guide to know more: Kubernetes Cloud Controller Manager

It might happen that at the time of setting up your cluster you did not specified any Cloud controller to use that is why it is getting in pending state.

After configuring a Cloud controller Manager you should be able to provision Load Balancer and see External IP.

Also this answer here might help: Kubernetes External Load Balancer Service on DigitalOcean