title: Unable to get kubernetes dashboard up and running
body: <p>I am trying to install multi-node kubernetes setup for the first time with following versions: </p>
  
  <blockquote>
    <p>KUBE_VERSION=1.4.0, FLANNEL_VERSION=0.5.0, ETCD_VERSION=2.2.0</p>
  </blockquote>
  
  <p>My setup has :  2 nodes and 1 master + node.  All these nodes (in my case are VMs) are running Ubuntu 14.04 with 1 GB RAM and 25 GB hardisk.</p>
  
  <p>I have followed the below link to carry out the installation </p>
  
  <blockquote>
    <p><a href="http://kubernetes.io/docs/getting-started-guides/ubuntu/" rel="nofollow">http://kubernetes.io/docs/getting-started-guides/ubuntu/</a></p>
  </blockquote>
  
  <p>Once I was able to get the cluster up (verified using <code>kubectl get cs)</code>, I tried running <code>KUBERNETES_PROVIDER=ubuntu ./deployAddons.sh</code> to install the dns and ui addons.</p>
  
  <p>Following is the output of the command:</p>
  
  <pre><code>&gt; Deploying DNS on Kubernetes replicationcontroller "kube-dns-v20"
  &gt; created service "kube-dns" created Kube-dns rc and service is
  &gt; successfully deployed.
  &gt; 
  &gt; Creating Kubernetes Dashboard replicationController
  &gt; replicationcontroller "kubernetes-dashboard-v1.4.0" created Creating
  &gt; Kubernetes Dashboard service service "kubernetes-dashboard" created
  </code></pre>
  
  <p>However when trying to access the dashboard using the url <a href="http://master-ip:8080/ui" rel="nofollow">http://master-ip:8080/ui</a> , i get the below message</p>
  
  <pre><code>{
    "kind": "Status",
    "apiVersion": "v1",
    "metadata": {},
    "status": "Failure",
    "message": "no endpoints available for service \"kubernetes-dashboard\"",
    "reason": "ServiceUnavailable",
    "code": 503
  }
  </code></pre>
  
  <p>I saw my pods being stuck in the below state:</p>
  
  <pre><code>kube-dns-v20-nskvk                  1/3       CrashLoopBackOff   18         
  kubernetes-dashboard-v1.4.0-4py1m   0/1       CrashLoopBackOff   10         
  </code></pre>
  
  <p>Following is the log of my dashboard pod</p>
  
  <pre><code>&gt;  kubectl logs kubernetes-dashboard-v1.4.0-4py1m  -n kube-system
  &gt; Starting HTTP server on port 9090 Creating API server client for
  &gt; https://192.168.3.1:443 Error while initializing connection to
  &gt; Kubernetes apiserver. This most likely means that the cluster is
  &gt; misconfigured (e.g., it has invalid apiserver certificates or service
  &gt; accounts configuration) or the --apiserver-host param points to a
  &gt; server that does not exist. Reason: the server has asked for the
  &gt; client to provide credentials
  </code></pre>
  
  <p>Following is the output of my services</p>
  
  <pre><code>kubectl get svc -n kube-system
  NAME                   CLUSTER-IP      EXTERNAL-IP   PORT(S)         
  kube-dns               192.168.3.10    &lt;none&gt;        53/UDP,53/TCP   
  kubernetes-dashboard   192.168.3.229   &lt;none&gt;        80/TCP          
  
  kubectl get svc 
  kubernetes   192.168.3.1   &lt;none&gt;        443/TCP   
  </code></pre>
  
  <p>I have seen lot of issues related to dashboard however was not able to get any solution , I am not sure how to proceed further,any pointer could be of great help</p>