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
Fix docs - enabling RBAC for minikube #862
Conversation
also remove `kubernetes-version` to use always latest k8s
|
Thank you for the submission @jwerak . |
|
Hold on with this. I'll explain shortly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this PR!
I suspect you were using the localkube bootstrapper. It has fallen out of favor and is being deprecated in favor of kubeadm. The instructions in the README work well with kubeadm but won't work with localkube.
You probably hit the same issue as this person: kubernetes/minikube#2040
When using kubeadm, RBAC is on by default. To make matters confusing, kubeadm takes different options to --extra-config, and it fails if you try to enable RBAC the way you would with localkube.
kubeadm does allow you to specify any recent version of kubernetes, unlike localkube.
In sum, I think if there is an improvement to make for this README, it would be to clarify that kubeadm should be used as the bootstrapper.
|
@mhrivnak Do you have a link to how to use the |
|
Found it 😎 , |
|
@mhrivnak Thanks, I've had no idea about custom bootstrap in minikube, good to know, thanks 👍 I've tested following is working for me now: Should I keep the version with version or without? |
I like making it clear that setting the version is an option, and I recommend doing so as a normal practice. TL;DR it seems worth setting the version explicitly to get a consistent and reliable experience. But maybe that should be called out in the documentation more directly. Does that make sense? What do you think? |
|
@mhrivnak consistent and reliable makes sense to me too, new commit has landed. |
README.md
Outdated
| @@ -217,5 +217,5 @@ make help | |||
| ``` | |||
|
|
|||
| # License | |||
|
|
|||
| git@github.com:prgcont/workshop-ASB.git | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this line intended to be here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ups, little advertisement can't hurt they say.
Sorry for that.
It's gone now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to @mhrivnak comments
ae10515
to
e0ac31c
Compare
Describe what this PR does and why we need it:
Updates documentation for starting minikube:
Changes proposed in this pull request
only docs changes above
Does this PR depend on another PR (Use this to track when PRs should be merged)
no
Which issue this PR fixes (This will close that issue when PR gets merged)
none