External ip is none after expose my service

12/3/2015

I do exactly with the kubernetes url.

But the last step I can't get the external ip with the cmd: kubectl get svc nginx.

root@XXX:~# kubectl expose rc nginx --port=80
service "nginx" exposed

root@in28-051:~# kubectl get svc nginx
NAME      CLUSTER_IP   EXTERNAL_IP   PORT(S)   SELECTOR    AGE
nginx     10.0.0.109   <none>        80/TCP    run=nginx   5m
-- yunfan
kubernetes

1 Answer

2/2/2016

https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/services.md#type-loadbalancer

starts with:

"On cloud providers which support external load balancers..."

I agree we should better document which cloud providers do support this. I'll file an issue.

-- briangrant
Source: StackOverflow