Kubernetes service stays in pending state Kubernetes service stays in pending state kubernetes kubernetes

Kubernetes service stays in pending state


To retrieve external ip for your application in Kubernetes Cluster you have to use cloud provider like Google Kubernetes Engine or Amazon Web Services.

Please check:https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#external-load-balancer-providers

Otherwise you can use Type NodePort and in that case Kubernetes master will allocate a port from a range specified by --service-node-port-range flag (default: 30000-32767), and each Node will proxy that port (the same port number on every Node) into your Service.

For detailed information: https://kubernetes.io/docs/concepts/services-networking/service/#nodeport


In a second terminal, run the command:

minikube tunnel

restart your service and you should see the EXTERNAL-IP populated