using kubectl or kubernetes api to fetch external ip of a service

Viewed 2533

Folks, Is there an easier method to grab the external ip address of a service in Kubernetes, than to parsing the output of a kubectl output?

kubectl get services/foo --namespace=foo -o json

Thanks!

2 Answers
Related