-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
--extra-config=apiserver.authorization-mode=RBAC causes minikube start to hang: unknown flag: --Authorization.Mode #2798
Comments
I ran into this same issue after upgrading to v0.26.1. This workaround fixed it for me: |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
This issue is still present in last release v28.2 . IS it possible to fix it? |
+1 |
In fact the flag --extra-config=apiserver.Authorization.Mode=RBAC is no longuer valide after version v25.2. IMHO it would have been preferable to deprecated the old flag before to make it unusable. |
Yes, with v0.28.2 it will fail with the wrong key for the RBAC setting. "E0912 14:25:08.682389 43508 start.go:300] Error starting cluster: kubeadm init error" Value key must be lowercase with a dash, very important! A subtle difference for those who are going too fast and do not notice this slight syntactic change. Older sites and blogs still have the old setting and can easily be copied to a recent version of Minikube and cause confusion. |
kubernetes/minikube#2798 (comment) suggest a change of API for starting the minikube
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Obsolete: documentation was updated, RBAC is default. |
The documentation at:
Says:
But this causes Minikube to hang.
The API server no longer accepts that command line argument:
The text was updated successfully, but these errors were encountered: