Closed stychu closed 7 years ago
You have no privileges to deploy Dashboard. It is not a Dashboard issue, because you will not be able to deploy any other RBAC definition. Read more at https://kubernetes.io/docs/admin/authorization/.
Also after deleting secrets and dashboard its self recreating without any secrets and this is little bothering me.
Your addon manager does that. By default GCE used 1.6.3 where secret was not a part of Dashboard deployment.
You have no privileges to deploy Dashboard. It is not a Dashboard issue, because you will not be able to deploy any other RBAC definition. Read more at https://kubernetes.io/docs/admin/authorization/.
How do i put the RBAC role for gke cluster
Environment
Steps to reproduce
Run the command
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
Observed result
Expected result
Successfult deploy
Comments
I recently had some access problems mentioned with #2522 and those were caused byt this kubectl apply. Yesterday I've deleted the dashboard secrets and dashboard itself and I was able to access the dashboard via
kubectl proxy
. Todays morning im runningkubectl proxy
and trying to access the dashboard on localhost:8001/ui and i got blank whie page.(yesterday was accessible). Trying to accesshttp://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
also results in blank page BUT accessinghttp://localhost:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy/#!/deployment?namespace=default
brings up the dashboard.This is right behaviour ? Should I leave this like it is and just hit this link
http://localhost:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy/#!/deployment?namespace=default
?? Also after deleting secrets and dashboard its self recreating without any secrets and this is little bothering me. Should I bother?kubectl describe secret kubernetes-dashboard-certs -n kube-system
Error from server (NotFound): secrets "kubernetes-dashboard-certs" not found
And why there is thatforrbiden
error? Am i missing something ?