Last active
January 21, 2022 10:20
-
-
Save timvw/3cde42f2e6ba4b559a789de93280cd35 to your computer and use it in GitHub Desktop.
Get token for k8s dashboard http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/login
This file contains 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 get secret -o json | \ | |
jq -r '.items[] | select(.metadata.name | startswith("deployment-controller-token")) | .data.token' | \ | |
base64 --decode | \ | |
pbcopy |
This file contains 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 get secret -o json | \ | |
jq -r '.items[] | select(.metadata.name | startswith("eks-admin-token")) | .data.token' | \ | |
base64 --decode | \ | |
pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment