Expose port in minikube
<p>In minikube, how to expose a service using nodeport ?</p>

<p>For example, I start a kubernetes cluster using the following command and create and expose a port like this:</p>

<pre><code>$ minikube start
$ kubectl run hello-minikube --image=gcr.io/google_containers/echoserver:1.4 --port=8080
$ kubectl expose deployment hello-minikube --type=NodePort
$ curl $(minikube service hello-minikube --url)
CLIENT VALUES:
client_address=192.168.99.1
command=GET
real path=/ ....
</code></pre>

<p>Now how to access the exposed service from the host? I guess the minikube node needs to be configured to expose this port as well. </p>