Cant create k8s dashboard service account

153 Views Asked by At

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.

1

There are 1 best solutions below

2
On BEST ANSWER

you should be using below command to list the service accounts

kubectl get sa -n <namespace>