Skip to content

Instantly share code, notes, and snippets.

@F21
Last active October 23, 2022 12:36
Show Gist options
  • Star 46 You must be signed in to star a gist
  • Fork 10 You must be signed in to fork a gist
  • Save F21/08bfc2e3592bed1e931ec40b8d2ab6f5 to your computer and use it in GitHub Desktop.
Save F21/08bfc2e3592bed1e931ec40b8d2ab6f5 to your computer and use it in GitHub Desktop.
Minikube RBAC Quick Start
minikube start --kubernetes-version=v1.7.0 --extra-config=apiserver.Authorization.Mode=RBAC
kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default
minikube dashboard
@abhaybhargav
Copy link

I was able to get it to work with this. The --bootstrapper option seems to be required when you are running it with --vm-driver=none

minikube start --vm-driver=none --bootstrapper=kubeadm --extra-config=apiserver.authorization-mode=RBAC

@jd7612952
Copy link

thanks! very helpful!

@navono
Copy link

navono commented Dec 16, 2018

It's work! thank you!

@dchucks
Copy link

dchucks commented Sep 10, 2019

Fantastic, thanks.

@landlockedboat
Copy link

👍

@sajrahman
Copy link

It still works..!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment