1

I'm trying to setup a kubernetes dashboard in a test environment on AWS. I am able use the token from one of the default service accounts to login to the dashboard only to get all kinds of errors.

default dashboard with errors

This is after I gave the account cluster admin role

rbac code snippet

Because the kubernetes dashboard and the cluster in different namespaces (kubernetes-dashboard vs kube-system), I thought that was the issue. However, same messages when change namespaces:

kubernetes dashboard namespace

Same with the Kube-system namespace:

kube-system namespace

I then decided to create a new account called admin-user and gave it the cluster-admin role

rbac for admin-user

I try to login after getting the secret for this account, and I get 404 error:

404 error

I believe that is related to using kubectl proxy to connect to the cluster. Any suggestions on how to move forward?

Michael Hampton
  • 237,123
  • 42
  • 477
  • 940
Will R
  • 11
  • 1
  • check [this answer](https://stackoverflow.com/a/49992698/9929015) works like a charm.. – Vit Sep 06 '21 at 09:56

0 Answers0