<p>I follow this docs <code>https://cloud.google.com/container-engine/docs/tutorials/guestbook</code> to created a Guestbook on GCE. And everything works fine.</p>

<p>But when I try to access kube-ui. I am totally confused.</p>

<p>first</p>

<pre><code>≥ kubectl get svc                                                                                                                        14:29
NAME           LABELS                                    SELECTOR            IP(S)            PORT(S)
frontend       name=frontend                             name=frontend       10.191.254.236   80/TCP
                                                                             146.148.x.x    
kubernetes     component=apiserver,provider=kubernetes   &lt;none&gt;              10.191.240.1     443/TCP
redis-master   name=redis-master                         name=redis-master   10.191.253.125   6379/TCP
redis-slave    name=redis-slave                          name=redis-slave    10.191.254.248   6379/TCP
</code></pre>

<p>I can access my guestbook by 146.148.x.x;
But I can't access web-ui through this ip.
So I think this is not the master IP of my GCE. Then I execute this:</p>

<pre><code>≥ kubectl get endpoints                                                                                                                  14:33
NAME           ENDPOINTS
frontend       10.188.0.6:80,10.188.0.7:80,10.188.2.4:80 + 2 more...
kubernetes     104.197.x.x:443
redis-master   10.188.2.7:6379
redis-slave    10.188.0.8:6379,10.188.2.3:6379
</code></pre>

<p>Now, I got another IP, and I try to access kube-ui through this IP.
I can get response from the server. But It will need Authtication.</p>

<p>How can I get access to the kube-ui?</p>

<p>Never mind, I got it</p>

<pre><code>gcloud container clusters describe CLUSTER-NAME
</code></pre>

<p>contains username and password!</p>
