kuberneteskubernetes-dashboard

Kubernetes Dashboard not show admin token


I installed kubernetes according to this manual + containerd, installed the kubernetes dashboard according to this manual and created service account for this manual, but when I try to look at the token, the console does not display it.

enter image description here


Solution

  • kubernetes: 1.24.0

    dashboard: 2.6.0

    Manually create a service account API token.

    https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md