mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 09:55:37 +00:00
update kube dashboard
This commit is contained in:
parent
8ee9112de9
commit
2d579893c0
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/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
|
kubectl -n kube-system get secret $(kubectl -n kube-system get secret | grep dashboard-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
|
open http://localhost:8001/api/v1/namespaces/default/services/https:kubernetes-dashboard:https/proxy/#!/login
|
||||||
|
|
||||||
kubectl proxy
|
kubectl proxy
|
||||||
|
Loading…
Reference in New Issue
Block a user