Skip to content

Commit fb5451e

Browse files
authored
Merge pull request #40954 from Zhuzhenghao/kubelet-config.v1beta1
[zh] resync page kubelet-config.v1beta1
2 parents a1fdec2 + b54432c commit fb5451e

File tree

1 file changed

+76
-27
lines changed

1 file changed

+76
-27
lines changed

content/zh-cn/docs/reference/config-api/kubelet-config.v1beta1.md

Lines changed: 76 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -387,11 +387,11 @@ Default: 10
387387
<td>
388388
<!--eventRecordQPS is the maximum event creations per second. If 0, there
389389
is no limit enforced. The value cannot be a negative number.
390-
Default: 5
390+
Default: 50
391391
-->
392392
<p><code>eventRecordQPS</code>设置每秒钟可创建的事件个数上限。如果此值为 0,
393393
则表示没有限制。此值不能设置为负数。</p>
394-
<p>默认值:5</p>
394+
<p>默认值:50</p>
395395
</td>
396396
</tr>
397397

@@ -404,12 +404,12 @@ eventBurst is the maximum size of a burst of event creations, temporarily
404404
allows event creations to burst to this number, while still not exceeding
405405
eventRecordQPS. This field canot be a negative number and it is only used
406406
when eventRecordQPS &gt; 0.
407-
Default: 10
407+
Default: 100
408408
-->
409409
<p><code>eventBurst</code>是突发性事件创建的上限值,允许事件创建临时上升到所指定数量,
410410
不过仍然不超过<code>eventRecordQPS</code>所设置的约束。此值必须是非负值,
411411
且只有<code>eventRecordQPS</code> &gt; 0 时才会使用此设置。</p>
412-
<p>默认值:10</p>
412+
<p>默认值:100</p>
413413
</td>
414414
</tr>
415415

@@ -434,10 +434,10 @@ Default: true
434434
</td>
435435
<td>
436436
<!--
437-
enableContentionProfiling enables lock contention profiling, if enableDebuggingHandlers is true.
437+
<p>enableContentionProfiling enables block profiling, if enableDebuggingHandlers is true
438438
Default: false
439439
-->
440-
<p><code>enableContentionProfiling</code>用于启用锁竞争性能分析
440+
<p><code>enableContentionProfiling</code>用于启用阻塞性能分析
441441
仅用于<code>enableDebuggingHandlers</code>为<code>true</code>的场合。</p>
442442
<p>默认值:false</code>
443443
</td>
@@ -804,8 +804,7 @@ resources;</li>
804804
<li><code>single-numa-node</code>: kubelet only allows pods with a single NUMA alignment
805805
of CPU and device resources.</li>
806806
</ul>
807-
<p>Policies other than &quot;none&quot; require the TopologyManager feature gate to be enabled.
808-
Default: &quot;none&quot;</p>
807+
<p>Default: &quot;none&quot;</p>
809808
-->
810809
<p><code>topologyManagerPolicy</code>是要使用的拓扑管理器策略名称。合法值包括:</p>
811810
<ul>
@@ -814,7 +813,6 @@ Default: &quot;none&quot;</p>
814813
<li><code>none</code>:kubelet 不了解 Pod CPU 和设备资源 NUMA 对齐需求。</li>
815814
<li><code>single-numa-node</code>:kubelet 仅允许在 CPU 和设备资源上对齐到同一 NUMA 节点的 Pod。</li>
816815
</ul>
817-
<p>如果策略不是 &quot;none&quot;,则要求启用<code>TopologyManager</code>特性门控。</p>
818816
<p>默认值:&quot;none&quot;</p>
819817
</td>
820818
</tr>
@@ -830,16 +828,14 @@ that topology manager requests and hint providers generate. Valid values include
830828
<li><code>container</code>: topology policy is applied on a per-container basis.</li>
831829
<li><code>pod</code>: topology policy is applied on a per-pod basis.</li>
832830
</ul>
833-
<p>&quot;pod&quot; scope requires the TopologyManager feature gate to be enabled.
834-
Default: &quot;container&quot;</p>
831+
<p>Default: &quot;container&quot;</p>
835832
-->
836833
<p><code>topologyManagerScope</code>代表的是拓扑提示生成的范围,
837834
拓扑提示信息由提示提供者生成,提供给拓扑管理器。合法值包括:</p>
838835
<ul>
839836
<li><code>container</code>:拓扑策略是按每个容器来实施的。</li>
840837
<li><code>pod</code>:拓扑策略是按每个 Pod 来实施的。</li>
841838
</ul>
842-
<p>&quot;pod&quot; 范围要求启用<code>TopologyManager</code>特性门控。</p>
843839
<p>默认值:&quot;container&quot;</p>
844840
</td>
845841
</tr>
@@ -1066,10 +1062,10 @@ Default: &quot;application/vnd.kubernetes.protobuf&quot;
10661062
</td>
10671063
<td>
10681064
<!--kubeAPIQPS is the QPS to use while talking with kubernetes apiserver.
1069-
Default: 5
1065+
Default: 50
10701066
-->
10711067
<p><code>kubeAPIQPS</code>设置与 Kubernetes API 服务器通信时要使用的 QPS(每秒查询数)。</p>
1072-
<p>默认值:5</p>
1068+
<p>默认值:50</p>
10731069
</td>
10741070
</tr>
10751071

@@ -1079,11 +1075,11 @@ Default: 5
10791075
<td>
10801076
<!--kubeAPIBurst is the burst to allow while talking with kubernetes API server.
10811077
This field cannot be a negative number.
1082-
Default: 10
1078+
Default: 100
10831079
-->
10841080
<p><code>kubeAPIBurst</code>设置与 Kubernetes API 服务器通信时突发的流量级别。
10851081
此字段取值不可以是负数。</p>
1086-
<p>默认值:10</p>
1082+
<p>默认值:100</p>
10871083
</td>
10881084
</tr>
10891085

@@ -1092,8 +1088,8 @@ Default: 10
10921088
</td>
10931089
<td>
10941090
<!--serializeImagePulls when enabled, tells the Kubelet to pull images one
1095-
at a time. We recommend &lowast;not&lowast; changing the default value on nodes that
1096-
run docker daemon with version < 1.9 or an Aufs storage backend.
1091+
at a time. We recommend <em>not</em> changing the default value on nodes that
1092+
run docker daemon with version &lt; 1.9 or an Aufs storage backend.
10971093
Issue #10959 has more details.
10981094
Default: true
10991095
-->
@@ -1104,6 +1100,21 @@ Default: true
11041100
</td>
11051101
</tr>
11061102

1103+
<tr><td><code>maxParallelImagePulls</code><br/>
1104+
<code>int32</code>
1105+
</td>
1106+
<td>
1107+
<!--MaxParallelImagePulls sets the maximum number of image pulls in parallel.
1108+
This field cannot be set if SerializeImagePulls is true.
1109+
Setting it to nil means no limit.
1110+
Default: nil
1111+
-->
1112+
<p>maxParallelImagePulls 设置并行拉取镜像的最大数量。
1113+
如果 serializeImagePulls 为 true,则无法设置此字段。
1114+
把它设置为 nil 意味着没有限制。</p>
1115+
<p>默认值:true</p>
1116+
</td>
1117+
</tr>
11071118
<tr><td><code>evictionHard</code><br/>
11081119
<code>map[string]string</code>
11091120
</td>
@@ -1482,13 +1493,13 @@ Default: &quot;&quot;
14821493
<td>
14831494
<!--systemReservedCgroup helps the kubelet identify absolute name of top level CGroup used
14841495
to enforce <code>systemReserved</code> compute resource reservation for OS system daemons.
1485-
Refer to <a href="https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md">Node Allocatable</a>
1496+
Refer to <a href="https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable">Node Allocatable</a>
14861497
doc for more information.
14871498
Default: &quot;&quot;
14881499
-->
14891500
<p><code>systemReservedCgroup</code>帮助 kubelet 识别用来为 OS 系统级守护进程实施
14901501
<code>systemReserved</code>计算资源预留时使用的顶级控制组(CGroup)。
1491-
参考 <a href="https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md">Node Allocatable</a>
1502+
参考 <a href="https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable">Node Allocatable</a>
14921503
以了解详细信息。</p>
14931504
<p>默认值:&quot;&quot;</p>
14941505
</td>
@@ -1501,13 +1512,13 @@ Default: &quot;&quot;
15011512
<td>
15021513
<!--kubeReservedCgroup helps the kubelet identify absolute name of top level CGroup used
15031514
to enforce <code>KubeReserved</code> compute resource reservation for Kubernetes node system daemons.
1504-
Refer to <a href="https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md">Node Allocatable</a>
1515+
Refer to <a href="https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable">Node Allocatable</a>
15051516
doc for more information.
15061517
Default: &quot;&quot;
15071518
-->
15081519
<p><code>kubeReservedCgroup</code> 帮助 kubelet 识别用来为 Kubernetes 节点系统级守护进程实施
15091520
<code>kubeReserved</code>计算资源预留时使用的顶级控制组(CGroup)。
1510-
参阅 <a href="https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md">Node Allocatable</a>
1521+
参阅 <a href="https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable">Node Allocatable</a>
15111522
了解进一步的信息。</p>
15121523
<p>默认值:&quot;&quot;</p>
15131524
</td>
@@ -1524,7 +1535,7 @@ If <code>none</code> is specified, no other options may be specified.
15241535
When <code>system-reserved</code> is in the list, systemReservedCgroup must be specified.
15251536
When <code>kube-reserved</code> is in the list, kubeReservedCgroup must be specified.
15261537
This field is supported only when <code>cgroupsPerQOS</code> is set to true.
1527-
Refer to <a href="https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md">Node Allocatable</a>
1538+
Refer to <a href="https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable">Node Allocatable</a>
15281539
for more information.
15291540
Default: [&quot;pods&quot;]
15301541
-->
@@ -1535,7 +1546,7 @@ Default: [&quot;pods&quot;]
15351546
<p>如果列表中包含<code>system-reserved</code>,则必须设置<code>systemReservedCgroup</code>。</p>
15361547
<p>如果列表中包含<code>kube-reserved</code>,则必须设置<code>kubeReservedCgroup</code>。</p>
15371548
<p>这个字段只有在<code>cgroupsPerQOS</code>被设置为<code>true</code>才被支持。</p>
1538-
<p>参阅<a href="https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md">Node Allocatable</a>
1549+
<p>参阅<a href="https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable">Node Allocatable</a>
15391550
了解进一步的信息。</p>
15401551
<p>默认值:[&quot;pods&quot;]</p>
15411552
</td>
@@ -1631,6 +1642,18 @@ Default: true
16311642
</td>
16321643
</tr>
16331644

1645+
<tr><td><code>enableSystemLogQuery</code><br/>
1646+
<code>bool</code>
1647+
</td>
1648+
<td>
1649+
<!--enableSystemLogQuery enables the node log query feature on the /logs endpoint.
1650+
EnableSystemLogHandler has to be enabled in addition for this feature to work.
1651+
-->
1652+
<p>enableSystemLogQuery 启用在 /logs 端点上的节点日志查询功能。
1653+
此外,还必须启用 enableSystemLogHandler 才能使此功能起作用。</p>
1654+
<p>默认值:false</p>
1655+
</td>
1656+
</tr>
16341657
<tr><td><code>shutdownGracePeriod</code><br/>
16351658
<a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a>
16361659
</td>
@@ -1821,7 +1844,7 @@ Default: 0.8
18211844
</tr>
18221845

18231846
<tr><td><code>registerWithTaints</code><br/>
1824-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#taint-v1-core"><code>[]core/v1.Taint</code></a>
1847+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#taint-v1-core"><code>[]core/v1.Taint</code></a>
18251848
</td>
18261849
<td>
18271850
<!--registerWithTaints are an array of taints to add to a node object when
@@ -1878,6 +1901,32 @@ Default: true -->
18781901
默认值:true</p>
18791902
</td>
18801903
</tr>
1904+
<tr><td><code>containerRuntimeEndpoint</code> <B>[必需]</B><br/>
1905+
<code>string</code>
1906+
</td>
1907+
<td>
1908+
<!--ContainerRuntimeEndpoint is the endpoint of container runtime.
1909+
Unix Domain Sockets are supported on Linux, while npipe and tcp endpoints are supported on Windows.
1910+
Examples:'unix:///path/to/runtime.sock', 'npipe:////./pipe/runtime'-->
1911+
<p>containerRuntimeEndpoint 是容器运行时的端点。
1912+
Linux 支持 UNIX 域套接字,而 Windows 支持命名管道和 TCP 端点。
1913+
示例:'unix://path/to/runtime.sock', 'npipe:////./pipe/runtime'。</p>
1914+
</td>
1915+
</tr>
1916+
<tr><td><code>imageServiceEndpoint</code><br/>
1917+
<code>string</code>
1918+
</td>
1919+
<td>
1920+
<!--ImageServiceEndpoint is the endpoint of container image service.
1921+
Unix Domain Socket are supported on Linux, while npipe and tcp endpoints are supported on Windows.
1922+
Examples:'unix:///path/to/runtime.sock', 'npipe:////./pipe/runtime'.
1923+
If not specified, the value in containerRuntimeEndpoint is used.-->
1924+
<p>imageServiceEndpoint 是容器镜像服务的端点。
1925+
Linux 支持 UNIX 域套接字,而 Windows 支持命名管道和 TCP 端点。
1926+
示例:'unix:///path/to/runtime.sock'、'npipe:////./pipe/runtime'。
1927+
如果未指定,则使用 containerRuntimeEndpoint 中的值。</p>
1928+
</td>
1929+
</tr>
18811930
</tbody>
18821931
</table>
18831932

@@ -1900,7 +1949,7 @@ SerializedNodeConfigSource 允许对 `v1.NodeConfigSource` 执行序列化操作
19001949
<tr><td><code>kind</code><br/>string</td><td><code>SerializedNodeConfigSource</code></td></tr>
19011950

19021951
<tr><td><code>source</code><br/>
1903-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#nodeconfigsource-v1-core"><code>core/v1.NodeConfigSource</code></a>
1952+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#nodeconfigsource-v1-core"><code>core/v1.NodeConfigSource</code></a>
19041953
</td>
19051954
<td>
19061955
<!--source is the source that we are serializing.
@@ -2365,7 +2414,7 @@ MemoryReservation 为每个 NUMA 节点设置不同类型的内存预留。
23652414
</tr>
23662415

23672416
<tr><td><code>limits</code> <B>[必需]</B><br/>
2368-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#resourcelist-v1-core"><code>core/v1.ResourceList</code></a>
2417+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#resourcelist-v1-core"><code>core/v1.ResourceList</code></a>
23692418
</td>
23702419
<td>
23712420
<!--span class="text-muted">No description provided.</span-->

0 commit comments

Comments
 (0)