Skip to content

Commit 4d223c5

Browse files
authored
Merge pull request #41214 from Zhuzhenghao/1.27/kubelet
[zh] 1.27 resync page kubelet
2 parents 3bd7565 + eaa8ce9 commit 4d223c5

File tree

1 file changed

+16
-16
lines changed
  • content/zh-cn/docs/reference/command-line-tools-reference

1 file changed

+16
-16
lines changed

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ kubelet 用来提供服务的 IP 地址(设置为 <code>0.0.0.0</code> 或 <co
8181
<tr>
8282
<td></td><td style="line-height: 130%; word-wrap: break-word;">
8383
<!--
84-
Comma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in <code>*</code>). Use these at your own risk. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's <code>--config</code> flag. See <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> for more information.)
84+
Comma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in <code>&ast;</code>). Use these at your own risk. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's <code>--config</code> flag. See <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> for more information.)
8585
-->
86-
用逗号分隔的字符串序列设置允许使用的非安全的 sysctls 或 sysctl 模式(以 <code>*</code> 结尾)。
86+
用逗号分隔的字符串序列设置允许使用的非安全的 sysctls 或 sysctl 模式(以 <code>&ast;</code> 结尾)。
8787
使用此参数时风险自担。(已弃用:应在 <code>--config</code> 所给的配置文件中进行设置。
8888
请参阅 <a href="https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> 了解更多信息。)
8989
</td>
@@ -110,7 +110,7 @@ Enables anonymous requests to the Kubelet server. Requests that are not rejected
110110
<tr>
111111
<td></td><td style="line-height: 130%; word-wrap: break-word;">
112112
<!--
113-
Use the TokenReview API to determine authentication for bearer tokens. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's <code>--config</code> flag. See <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> for more information.)
113+
Use the <code>TokenReview</code> API to determine authentication for bearer tokens. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's <code>--config</code> flag. See <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> for more information.)
114114
-->
115115
使用 <code>TokenReview</code> API 对持有者令牌进行身份认证。
116116
(已弃用:应在 <code>--config</code> 所给的配置文件中进行设置。
@@ -267,10 +267,10 @@ Enable creation of QoS cgroup hierarchy, if true top level QoS and pod cgroups a
267267
<tr>
268268
<td></td><td style="line-height: 130%; word-wrap: break-word;">
269269
<!--
270-
If set, any request presenting a client certificate signed by one of the authorities in the client-ca-file is authenticated with an identity corresponding to the CommonName of the client certificate. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's <code>--config</code> flag. See <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> for more information.)
270+
If set, any request presenting a client certificate signed by one of the authorities in the client-ca-file is authenticated with an identity corresponding to the <code>CommonName</code> of the client certificate. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's <code>--config</code> flag. See <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> for more information.)
271271
-->
272272
如果设置了此参数,则使用对应文件中机构之一检查请求中所携带的客户端证书。
273-
若客户端证书通过身份认证,则其对应身份为其证书中所设置的 CommonName。
273+
若客户端证书通过身份认证,则其对应身份为其证书中所设置的 <code>CommonName</code>
274274
(已弃用:应在 <code>--config</code> 所给的配置文件中进行设置。
275275
请参阅 <a href="https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> 了解更多信息。)
276276
</td>
@@ -309,10 +309,10 @@ The provider for cloud services. Set to empty string for running with no cloud p
309309
<tr>
310310
<td></td><td style="line-height: 130%; word-wrap: break-word;">
311311
<!--
312-
Comma-separated list of DNS server IP address. This value is used for containers DNS server in case of Pods with "dnsPolicy=ClusterFirst". Note: all DNS servers appearing in the list MUST serve the same set of records otherwise name resolution within the cluster may not work correctly. There is no guarantee as to which DNS server may be contacted for name resolution. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's <code>--config</code> flag. See <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> for more information.)
312+
Comma-separated list of DNS server IP address. This value is used for containers DNS server in case of Pods with "dnsPolicy=ClusterFirst".<br/><B>Note:</B>: all DNS servers appearing in the list MUST serve the same set of records otherwise name resolution within the cluster may not work correctly. There is no guarantee as to which DNS server may be contacted for name resolution. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's <code>--config</code> flag. See <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> for more information.)
313313
-->
314314
DNS 服务器的 IP 地址,以逗号分隔。此标志值用于 Pod 中设置了 “<code>dnsPolicy=ClusterFirst</code>”
315-
时为容器提供 DNS 服务。注意:列表中出现的所有 DNS 服务器必须包含相同的记录组,
315+
时为容器提供 DNS 服务。<br/><B>注意:</B>:列表中出现的所有 DNS 服务器必须包含相同的记录组,
316316
否则集群中的名称解析可能无法正常工作。至于名称解析过程中会牵涉到哪些 DNS 服务器,
317317
这一点无法保证。
318318
<code>--config</code> 时,默认值为 <code>Webhook</code>。
@@ -455,7 +455,7 @@ Sets CPU CFS quota period value, <code>cpu.cfs_period_us</code>, defaults to Lin
455455
</tr>
456456

457457
<tr>
458-
<td colspan="2">--cpu-manager-policy string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:<code>none</code></td>
458+
<td colspan="2">--cpu-manager-policy string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!-- Default: -->默认值:<code>none</code></td>
459459
</tr>
460460
<tr>
461461
<td></td><td style="line-height: 130%; word-wrap: break-word;">
@@ -559,36 +559,36 @@ A comma separated list of levels of node allocatable enforcement to be enforced
559559
</tr>
560560

561561
<tr>
562-
<td colspan="2">--event-burst int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!-- Default: 10-->默认值:10</td>
562+
<td colspan="2">--event-burst int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!-- Default: 10-->默认值:100</td>
563563
</tr>
564564
<tr>
565565
<td></td><td style="line-height: 130%; word-wrap: break-word;">
566566
<!--
567-
Maximum size of a bursty event records, temporarily allows event records to burst to this number, while still not exceeding <code>--event-qps</code>. The number must be &gt;= 0. If 0 will use default burst (10). (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's <code>--config</code> flag. See <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> for more information.)
567+
Maximum size of a bursty event records, temporarily allows event records to burst to this number, while still not exceeding <code>--event-qps</code>. The number must be &gt;= 0. If 0 will use default burst (100). (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's <code>--config</code> flag. See <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> for more information.)
568568
-->
569569
事件记录的个数的突发峰值上限,在遵从 <code>--event-qps</code> 阈值约束的前提下
570-
临时允许事件记录达到此数目。该数字必须大于等于 0。如果为 0,则使用默认突发值(10)。
570+
临时允许事件记录达到此数目。该数字必须大于等于 0。如果为 0,则使用默认突发值(100)。
571571
(已弃用:应在 <code>--config</code> 所给的配置文件中进行设置。
572572
请参阅 <a href="https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> 了解更多信息。)
573573
</td>
574574
</tr>
575575

576576
<tr>
577-
<td colspan="2">--event-qps int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 5-->默认值:5</td>
577+
<td colspan="2">--event-qps int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 5-->默认值:50</td>
578578
</tr>
579579
<tr>
580580
<td></td><td style="line-height: 130%; word-wrap: break-word;">
581581
<!--
582-
QPS to limit event creations. The number must be &gt;= 0. If 0 will use default QPS (5). (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's <code>--config</code> flag. See <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> for more information.)
582+
QPS to limit event creations. The number must be &gt;= 0. If 0 will use default QPS (50). (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's <code>--config</code> flag. See <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> for more information.)
583583
-->
584-
QPS 用于限制事件创建的速率。该数字必须大于等于 0。如果为 0,则使用默认 QPS 值(5)。
584+
QPS 用于限制事件创建的速率。该数字必须大于等于 0。如果为 0,则使用默认 QPS 值(50)。
585585
(已弃用:应在 <code>--config</code> 所给的配置文件中进行设置。
586586
请参阅 <a href="https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/kubelet-config-file/">kubelet-config-file</a> 了解更多信息。)
587587
</td>
588588
</tr>
589589

590590
<tr>
591-
<td colspan="2">--eviction-hard string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: <code>imagefs.available<15%,memory.available<100Mi,nodefs.available<10%</code>-->默认值:<code>imagefs.available&lt;15%,memory.available&lt;100Mi,nodefs.available&lt;10%</code></td>
591+
<td colspan="2">--eviction-hard strings&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: <code>imagefs.available<15%,memory.available<100Mi,nodefs.available<10%</code>-->默认值:<code>imagefs.available&lt;15%,memory.available&lt;100Mi,nodefs.available&lt;10%</code></td>
592592
</tr>
593593
<tr>
594594
<td></td><td style="line-height: 130%; word-wrap: break-word;">
@@ -695,7 +695,7 @@ Whether kubelet should exit upon lock-file contention.
695695
<tr>
696696
<td></td><td style="line-height: 130%; word-wrap: break-word;">
697697
<!--
698-
When set to <code>true</code>, Hard eviction thresholds will be ignored while calculating node allocatable. See https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/ for more details. (DEPRECATED: will be removed in 1.24 or later)
698+
When set to <code>true</code>, hard eviction thresholds will be ignored while calculating node allocatable. See <a href="https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/">here</a> for more details. (DEPRECATED: will be removed in 1.24 or later)
699699
-->
700700
设置为 <code>true</code> 表示在计算节点可分配资源数量时忽略硬性逐出阈值设置。
701701
参考<a href="https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/">

0 commit comments

Comments
 (0)