Created
July 8, 2019 15:27
-
-
Save vishnuhd/35f435aa732cafb9aca2203107dbee2c to your computer and use it in GitHub Desktop.
Command to get token to login into the K8s Dashboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl -n kube-system describe secrets \ | |
`kubectl -n kube-system get secrets | awk '/clusterrole-aggregation-controller/ {print $1}'` \ | |
| awk '/token:/ {print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment