Skip to content

Instantly share code, notes, and snippets.

@TheYkk
Last active June 5, 2019 11:38
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 TheYkk/2572bc8f14b7bdf4d9f8a1ac764f7d5e to your computer and use it in GitHub Desktop.
Save TheYkk/2572bc8f14b7bdf4d9f8a1ac764f7d5e to your computer and use it in GitHub Desktop.
kubectl create clusterrolebinding kubernetes-dashboard --clusterrole=cluster-admin --serviceaccount=kube-system:kubernetes-dashboard
kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment