title: How to find the url of a service in kubernetes?
body: <p>I have a local kubernetes cluster on my local docker desktop.</p>
  <p>This is how my kubernetes service looks like when I do a <code>kubectl describe service</code></p>
  <pre><code>Name:              helloworldsvc
  Namespace:         test
  Labels:            app=helloworldsvc
  Annotations:       kubectl.kubernetes.io/last-applied-configuration:
                       {&quot;apiVersion&quot;:&quot;v1&quot;,&quot;kind&quot;:&quot;Service&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;labels&quot;:{&quot;app&quot;:&quot;helloworldsvc&quot;},&quot;name&quot;:&quot;helloworldsvc&quot;,&quot;namespace&quot;:&quot;test...
  Selector:          app=helloworldapp
  Type:              ClusterIP
  IP:                10.108.182.240
  Port:              http  9111/TCP
  TargetPort:        80/TCP
  Endpoints:         10.1.0.28:80
  Session Affinity:  None
  Events:            &lt;none&gt;
  </code></pre>
  <p>This service is pointing to a deployment with a web app.</p>
  <p>My question how to I find the url for this service?
  I already tried http://localhost:9111/ and that did not work.</p>
  <p>I verified that the pod that this service points to is up and running.</p>