Home > Mobile >  EXTERNAL-IP is <none> in Kubernetes service
EXTERNAL-IP is <none> in Kubernetes service

Time:09-17

I followed these instructions to deploy a Dask cluster on Kubernetes/Minikube with Helm. I installed and the deployed with the following command:

 helm install dask-chart dask/dask

Running kubectl get services I see the scheduler, however the EXTERNAL-IP is none and I cannot connect to the scheduler:

NAME                   TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)           AGE
dask-chart-scheduler   ClusterIP   10.107.222.251   <none>        8786/TCP,80/TCP   36m

What could be wrong here?

UPDATE

It's not only Dask, all the services have EXTERNAL-IP = none. I restarted Minikube but same problem persists.

CodePudding user response:

It is expected behavior if you use the service as ClusterIP. The meaning of ClusterIP is to let the service be accessible within the cluster. You should refer to this section from the official doc about the definition of ClusterIP, https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types.

If you want to use the tunnel, you need to first set the service as LoadBalancer. Inside the minikube documentation, you can check out the full tutorial how you can access the apps inside the cluster, https://minikube.sigs.k8s.io/docs/handbook/accessing/#using-minikube-tunnel.

  • Related