minikube start --extra-config='apiserver.authorization-mode=Node,RBAC' --memory 4096
kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default
kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller --upgrade
helm repo add coreos https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/
helm install coreos/prometheus-operator --name prometheus-operator --namespace monitoring
helm install coreos/kube-prometheus --name kube-prometheus --namespace monitoring
Last active
February 4, 2020 20:47
-
-
Save avoidik/a968deaa22d7cffc1cd3672f8390255f to your computer and use it in GitHub Desktop.
k8s on minikube with RBAC and monitoring
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There was a change in Minikube that is subtle. --extra-config=apiserver.authorization-mode=RBAC
Lowercase with a dash.