From fc59b00c0fb620f9b303f5a8909e0f95922626a3 Mon Sep 17 00:00:00 2001 From: Eason1118 <1084430062@qq.com> Date: Tue, 14 Jan 2025 15:03:54 +0800 Subject: [PATCH] [zh-cn] sync user-namespaces.md --- .../docs/concepts/workloads/pods/user-namespaces.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/content/zh-cn/docs/concepts/workloads/pods/user-namespaces.md b/content/zh-cn/docs/concepts/workloads/pods/user-namespaces.md index 6fc2429e9b1a7..377a1a759830f 100644 --- a/content/zh-cn/docs/concepts/workloads/pods/user-namespaces.md +++ b/content/zh-cn/docs/concepts/workloads/pods/user-namespaces.md @@ -327,6 +327,8 @@ to the `kubelet` user: -* 从属 ID 计数必须是 65536 的倍数 +* 从属 ID 计数必须是 65536 的倍数(对于 Kubernetes {{< skew currentVersion >}}, + 每个 Pod 的从属 ID 数量被硬编码为 65536)。 * 从属 ID 计数必须至少为 `65536 x `,其中 `` 是节点上可以运行的最大 Pod 数量。 @@ -362,15 +365,17 @@ these entries for the `kubelet` user: # name:firstID:count of IDs # where # - firstID is 65536 (the minimum value possible) -# - count of IDs is 110 (default limit for number of) * 65536 +# - count of IDs is 110 * 65536 +# (110 is the default limit for number of pods on the node) ``` --> ``` # 格式为: # name:firstID:count of IDs -# 在哪里: +# 其中: # - firstID 是 65536 (可能的最小值) -# - IDs 的数量是 110(默认数量限制)* 65536 +# - ID 的数量是 110 * 65536(110 是节点上 Pod 数量的默认限制) + kubelet:65536:7208960 ```