https://github.com/nattatorn-dev/k8s-dashboard
https://github.com/nattatorn-dev/k8s-dashboard
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nattatorn-dev/k8s-dashboard
- Owner: nattatorn-dev
- Created: 2019-02-07T19:19:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-07T19:30:32.000Z (over 6 years ago)
- Last Synced: 2025-03-29T05:38:06.803Z (about 2 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## create serviceaccount
```
$ kubectl create serviceaccount cluster-admin-dashboard
$ kubectl create clusterrolebinding cluster-admin-dashboard \
--clusterrole=cluster-admin \
--serviceaccount=default:cluster-admin-dashboard
```### Copy the token from the generated secret
```
$ kubectl get secret | grep cluster-admin-dashboard
cluster-admin-dashboard-token-6xm8l kubernetes.io/service-account-token 3 18m
$ kubectl describe secret cluster-admin-dashboard-token-tqqr8
```