Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minikube fails when using rbac and kubeadm as bootstrapper #2040

Closed
MansM opened this issue Oct 7, 2017 · 4 comments
Closed

minikube fails when using rbac and kubeadm as bootstrapper #2040

MansM opened this issue Oct 7, 2017 · 4 comments
Labels
co/kubeadm Issues relating to kubeadm kind/bug Categorizes issue or PR as related to a bug.

Comments

@MansM
Copy link

MansM commented Oct 7, 2017

minikube start --kubernetes-version v1.8.0 --bootstrapper kubeadm --extra-config=apiserver.Authorization.Mode=RBAC
Starting local Kubernetes v1.8.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components..

after like half an hour still waiting

minikube version: v0.22.3
macOS Sierra
virtualbox: 5.1.28-117968

cat ~/.minikube/config/config.json
{
"WantReportError": true,
"cpus": 4,
"dashboard": true,
"ingress": true,
"memory": 6144,
"registry": false
}

@r2d4
Copy link
Contributor

r2d4 commented Oct 7, 2017

RBAC is enabled in the kubeadm bootstrapper by default, so you should be able to do a

minikube delete
minikube start --bootstrapper kubeadm --kubernetes-version v1.8.0

If you start with --v 10 and --logtostderr you might see why it fails, although it shouldn't hang.

Once I write documentation for #2034 it should be more clear that the kubeadm bootstrapper takes a different form for the --extra-config flag.

@r2d4 r2d4 added co/kubeadm Issues relating to kubeadm kind/bug Categorizes issue or PR as related to a bug. labels Oct 7, 2017
@MansM
Copy link
Author

MansM commented Oct 8, 2017

also noticed that helm charts with pvc's fail as no volume gets created

@r2d4
Copy link
Contributor

r2d4 commented Oct 8, 2017

There is no dynamic provisioning in the kubeadm bootstrapper yet

@r2d4
Copy link
Contributor

r2d4 commented Oct 12, 2017

Fixed with #2037

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/kubeadm Issues relating to kubeadm kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants