<p>I'm having a bit of hard time figuring out whether the Guestbook example is working in Minikube. My main issue is possibly that the example description <a href="https://github.com/kubernetes/kubernetes/tree/master/examples/guestbook" rel="nofollow">here</a> details all the steps but <em>there is no indication about how to connect to the web application</em> once it's running from the default YAML files.</p>

<p>I'm using Minikube v. <code>0.10.0</code> in Mac OS X 10.9.5 (Mavericks) and this is what I eventually ended up with (which seems pretty good according to what I read from the example document):</p>

<pre><code>PolePro:all-in-one poletti$ kubectl get svc
NAME           CLUSTER-IP   EXTERNAL-IP   PORT(S)    AGE
frontend       10.0.0.140   &lt;none&gt;        80/TCP     8s
kubernetes     10.0.0.1     &lt;none&gt;        443/TCP    2h
redis-master   10.0.0.165   &lt;none&gt;        6379/TCP   53m
redis-slave    10.0.0.220   &lt;none&gt;        6379/TCP   37m

PolePro:all-in-one poletti$ kubectl get deployments
NAME           DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
frontend       3         3         3            3           20s
redis-master   1         1         1            1           42m
redis-slave    2         2         2            2           37m

PolePro:all-in-one poletti$ kubectl get pods
NAME                            READY     STATUS    RESTARTS   AGE
frontend-708336848-0h2zj        1/1       Running   0          29s
frontend-708336848-ds8pn        1/1       Running   0          29s
frontend-708336848-v8wp9        1/1       Running   0          29s
redis-master-2093957696-or5iu   1/1       Running   0          43m
redis-slave-109403812-12k68     1/1       Running   0          37m
redis-slave-109403812-c7zmo     1/1       Running   0          37m
</code></pre>

<p>I thought that I might connect to <code>http://10.0.0.140:80/</code> (i.e. the <code>frontend</code> address and port as returned by <code>kubectl get svc</code> above) and see the application running, but I'm getting a <code>Connection refused</code>:</p>

<pre><code>PolePro:all-in-one poletti$ curl -v http://10.0.0.140:80
* About to connect() to 10.0.0.140 port 80 (#0)
*   Trying 10.0.0.140...
* Adding handle: conn: 0x7fb0f9803a00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fb0f9803a00) send_pipe: 1, recv_pipe: 0
* Failed connect to 10.0.0.140:80; Connection refused
* Closing connection 0
curl: (7) Failed connect to 10.0.0.140:80; Connection refused
</code></pre>

<p>It's somehow suspicious that the example description misses such an important step though. What am I missing?</p>

<p>Quick and dirty:
<code>
kubectl port-forward frontend-708336848-0h2zj  80:80
</code></p>
