Search code examples
kuberneteskubernetes-dashboardk8s-serviceaccount

Cant create k8s dashboard service account


enter image description here

I followed this tutorial https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md However, after finished all steps, i stll cant see any account while using kubectl get secreats command.


Solution

  • you should be using below command to list the service accounts

    kubectl get sa -n <namespace>