@@ -521,13 +521,13 @@ providers is a list of credential provider plugins that will be enabled by the k
521
521
Multiple providers may match against a single image, in which case credentials
522
522
from all providers will be returned to the kubelet. If multiple providers are called
523
523
for a single image, the results are combined. If providers return overlapping
524
- auth keys, the value from the provider earlier in this list is used .
524
+ auth keys, the value from the provider earlier in this list is attempted first .
525
525
-->
526
526
<p >
527
527
<code >providers</code > 是一组凭据提供者插件,这些插件会被 kubelet 启用。
528
528
多个提供者可以匹配到同一镜像上,这时,来自所有提供者的凭据信息都会返回给 kubelet。
529
529
如果针对同一镜像调用了多个提供者,则结果会被组合起来。如果提供者返回的认证主键有重复,
530
- 列表中先出现的提供者所返回的值将被使用 。
530
+ 列表中先出现的提供者所返回的值将被首先尝试 。
531
531
</p >
532
532
</td >
533
533
</tr >
@@ -895,6 +895,68 @@ Default: 10
895
895
</td >
896
896
</tr >
897
897
898
+ <tr ><td ><code >imagePullCredentialsVerificationPolicy</code ><br />
899
+ <a href =" #kubelet-config-k8s-io-v1beta1-ImagePullCredentialsVerificationPolicy " ><code >ImagePullCredentialsVerificationPolicy</code ></a >
900
+ </td >
901
+ <td >
902
+ <p >
903
+ <!--
904
+ imagePullCredentialsVerificationPolicy determines how credentials should be
905
+ verified when pod requests an image that is already present on the node:
906
+ -->
907
+ <code >imagePullCredentialsVerificationPolicy</code > 决定当 Pod 请求节点上已存在的镜像时,凭据应被如何验证:
908
+ </p >
909
+ <ul >
910
+ <li >NeverVerify
911
+ <!--
912
+ anyone on a node can use any image present on the node
913
+ -->
914
+ 节点上的任何人都可以使用该节点上存在的所有镜像
915
+ </li >
916
+ <li >NeverVerifyPreloadedImages
917
+ <!--
918
+ images that were pulled to the node by something else than the kubelet
919
+ can be used without reverifying pull credentials
920
+ -->
921
+ 由 kubelet 以外的方式拉取到节点上的镜像可以在不重新验证凭据的情况下使用
922
+ </li >
923
+ <li >NeverVerifyAllowlistedImages
924
+ <!--
925
+ like "NeverVerifyPreloadedImages" but only node images from
926
+ <code>preloadedImagesVerificationAllowlist</code> don't require reverification
927
+ -->
928
+ 类似于 " ; NeverVerifyPreloadedImages" ; ,但只有源于
929
+ <code >preloadedImagesVerificationAllowlist</code > 的节点镜像无需重新验证
930
+ </li >
931
+ <li >AlwaysVerify
932
+ <!--
933
+ all images require credential reverification
934
+ -->
935
+ 所有镜像都需要重新验证凭据
936
+ </li >
937
+ </ul >
938
+ </td >
939
+ </tr >
940
+ <tr ><td ><code >preloadedImagesVerificationAllowlist</code ><br />
941
+ <code >[ ] string</code >
942
+ </td >
943
+ <td >
944
+ <p >
945
+ <!--
946
+ preloadedImagesVerificationAllowlist specifies a list of images that are
947
+ exempted from credential reverification for the "NeverVerifyAllowlistedImages"
948
+ <code>imagePullCredentialsVerificationPolicy</code>.
949
+ The list accepts a full path segment wildcard suffix "/*".
950
+ Only use image specs without an image tag or digest.
951
+ -->
952
+ <code >preloadedImagesVerificationAllowlist</code > 指定一个镜像列表,对于
953
+ <code >imagePullCredentialsVerificationPolicy</code > 设置为
954
+ " ; NeverVerifyAllowlistedImages" ; 时,这些镜像可免于重新验证凭据。
955
+ 此列表支持以 " ; /* " ; 结尾的路径通配符。请仅使用不带镜像标签或摘要的镜像规约。
956
+ </p >
957
+ </td >
958
+ </tr >
959
+
898
960
<tr ><td ><code >eventRecordQPS</code ><br />
899
961
<code >int32</code >
900
962
</td >
@@ -1286,11 +1348,9 @@ Default: "cgroupfs"
1286
1348
<td >
1287
1349
<!--
1288
1350
cpuManagerPolicy is the name of the policy to use.
1289
- Requires the CPUManager feature gate to be enabled.
1290
1351
Default: "None"
1291
1352
-->
1292
- <p ><code >cpuManagerPolicy</code > 是要使用的策略名称。需要启用 <code >CPUManager</code >
1293
- 特性门控。</p >
1353
+ <p ><code >cpuManagerPolicy</code > 是要使用的策略名称。</p >
1294
1354
<p >默认值:" ; None" ; </p >
1295
1355
</td >
1296
1356
</tr >
@@ -1328,12 +1388,10 @@ On cgroup v2 linux, null / absent, true and false are allowed. The default value
1328
1388
<!--
1329
1389
cpuManagerPolicyOptions is a set of key=value which allows to set extra options
1330
1390
to fine tune the behaviour of the cpu manager policies.
1331
- Requires both the "CPUManager" and "CPUManagerPolicyOptions" feature gates to be enabled.
1332
1391
Default: nil
1333
1392
-->
1334
1393
<p ><code >cpuManagerPolicyOptions</code > 是一组 <code >key=value</code > 键值映射,
1335
- 容许通过额外的选项来精细调整 CPU 管理器策略的行为。需要 <code >CPUManager</code > 和
1336
- <code >CPUManagerPolicyOptions</code > 两个特性门控都被启用。</p >
1394
+ 容许通过额外的选项来精细调整 CPU 管理器策略的行为。</p >
1337
1395
<p >默认值:nil</p >
1338
1396
</td >
1339
1397
</tr >
@@ -1344,11 +1402,10 @@ Default: nil
1344
1402
<td >
1345
1403
<!--
1346
1404
cpuManagerReconcilePeriod is the reconciliation period for the CPU Manager.
1347
- Requires the CPUManager feature gate to be enabled.
1348
1405
Default: "10s"
1349
1406
-->
1350
1407
<p ><code >cpuManagerReconcilePeriod</code > 是 CPU 管理器的协调周期时长。
1351
- 要求启用 < code >CPUManager</ code > 特性门控。 默认值:" ; 10s" ; </p >
1408
+ 默认值:" ; 10s" ; </p >
1352
1409
</td >
1353
1410
</tr >
1354
1411
@@ -1777,10 +1834,11 @@ Default: nil
1777
1834
<!--
1778
1835
evictionPressureTransitionPeriod is the duration for which the kubelet has to wait
1779
1836
before transitioning out of an eviction pressure condition.
1837
+ A duration of 0s will be converted to the default value of 5m
1780
1838
Default: "5m"
1781
1839
-->
1782
1840
<p ><code >evictionPressureTransitionPeriod</code > 设置 kubelet
1783
- 离开驱逐压力状况之前必须要等待的时长。</p >
1841
+ 离开驱逐压力状况之前必须要等待的时长。0s 的时长将被转换为默认值 5m。 </p >
1784
1842
<p >默认值:" ; 5m" ; </p >
1785
1843
</td >
1786
1844
</tr >
@@ -1820,6 +1878,31 @@ Default: nil
1820
1878
</td >
1821
1879
</tr >
1822
1880
1881
+ <tr ><td ><code >mergeDefaultEvictionSettings</code ><br />
1882
+ <code >bool</code >
1883
+ </td >
1884
+ <td >
1885
+ <p >
1886
+ <!--
1887
+ mergeDefaultEvictionSettings indicates that defaults for the evictionHard, evictionSoft, evictionSoftGracePeriod, and evictionMinimumReclaim
1888
+ fields should be merged into values specified for those fields in this configuration.
1889
+ Signals specified in this configuration take precedence.
1890
+ Signals not specified in this configuration inherit their defaults.
1891
+ If false, and if any signal is specified in this configuration then other signals that
1892
+ are not specified in this configuration will be set to 0.
1893
+ It applies to merging the fields for which the default exists, and currently only evictionHard has default values.
1894
+ Default: false
1895
+ -->
1896
+ <code >mergeDefaultEvictionSettings</code > 表示是否应将 evictionHard、evictionSoft、
1897
+ evictionSoftGracePeriod 和 evictionMinimumReclaim 字段的默认值合并到此配置中为这些字段指定的取值中。
1898
+ 在此配置中显式指定的信号优先生效。未在此配置中指定的信号将继承其默认值。
1899
+ 如果设置为 false,并且此配置中指定了任一信号,则此配置中未指定的其他信号将被设置为 0。
1900
+ 此字段适用于合并存在默认值的字段,目前仅 evictionHard 有默认值。
1901
+ 默认值:false。
1902
+ </p >
1903
+ </td >
1904
+ </tr >
1905
+
1823
1906
<tr ><td ><code >podsPerCore</code ><br />
1824
1907
<code >int32</code >
1825
1908
</td >
@@ -2297,9 +2380,13 @@ Default: true
2297
2380
<!--
2298
2381
enableSystemLogQuery enables the node log query feature on the /logs endpoint.
2299
2382
EnableSystemLogHandler has to be enabled in addition for this feature to work.
2383
+ Enabling this feature has security implications. The recommendation is to enable it on a need basis for debugging
2384
+ purposes and disabling otherwise.
2300
2385
-->
2301
2386
<p ><code >enableSystemLogQuery</code > 启用在 /logs 端点上的节点日志查询功能。
2302
- 此外,还必须启用 enableSystemLogHandler 才能使此功能起作用。</p >
2387
+ 此外,还必须启用 enableSystemLogHandler 才能使此功能起作用。
2388
+ 启用此特性具有安全隐患。建议仅在调试需要时才启用,其他情况下应禁用。
2389
+ </p >
2303
2390
<p >默认值:false</p >
2304
2391
</td >
2305
2392
</tr >
@@ -2520,7 +2607,7 @@ Default: 0.8
2520
2607
</tr >
2521
2608
2522
2609
<tr ><td ><code >registerWithTaints</code ><br />
2523
- <a href =" https://kubernetes.io/zh-cn/docs/reference/generated/kubernetes-api/v1.32 /#taint-v1-core " ><code >[ ] core/v1.Taint</code ></a >
2610
+ <a href =" https://kubernetes.io/zh-cn/docs/reference/generated/kubernetes-api/v1.33 /#taint-v1-core " ><code >[ ] core/v1.Taint</code ></a >
2524
2611
</td >
2525
2612
<td >
2526
2613
<!--
@@ -2632,6 +2719,20 @@ Default: false
2632
2719
</p >
2633
2720
</td >
2634
2721
</tr >
2722
+
2723
+ <tr ><td ><code >userNamespaces</code ><br />
2724
+ <a href =" #kubelet-config-k8s-io-v1beta1-UserNamespaces " ><code >UserNamespaces</code ></a >
2725
+ </td >
2726
+ <td >
2727
+ <p >
2728
+ <!--
2729
+ UserNamespaces contains User Namespace configurations.
2730
+ -->
2731
+ <code >userNamespaces</code > 包含用户命名空间配置。
2732
+ </p >
2733
+ </td >
2734
+ </tr >
2735
+
2635
2736
</tbody >
2636
2737
</table >
2637
2738
@@ -2654,7 +2755,7 @@ SerializedNodeConfigSource 允许对 `v1.NodeConfigSource` 执行序列化操作
2654
2755
<tr ><td ><code >kind</code ><br />string</td ><td ><code >SerializedNodeConfigSource</code ></td ></tr >
2655
2756
2656
2757
<tr ><td ><code >source</code ><br />
2657
- <a href =" https://kubernetes.io/zh-cn/docs/reference/generated/kubernetes-api/v1.32 /#nodeconfigsource-v1-core " ><code >core/v1.NodeConfigSource</code ></a >
2758
+ <a href =" https://kubernetes.io/zh-cn/docs/reference/generated/kubernetes-api/v1.33 /#nodeconfigsource-v1-core " ><code >core/v1.NodeConfigSource</code ></a >
2658
2759
</td >
2659
2760
<td >
2660
2761
<!--
@@ -2726,11 +2827,13 @@ CredentialProvider 代表的是要被 kubelet 调用的一个 exec 插件。
2726
2827
name is the required name of the credential provider. It must match the name of the
2727
2828
provider executable as seen by the kubelet. The executable must be in the kubelet's
2728
2829
bin directory (set by the --image-credential-provider-bin-dir flag).
2830
+ Required to be unique across all providers.
2729
2831
-->
2730
2832
<p >
2731
2833
<code >name</code > 是凭据提供者的名称(必需)。此名称必须与 kubelet
2732
2834
所看到的提供者可执行文件的名称匹配。可执行文件必须位于 kubelet 的
2733
2835
<code >bin</code > 目录(通过 <code >--image-credential-provider-bin-dir</code > 设置)下。
2836
+ 在所有提供程序中,名称是唯一的。
2734
2837
</p >
2735
2838
</td >
2736
2839
</tr >
@@ -2893,6 +2996,26 @@ ExecEnvVar 用来在执行基于 exec 的凭据插件时设置环境变量。
2893
2996
</tbody >
2894
2997
</table >
2895
2998
2999
+ ## ` ImagePullCredentialsVerificationPolicy ` {#kubelet-config-k8s-io-v1beta1-ImagePullCredentialsVerificationPolicy}
3000
+
3001
+ <!--
3002
+ (Alias of `string`)
3003
+
3004
+ **Appears in:**
3005
+ -->
3006
+ (` string ` 的别名)
3007
+
3008
+ ** 出现在:**
3009
+
3010
+ - [ KubeletConfiguration] ( #kubelet-config-k8s-io-v1beta1-KubeletConfiguration )
3011
+
3012
+ <p >
3013
+ <!--
3014
+ ImagePullCredentialsVerificationPolicy is an enum for the policy that is enforced
3015
+ when pod is requesting an image that appears on the system
3016
+ -->
3017
+ ImagePullCredentialsVerificationPolicy 是一个枚举类型,用于指定在 Pod 请求系统上已存在的镜像时所强制执行的策略。
3018
+ </p >
2896
3019
2897
3020
## ` KubeletAnonymousAuthentication ` {#kubelet-config-k8s-io-v1beta1-KubeletAnonymousAuthentication}
2898
3021
@@ -3169,7 +3292,7 @@ MemoryReservation 为每个 NUMA 节点设置不同类型的内存预留。
3169
3292
</tr >
3170
3293
3171
3294
<tr ><td ><code >limits</code > <B ><!-- [Required] --> [必需]</B ><br />
3172
- <a href =" https://kubernetes.io/zh-cn/docs/reference/generated/kubernetes-api/v1.32 /#resourcelist-v1-core " ><code >core/v1.ResourceList</code ></a >
3295
+ <a href =" https://kubernetes.io/zh-cn/docs/reference/generated/kubernetes-api/v1.33 /#resourcelist-v1-core " ><code >core/v1.ResourceList</code ></a >
3173
3296
</td >
3174
3297
<td >
3175
3298
<!-- span class="text-muted">No description provided.</span-->
@@ -3273,3 +3396,46 @@ ShutdownGracePeriodByPodPriority 基于 Pod 关联的优先级类数值来为其
3273
3396
</tr >
3274
3397
</tbody >
3275
3398
</table >
3399
+
3400
+ ## ` UserNamespaces ` {#kubelet-config-k8s-io-v1beta1-UserNamespaces}
3401
+
3402
+ <!--
3403
+ **Appears in:**
3404
+ -->
3405
+ ** 出现在:**
3406
+
3407
+ - [ KubeletConfiguration] ( #kubelet-config-k8s-io-v1beta1-KubeletConfiguration )
3408
+
3409
+ <p >
3410
+ <!--
3411
+ UserNamespaces contains User Namespace configurations.
3412
+ -->
3413
+ <code >UserNamespaces</code > 包含用户命名空间配置。
3414
+ </p >
3415
+
3416
+
3417
+ <table class =" table " >
3418
+ <thead ><tr ><th width =" 30% " ><!-- Field--> 字段</th ><th ><!-- Description--> 描述</th ></tr ></thead >
3419
+ <tbody >
3420
+
3421
+
3422
+ <tr ><td ><code >idsPerPod</code ><br />
3423
+ <code >int64</code >
3424
+ </td >
3425
+ <td >
3426
+ <!--
3427
+ <p>IDsPerPod is the mapping length of UIDs and GIDs.
3428
+ The length must be a multiple of 65536, and must be less than 1<<32.
3429
+ On non-linux such as windows, only null / absent is allowed.</p>
3430
+ <p>Changing the value may require recreating all containers on the node.</p>
3431
+ <p>Default: 65536</p>
3432
+ -->
3433
+ <p ><code >idsPerPod</code > 是 UID 和 GID 的映射长度。
3434
+ 长度值必须是 65536 的倍数,且必须小于 1< ;< ; 32。
3435
+ 在非 Linux 系统(如 Windows)上,仅允许空或不设置。</p >
3436
+ <p >更改此值可能需要重新创建节点上的所有容器。</p >
3437
+ <p >默认值:65536</p >
3438
+ </td >
3439
+ </tr >
3440
+ </tbody >
3441
+ </table >
0 commit comments