<p>I am working on a mac machine and installed the latest Kubernetes and followed the <a href="https://medium.com/@claudiopro/getting-started-with-kubernetes-via-minikube-ada8c7a29620#.xfrpcgv50" rel="nofollow">example here</a> (this is for dev’t purpose). All went smooth but I was hoping that Kubernetes provide me an ip address and port number where my service will be listening to so that I can access it from anywhere. </p>

<p>Please correct me if I am wrong. </p>

<p>I was able to run <code>ifconfig</code> as well as <code>curl $(minikube service hello-minikube --url)</code> and I was able to see the ip address and port but I wasn’t able to access it outside command line where Kubernetes lives in.</p>

<p>The reason I am trying to access it outside the VM is because we have other projects that run on other machines and I wanted to call the REST service I installed while we are on dev env. This way we don’t have to wait until the service is pushed to production. </p>

<p>FYI: This is my first micro service project and I would appericiate your feedback.</p>

<p>I followed the steps in the article you linked and it works as expected.</p>

<p>Just do:</p>

<pre><code>minikube service hello-minikube --url
</code></pre>

<p>You will get a url like <code>http://192.168.99.100:32382/</code> - the port and IP could and will change for you. Also note that the exposed port will be a random port like the <code>32382</code> and not <code>8080</code> that the pod uses.</p>

<p>Use the url in your browser, say and you should be able to see the output of the service.</p>
