some convenience bins

This commit is contained in:
Noah Masur
2020-08-05 23:16:39 -04:00
parent 70c624c0f5
commit 53bfe1d301
4 changed files with 17 additions and 0 deletions

7
bin/kube-dashboard Executable file
View 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