<p>I am <strong>completely new</strong> to Kubernetes, so go easy on me.</p>

<p>I am running <code>kubectl proxy</code> but am only seeing the JSON output.  Based on <a href="https://github.com/kubernetes/dashboard/issues/2011" rel="nofollow noreferrer">this discussion</a> I attempted to set the memory limits by running:</p>

<pre><code>kubectl edit deployment kubernetes-dashboard --namespace kube-system
</code></pre>

<p>I then changed the container memory limit:</p>

<pre><code>apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  ...
spec:
  ...
  template:
    metadata:
    ...
  spec:
    containers:
    - image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.8.1
      imagePullPolicy: IfNotPresent
      livenessProbe:
        ...
      name: kubernetes-dashboard
      ports:
      - containerPort: 9090
        protocol: TCP 
      resources:
        limits:
          memory: 1Gi
</code></pre>

<p>I still only get the JSON served when I save that and visit <a href="http://127.0.0.1:8001/ui" rel="nofollow noreferrer">http://127.0.0.1:8001/ui</a></p>

<p>Running <code>kubectl logs --namespace kube-system kubernetes-dashboard-665756d87d-jssd8</code> I see the following:</p>

<pre><code>Starting overwatch
Using in-cluster config to connect to apiserver
Using service account token for csrf signing
No request provided. Skipping authorization
Successful initial request to the apiserver, version: v1.10.0
Generating JWE encryption key
New synchronizer has been registered: kubernetes-dashboard-key-holder-kube-system. Starting
Starting secret synchronizer for kubernetes-dashboard-key-holder in namespace kube-system
Initializing JWE encryption key from synchronized object
Creating in-cluster Heapster client
Metric client health check failed: the server could not find the requested resource (get services heapster). Retrying in 30 seconds.
Serving insecurely on HTTP port: 9090
</code></pre>

<p>I read through a bunch of links from a <a href="https://www.google.com/search?q=Metric%20client%20health%20check%20failed%3A%20the%20server%20could%20not%20find%20the%20requested%20resource%20(get%20services%20heapster).%20Retrying%20in%2030%20seconds.&amp;oq=Metric%20client%20health%20check%20failed%3A%20the%20server%20could%20not%20find%20the%20requested%20resource%20(get%20services%20heapster).%20Retrying%20in%2030%20seconds.&amp;aqs=chrome..69i57.214j0j7&amp;sourceid=chrome&amp;ie=UTF-8" rel="nofollow noreferrer">Google search</a> on the error but nothing really worked.  </p>

<p>Key components are:</p>

<ul>
<li><strong>Local</strong>:  Ubuntu 18.04 LTS</li>
<li><strong>minikube</strong>: v0.28.0</li>
<li><strong>Kubernetes Dashboard</strong>: 1.8.3</li>
</ul>

<p>Installed via:</p>

<pre><code>kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
</code></pre>

<p>Halp!</p>

<p>Have you considered using the minikube dashboard? You can reach it by:</p>

<pre><code>minikube dashboard
</code></pre>

<p>Also you will get json on <a href="http://127.0.0.1:8001/ui" rel="nofollow noreferrer">http://127.0.0.1:8001/ui</a> because it is deprecated, so you have to use full proxy URL as it states in the dashboard github <a href="https://github.com/kubernetes/dashboard" rel="nofollow noreferrer">page</a>.</p>

<p>If you still want to use this 'external' dashboard for some future not minikube related projects or there is some other reason I don't know about you can reach it by:</p>

<pre><code>kubectl proxy
</code></pre>

<p>and then: 
 <a href="http://localhost:8001/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/" rel="nofollow noreferrer">http://localhost:8001/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/</a></p>

<ul>
<li>note that in the documentation it is <code>https</code> which is not correct in this case (might be documentation error or it might be clarified in the <a href="https://github.com/kubernetes/dashboard/wiki/Accessing-dashboard" rel="nofollow noreferrer">documentation</a> part which I suggest you read if you need further information on web UI).</li>
</ul>

<p>Hope this helps.</p>
