-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
kubeadm - improve api config documentation #69575
Merged
k8s-ci-robot
merged 1 commit into
kubernetes:master
from
fabriziopandini:Kubeadm-api-doc
Oct 10, 2018
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
i think we should still include the previous text about what command supports what types?
this was a confusing part for users.
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.
This is done at the beginning of chapters for kubeadm init and kubeadm join.
Please note that kubeadm join considers only JoinConfiguration (kubeadm reads from the cluster KubeProxyConfiguration and KubeletConfiguration, but the user doesn't have to provide them via config file)
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.
i was wondering about this.
so in a case someone wants to provide a custom KubeletConfiguration for a worker node, can they still include KubeletConfiguration next to their JoinConfiguration separated with ---?
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.
No
KubeletConfiguration can be used only for cluster wide kubelet settings and it is processed only by kubeadm init.
If you want to customize kubelet configuration on a node basis you can use kubelet extra args into the joinconfiguration.noderegistration object.
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.
one problem with the kubelet extra args is that some of them (most of them?) are being deprecated in favor of the kubelet config file usage.
would that leave us in a situation where worker nodes cannot customize the kubelet configuration?
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.
This PR focuses on documenting v1alpha3, so this is out of scope.
But if there is a plan for flag deprecation, what you are saying should be definitely included in v1beta1 redesign.
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.
yes, this is outside of the context of this PR,
100%