title: Kubernetes Play Dashboard Access from Outside
body: <p>I wanted to learn Kubernetes using the Play with Kubernetes site but I seem to encounter some issue.
  Here is what I did.
  I created my kubernetes cluster by following the steps.</p>
  
  <p><a href="https://labs.play-with-k8s.com/p/bc3a57pk4ckg00bvdk70#bc3a57pk_bc3amn9k4ckg00bvdkv0" rel="nofollow noreferrer">https://labs.play-with-k8s.com/p/bc3a57pk4ckg00bvdk70#bc3a57pk_bc3amn9k4ckg00bvdkv0</a></p>
  
  <p>I had the following info with 1 master and 2 nodes</p>
  
  <pre><code>[node1 ~]$ kubectl cluster-info
  Kubernetes master is running at https://192.168.0.18:6443
  Heapster is running at https://192.168.0.18:6443/api/v1/namespaces/kube-system/services/heapster/proxy
  KubeDNS is running at https://192.168.0.18:6443/api/v1/namespaces/kube-system/services/kube-dns/proxy
  monitoring-influxdb is running at https://192.168.0.18:6443/api/v1/namespaces/kube-system/services/monitoring-influxdb/proxy
  </code></pre>
  
  <p>I then deploy my Dashboard using the following steps.</p>
  
  <pre><code>kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
  
  [node1 ~]$ kubectl -n kube-system get service kubernetes-dashboard
  NAME                   TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)   AGE
  kubernetes-dashboard   ClusterIP   10.98.185.58   &lt;none&gt;        443/TCP   58m
  </code></pre>
  
  <p>According to this issue <a href="https://github.com/play-with-docker/play-with-docker/issues/258" rel="nofollow noreferrer">https://github.com/play-with-docker/play-with-docker/issues/258</a>
  Dashboard port is no longer accessible in the UI</p>
  
  <p>Now, how can I access my dashboard from the outside?
  According to the FAQ here.. 
  <a href="https://github.com/play-with-docker/play-with-docker" rel="nofollow noreferrer">https://github.com/play-with-docker/play-with-docker</a></p>
  
  <pre><code>How can I connect to a published port from the outside world?
  If you need to access your services from outside, use the following URL pattern http://ip&lt;hyphen-ip&gt;-&lt;session_jd&gt;-&lt;port&gt;.direct.labs.play-with-docker.com (i.e: http://ip-2-135-3-b8ir6vbg5vr00095iil0-8080.direct.labs.play-with-docker.com).
  </code></pre>
  
  <p>Given my IP address</p>
  
  <pre><code>https://labs.play-with-k8s.com/p/bc3a57pk4ckg00bvdk70#bc3a57pk_bc3amn9k4ckg00bvdkv0
  
  I tried it with this but I am not successful in accessing the dashboard
  http://ip-192-168-0-18-bc3a57pk4ckg00bvdk70-8443.direct.labs.play-with-docker.com/
  </code></pre>
  
  <p>What did I do wrong or what I am missing?</p>
  
  <p>Tried everything in this <a href="https://stackoverflow.com/questions/46906977/running-dashboard-inside-play-with-kubernetes">Running dashboard inside play-with-kubernetes</a>
  Nothing is successful</p>
  
  <p>Any hints?</p>