<p>It seems I have a very common problem but I cannot figure it out.</p>

<p>On a new kubernetes cluster (v1.17) I'm trying to install Kubernetes-dashboard.</p>

<p>For this I followed the official steps, starting by installing the dashboard :</p>

<pre><code>kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-rc5/aio/deploy/recommended.yaml
</code></pre>

<p>Then I created the ServiceAccount</p>

<pre><code>apiVersion: v1
kind: ServiceAccount
metadata:
  name: admin-user
  namespace: kubernetes-dashboard
</code></pre>

<p>And the ClusterRoleBinding</p>

<pre><code>apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: admin-user
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
- kind: ServiceAccount
  name: admin-user
  namespace: kubernetes-dashboard
</code></pre>

<p>Everything is running smoothly and all the objets get created (I can get them and everything looks alright)</p>

<p>After running <code>kubectl proxy</code> the dashboard is accessible at this URL :</p>

<pre><code>http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/
</code></pre>

<p>Then I enter the token I got with this command :</p>

<pre><code>kubectl -n kubernetes-dashboard describe secret $(kubectl -n kubernetes-dashboard get secret | grep admin-user-token | awk '{print $1}')
</code></pre>

<p>I can login, but the dashboard is empty. The notifications panel is full of </p>

<blockquote>
  <p>[OBJECT] is forbidden: User "system:serviceaccount:kubernetes-dashboard:admin-user" cannot list resource "[OBJECT]" in API group "extensions" in the namespace "default"</p>
</blockquote>

<p><em>Replace [OBJECT] with every kubernetes object and you have a good overview of my notifications panel ;)</em></p>

<p>The admin-user has obviously not enough rights to access the objects.</p>

<p><strong>Questions</strong></p>

<ul>
<li>Did I miss something ?</li>
<li>How can I debug this situation ?</li>
</ul>

<p>Thank you for your help !</p>

<p><strong>Edit:</strong> That was an outage from my cloud provider. I don't know what happened nor how they solved it but they did something and everything is working now.</p>

DBCL
<p>role binding give this error? </p>

<p>The ClusterRoleBinding "kubernetes-dashboard" is invalid: roleRef: Invalid value: rbac.RoleRef{APIGroup:"rbac.authorization.k8s.io", Kind:"ClusterRole", Name:"cluster-admin"}: cannot change roleRef</p>
