kubernetes service external ip pending

Shell
$ # if you're using minikube
$ minikube ip
$ 172.17.0.2 // then 
$ curl http://172.17.0.2:31245
or simply
$ curl http://$(minikube ip):31245

Source

Also in Shell: