Skip to content

Instantly share code, notes, and snippets.

@yunghoy
Created February 22, 2018 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yunghoy/a3ac24517eee36efba99537917b08332 to your computer and use it in GitHub Desktop.
Save yunghoy/a3ac24517eee36efba99537917b08332 to your computer and use it in GitHub Desktop.
https://github.com/kubernetes/dashboard
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
$ kubectl -n kube-system describe secrets `kubectl -n kube-system get secrets | awk '/clusterrole-aggregation-controller/ {print $1}'` | awk '/token:/ {print $2}'
$ kubectl proxy
$ kubectl get svc -n kube-system
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kube-dns ClusterIP 10.96.0.10 <none> 53/UDP,53/TCP 39m
kubernetes-dashboard ClusterIP xxx.xxx.xxx.xxxx <none> 443/TCP 31m
https://xxx.xxx.xxx.xxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment