-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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 example for customizing the control plane with scheduler flags #27900
Conversation
Deploy preview for kubernetes-io-master-staging ready! Built with commit c7ed3bc https://deploy-preview-27900--kubernetes-io-master-staging.netlify.app |
content/en/docs/setup/production-environment/tools/kubeadm/control-plane-flags.md
Outdated
Show resolved
Hide resolved
/sig cluster-lifecycle |
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.
The flags.md change looks good. But there is also a api-ref-generator change in the diff. Not sure why is that?
Signed-off-by: wangyysde <net_use@bzhy.com>
Thanks. Maybe that is that I have built and run wesite with make container-image and make container-serve commands in website root directory. Now I have cloned the website from github and redone it. Could you review it again? Thanks. |
thank you |
LGTM label has been added. Git tree hash: 850d7f448965bf6e8496d98fa6e8c79ede6470b0
|
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: savitharaghunathan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: wangyysde net_use@bzhy.com
The example at https://github.com/kubernetes/website/blob/master/content/en/docs/setup/production-environment/tools/kubeadm/control-plane-flags.md#scheduler-flags shows scheduler.extraArgs.config in the ClusterConfiguration being used without scheduler.extraVolumes. But kubeadm sets up the scheduler to run inside a pod, it is necessary to use scheduler.extraVolumes to mount the config file into the pod.
kubeconfig in the original example is simillar to config. If we keep this item in the sample, we should add more lines into the extraVolumes section. For the sake of simplicity, I use feature-gates instead of kubeconfig.
Fix: #27816