Skip to content

Commit 8263a33

Browse files
authored
Merge pull request #26179 from tengqm/zh-sync-kubelet
[zh] Resync kubelet reference
2 parents d1b2709 + f74837b commit 8263a33

File tree

1 file changed

+9
-8
lines changed
  • content/zh/docs/reference/command-line-tools-reference

1 file changed

+9
-8
lines changed

content/zh/docs/reference/command-line-tools-reference/kubelet.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -691,10 +691,11 @@ If > `0`, limit event creations per second to this value. If `0`, unlimited.
691691
<tr>
692692
<td></td><td style="line-height: 130%; word-wrap: break-word;">
693693
<!--
694-
A set of eviction thresholds (e.g. `memory.available<1Gi`) that if met would trigger a pod eviction. (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.)
694+
A set of eviction thresholds (e.g. `memory.available<1Gi`) that if met would trigger a pod eviction. On a Linux node, the default value also includes `nodefs.inodesFree<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.)
695695
-->
696696
触发 Pod 驱逐操作的一组硬性门限(例如:<code>memory.available&lt;1Gi</code>
697-
(内存可用值小于 1 G))设置。
697+
(内存可用值小于 1 G))设置。在 Linux 节点上,默认值还包括
698+
<code>nodefs.inodesFree<5%</code>。
698699
已弃用:应在 <code>--config</code> 所给的配置文件中进行设置。
699700
(<a href="https://kubernetes.io/zh/docs/tasks/administer-cluster/kubelet-config-file/">进一步了解</a>)
700701
</td>
@@ -1375,12 +1376,12 @@ QPS to use while talking with kubernetes apiserver. (DEPRECATED: This parameter
13751376
<tr>
13761377
<td></td><td style="line-height: 130%; word-wrap: break-word;">
13771378
<!--
1378-
A set of `<resource name>=<resource quantity>` (e.g. `cpu=200m,memory=500Mi,ephemeral-storage=1Gi`) pairs that describe resources reserved for kubernetes system components. Currently `cpu`, `memory` and local `ephemeral-storage` for root file system are supported. See http://kubernetes.io/docs/user-guide/compute-resources for more detail. (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.)
1379+
A set of `<resource name>=<resource quantity>` (e.g. `cpu=200m,memory=500Mi,ephemeral-storage=1Gi,pid='100'`) pairs that describe resources reserved for kubernetes system components. Currently `cpu`, `memory` and local `ephemeral-storage` for root file system are supported. See http://kubernetes.io/docs/user-guide/compute-resources for more detail. (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.)
13791380
-->
13801381
kubernetes 系统预留的资源配置,以一组 <code>资源名称=资源数量</code> 格式表示。
1381-
(例如:<code>cpu=200m,memory=500Mi,ephemeral-storage=1Gi</code>)。
1382+
(例如:<code>cpu=200m,memory=500Mi,ephemeral-storage=1Gi,pid='100'</code>)。
13821383
当前支持 <code>cpu</code>、<code>memory</code> 和用于根文件系统的 <code>ephemeral-storage</code>。
1383-
请参阅<a href="http://kubernetes.io/zh/docs/user-guide/compute-resources/">相关文档</a>获取更多信息。
1384+
请参阅<a href="http://kubernetes.io/zh/docs/concepts/configuration/manage-resources-containers/">相关文档</a>获取更多信息。
13841385
已弃用:应在 <code>--config</code> 所给的配置文件中进行设置。
13851386
(<a href="https://kubernetes.io/zh/docs/tasks/administer-cluster/kubelet-config-file/">进一步了解</a>)
13861387
</td>
@@ -2282,13 +2283,13 @@ Optional absolute name of cgroups in which to place all non-kernel processes tha
22822283
<tr>
22832284
<td></td><td style="line-height: 130%; word-wrap: break-word;">
22842285
<!--
2285-
A set of `<resource name>=<resource quantity>` (e.g. `cpu=200m,memory=500Mi,ephemeral-storage=1Gi`) pairs that describe resources reserved for non-kubernetes components. Currently only `cpu` and `memory` are supported. See http://kubernetes.io/docs/user-guide/compute-resources for more detail. (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.)
2286+
A set of `<resource name>=<resource quantity>` (e.g. `cpu=200m,memory=500Mi,ephemeral-storage=1Gi,pid='100'`) pairs that describe resources reserved for non-kubernetes components. Currently only `cpu` and `memory` are supported. See http://kubernetes.io/docs/user-guide/compute-resources for more detail. (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.)
22862287
-->
22872288
系统预留的资源配置,以一组 <code>资源名称=资源数量</code> 的格式表示,
2288-
(例如:<code>cpu=200m,memory=500Mi,ephemeral-storage=1Gi</code>)。
2289+
(例如:<code>cpu=200m,memory=500Mi,ephemeral-storage=1Gi,pid='100'</code>)。
22892290
目前仅支持 <code>cpu</code> 和 <code>memory</code> 的设置。
22902291
更多细节可参考
2291-
<a href="http://kubernetes.io/docs/user-guide/compute-resources/">相关文档</a>。
2292+
<a href="http://kubernetes.io/zh/docs/concepts/configuration/manage-resources-containers/">相关文档</a>。
22922293
已弃用:应在 <code>--config</code> 所给的配置文件中进行设置。
22932294
(<a href="https://kubernetes.io/zh/docs/tasks/administer-cluster/kubelet-config-file/">进一步了解</a>)
22942295
</td>

0 commit comments

Comments
 (0)