<p>I have a problem with putting up kubernetes dashboard. It looks like it is only reaching pending status. I found information at events about the problem with freeing memory due to other images in the docker. I am looking for a solution, I cannot close the current images.</p>
<p>output:</p>
<pre class="lang-json prettyprint-override"><code>{
  &quot;kind&quot;: &quot;Status&quot;,
  &quot;apiVersion&quot;: &quot;v1&quot;,
  &quot;metadata&quot;: {
    
  },
  &quot;status&quot;: &quot;Failure&quot;,
  &quot;message&quot;: &quot;no endpoints available for service \&quot;kubernetes-dashboard\&quot;&quot;,
  &quot;reason&quot;: &quot;ServiceUnavailable&quot;,
  &quot;code&quot;: 503
}
</code></pre>
<p>pods:</p>
<pre><code>NAMESPACE              NAME                                         READY   STATUS    RESTARTS   AGE
kube-system            coredns-f9fd979d6-74xm2                      0/1     Pending   0          152m
kube-system            coredns-f9fd979d6-q68rg                      0/1     Pending   0          152m
kube-system            etcd-worker01                                1/1     Running   0          152m
kube-system            kube-apiserver-worker01                      1/1     Running   0          152m
kube-system            kube-controller-manager-worker01             1/1     Running   0          152m
kube-system            kube-flannel-ds-xhv8x                        1/1     Running   0          151m
kube-system            kube-proxy-htxxg                             1/1     Running   0          152m
kube-system            kube-scheduler-worker01                      1/1     Running   0          152m
kubernetes-dashboard   dashboard-metrics-scraper-7b59f7d4df-b9s6s   0/1     Pending   0          131m
kubernetes-dashboard   kubernetes-dashboard-665f4c5ff-md882         0/1     Pending   0          95m
kubernetes-dashboard   kubernetes-dashboard-74d688b6bc-rxh4w        0/1     Pending   0          131m
</code></pre>
<p>events:</p>
<pre><code>LAST SEEN   TYPE      REASON                 OBJECT          MESSAGE
7m54s       Warning   EvictionThresholdMet   node/worker01   Attempting to reclaim ephemeral-storage
2m52s       Warning   ImageGCFailed          node/worker01   (combined from similar events): wanted to free 29893186355 bytes, but freed 0 bytes space with errors in image deletion: [rpc error: code = Unknown desc = Error response from daemon: conflict: unable to delete b4e0de857ea7 (must be forced) - image is being used by stopped container 691fa8251b60, rpc error: code = Unknown desc = Error response from daemon: conflict: unable to delete 172a9481468c (must be forced) - image is being used by stopped container b9e69a358748,...
</code></pre>
<p>logs are empty.</p>

<p>Grant access to the dashbord by executing this URL:</p>
<pre><code>http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:https/proxy/
</code></pre>
<p>Notice this part:</p>
<pre><code>/https:kubernetes-dashboard:https/
</code></pre>
<p>Without adding the https it didn't work - you will always got <code>no endpoints available for service kubernetes-dashboard</code>.</p>
<p>See working link in the readme here: <a href="https://github.com/helm/charts/tree/master/stable/kubernetes-dashboard" rel="nofollow noreferrer">kubernetes-dashboard-issue-endpoints</a>.</p>
<p>Take a look: <a href="https://github.com/kubernetes/dashboard/issues/916" rel="nofollow noreferrer">dashboard-endpoints-issue</a><a href="https://stackoverflow.com/questions/52893111/no-endpoints-available-for-service-kubernetes-dashboard">endpoints-available-for-service-kubernetes-dashboard</a>, <a href="https://github.com/kubernetes/dashboard/issues/971" rel="nofollow noreferrer">dashboard-endpoints</a>, <a href="https://rtfm.co.ua/en/kubernetes-503-no-endpoints-available-for-service-the-cause-and-solution/" rel="nofollow noreferrer">kubernetes-503-no-endpoints-available</a>.</p>
