title: using kubectl or kubernetes api to fetch external ip of a service
body: <p>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?</p>
  
  <p><code>kubectl get services/foo --namespace=foo -o json</code></p>
  
  <p>Thanks!</p>