-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
update doc for kubelet option --reserved-cpus #17622
Conversation
Welcome @jianzzha! |
/milestone 1.17 |
@jianzzha: You must be a member of the kubernetes/website-milestone-maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your Website milestone maintainers and have them propose you as an additional delegate for this responsibility. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Deploy preview for kubernetes-io-master-staging ready! Built with commit ff05a40 https://deploy-preview-17622--kubernetes-io-master-staging.netlify.com |
@@ -1024,6 +1024,13 @@ kubelet [flags] | |||
<td></td><td style="line-height: 130%; word-wrap: break-word;">If > 0, limit registry pull QPS to this value. If 0, unlimited. (default 5) (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)</td> | |||
</tr> | |||
|
|||
<tr> | |||
<td colspan="2">--reserved-cpus string</td> | |||
</tr> |
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.
Hello @jianzzha . You should make this change in the kubelet cmd line code (k8s/k8s).
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.
@kbhawkey thanks, this file is reverted.
`--system-reserved` options. CPUs reserved by these options are taken, in | ||
`--system-reserved` options. From 1.17, the CPU reservation list can be specified | ||
explictly by kubelet --resevered-cpus option. The explicit CPU list specified by | ||
--resevered-cpus will take precedence over the CPU reservation specified by |
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.
two typos: resevered -> reserved
defined by `--kube-reserved` and `--system-reserved` options. | ||
|
||
This option is specifically designed for Telco/NFV use cases where uncontrolled | ||
interrupts/timers may impact the work load performance. Users may use this option |
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.
work load -> workload
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.
Here are some comments & suggestions based on the website style guide
`--system-reserved` options. CPUs reserved by these options are taken, in | ||
`--system-reserved` options. From 1.17, the CPU reservation list can be specified | ||
explictly by kubelet --reserved-cpus option. The explicit CPU list specified by | ||
--reserved-cpus will take precedence over the CPU reservation specified by |
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.
nit
--reserved-cpus will take precedence over the CPU reservation specified by | |
--reserved-cpus takes precedence over the CPU reservation specified by |
|
||
|
||
`reserved-cpus` is meant to define an explict CPU set for OS system daemons and | ||
kubernetes system daemons. This option is added in 1.17 release. `reserved-cpus` |
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.
To declare a version where this is supported, could you use a feature-state shortcode instead (eg on line 150)?
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.
added. check if it is what's expected
defined by `--kube-reserved` and `--system-reserved` options. | ||
|
||
This option is specifically designed for Telco/NFV use cases where uncontrolled | ||
interrupts/timers may impact the workload performance. Users may use this option |
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.
nit
interrupts/timers may impact the workload performance. Users may use this option | |
interrupts/timers may impact the workload performance. You can use this option |
workloads, with less impact from uncontrolled interrupts/timers. To move the | ||
system daemon, kubernetes daemons and interrupts/timers to the explict cpuset | ||
defined by this option, other mechanism outside Kubernetes should be used. | ||
For example in Centos, tuned toolset can be used to achieve this. |
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.
nit
For example in Centos, tuned toolset can be used to achieve this. | |
For example: in CentOS, you can do this using the tuned toolset. |
@@ -259,4 +281,8 @@ for `kube-reserved` and `system-reserved`. | |||
As of Kubernetes version 1.8, the `storage` key name was changed to `ephemeral-storage` | |||
for the alpha release. | |||
|
|||
As of Kubernetes version 1.17, it has been possible to **optionally** specify |
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.
As of Kubernetes version 1.17, it has been possible to **optionally** specify | |
As of Kubernetes version 1.17, you can optionally specify |
Did you want this PR to target branch dev-1.17 instead BTW? |
|
As pointed out by @sftim, this PR is about a feature to be landed in 1.17, right? |
@jianzzha You may want to check this: https://git-scm.com/book/en/v2/Git-Branching-Rebasing Basically, the commands are:
|
This website update is for the new kubelet CLI option: kubernetes/kubernetes#83592