[zh] Sync tasks pages for reserve-compute-resources.md
* Sync with english version in 'Explicitly specify kubernetes system daemons in doc(#27249)' Signed-off-by: ydFu <ader.ydfu@gmail.com>
This commit is contained in:
parent
248606110f
commit
da8012d684
|
@ -160,20 +160,21 @@ kubernetes 系统守护进程记述其资源预留值。
|
||||||
kubernetes 系统守护进程预留指定数量的进程 ID。
|
kubernetes 系统守护进程预留指定数量的进程 ID。
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
To optionally enforce `kube-reserved` on system daemons, specify the parent
|
To optionally enforce `kube-reserved` on kubernetes system daemons, specify the parent
|
||||||
control group for kube daemons as the value for `--kube-reserved-cgroup` kubelet
|
control group for kube daemons as the value for `--kube-reserved-cgroup` kubelet
|
||||||
flag.
|
flag.
|
||||||
|
|
||||||
It is recommended that the kubernetes system daemons are placed under a top
|
It is recommended that the kubernetes system daemons are placed under a top
|
||||||
level control group (`runtime.slice` on systemd machines for example). Each
|
level control group (`runtime.slice` on systemd machines for example). Each
|
||||||
system daemon should ideally run within its own child control group. Refer to
|
system daemon should ideally run within its own child control group. Refer to
|
||||||
[this doc](https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md#recommended-cgroups-setup)
|
[this
|
||||||
|
doc](https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md#recommended-cgroups-setup)
|
||||||
for more details on recommended control group hierarchy.
|
for more details on recommended control group hierarchy.
|
||||||
|
|
||||||
Note that Kubelet **does not** create `--kube-reserved-cgroup` if it doesn't
|
Note that Kubelet **does not** create `--kube-reserved-cgroup` if it doesn't
|
||||||
exist. Kubelet will fail if an invalid cgroup is specified.
|
exist. Kubelet will fail if an invalid cgroup is specified.
|
||||||
-->
|
-->
|
||||||
要选择性地对系统守护进程上执行 `kube-reserved` 保护,需要把 kubelet 的
|
要选择性地对 kubernetes 系统守护进程上执行 `kube-reserved` 保护,需要把 kubelet 的
|
||||||
`--kube-reserved-cgroup` 标志的值设置为 kube 守护进程的父控制组。
|
`--kube-reserved-cgroup` 标志的值设置为 kube 守护进程的父控制组。
|
||||||
|
|
||||||
推荐将 kubernetes 系统守护进程放置于顶级控制组之下(例如 systemd 机器上的
|
推荐将 kubernetes 系统守护进程放置于顶级控制组之下(例如 systemd 机器上的
|
||||||
|
|
Loading…
Reference in New Issue