mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-30 01:05:37 +00:00
8 lines
322 B
Plaintext
8 lines
322 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
kubectl -n kube-system get secret $(kubectl -n kube-system get secret | grep eks-admin | awk '{print $1}') -o json | jq -j --raw-output '.data.token' | base64 --decode | pbcopy
|
||
|
|
||
|
open http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#!/login
|
||
|
|
||
|
kubectl proxy
|