mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 19:40:14 +00:00
some convenience bins
This commit is contained in:
7
bin/kube-dashboard
Executable file
7
bin/kube-dashboard
Executable file
@ -0,0 +1,7 @@
|
||||
#!/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
|
Reference in New Issue
Block a user