diff --git a/content/zh-cn/docs/concepts/security/pod-security-standards.md b/content/zh-cn/docs/concepts/security/pod-security-standards.md
index 243bd9529c..22a5f7edcd 100644
--- a/content/zh-cn/docs/concepts/security/pod-security-standards.md
+++ b/content/zh-cn/docs/concepts/security/pod-security-standards.md
@@ -43,8 +43,6 @@ Pod 安全性标准定义了三种不同的 **策略(Policy)**,以广泛
## Profile 细节 {#profile-details}
@@ -98,10 +96,9 @@ fail validation.
控制(Control) |
策略(Policy) |
-
-
- | HostProcess |
-
+ |
+ | HostProcess |
+
Windows Pod 提供了运行 HostProcess 容器 的能力,这使得对 Windows 节点的特权访问成为可能。Baseline 策略中禁止对宿主的特权访问。{{< feature-state for_k8s_version="v1.23" state="beta" >}}
@@ -121,7 +118,7 @@ fail validation.
|
| 宿主名字空间 |
-
+ |
必须禁止共享宿主上的名字空间。
限制的字段
@@ -195,7 +192,6 @@ fail validation.
- 未定义、nil
|
-
|
| 宿主端口 |
@@ -284,7 +280,7 @@ fail validation.
-
+
| Seccomp |
Seccomp 配置必须不能显式设置为 Unconfined。
@@ -304,7 +300,7 @@ fail validation.
|
- | Sysctls |
+ Sysctls |
Sysctls 可以禁用安全机制或影响宿主上所有容器,因此除了若干“安全”的子集之外,应该被禁止。如果某 sysctl 是受容器或 Pod 的名字空间限制,且与节点上其他 Pod 或进程相隔离,可认为是安全的。
限制的字段
@@ -360,7 +356,7 @@ fail validation.
| Baseline 策略的所有要求。 |
- | 卷类型 |
+ 卷类型 |
除了限制 HostPath 卷之外,此类策略还限制可以通过 PersistentVolumes 定义的非核心卷类型。
限制的字段
@@ -382,7 +378,7 @@ fail validation.
|
- | 特权提升(v1.8+) |
+ 特权提升(v1.8+) |
禁止(通过 SetUID 或 SetGID 文件模式)获得特权提升。
限制的字段
@@ -398,8 +394,8 @@ fail validation.
|
- | 以非 root 账号运行 |
-
+ | 以非 root 账号运行 |
+
容器必须以非 root 账号运行。
限制的字段
@@ -453,15 +449,29 @@ fail validation.
Localhost
- 如果 Pod 级别的 spec.securityContext.seccompProfile.type 已设置得当,容器级别的安全上下文字段可以为 未定义/nil。反而言之,如果 所有的 容器级别的安全上下文字段已设置,则 Pod 级别的字段可为 未定义/nil。
+
+ 如果 Pod 级别的 spec.securityContext.seccompProfile.type
+ 已设置得当,容器级别的安全上下文字段可以为未定义/nil。
+ 反之如果 所有的 容器级别的安全上下文字段已设置,
+ 则 Pod 级别的字段可为 未定义/nil。
|
-
-
+
+
| 权能(v1.22+) |
-
+ |
- 容器必须弃用 ALL 权能,并且只允许添加 NET_BIND_SERVICE 权能。
+
+ 容器必须弃用 ALL 权能,并且只允许添加
+ NET_BIND_SERVICE 权能。
限制的字段
@@ -568,13 +578,13 @@ SIG Auth may reconsider this position in the future, should a clear need for oth
SIG Auth 可能会在将来考虑这个范围的框架,前提是有对其他框架的需求。
-### 安全策略与安全上下文的区别是什么?
+### 安全配置与安全上下文的区别是什么?
[安全上下文](/zh-cn/docs/tasks/configure-pod-container/security-context/)在运行时配置 Pod
和容器。安全上下文是在 Pod 清单中作为 Pod 和容器规约的一部分来定义的,
@@ -595,18 +605,18 @@ built-in [Pod Security Admission Controller](/docs/concepts/security/pod-securit
### What profiles should I apply to my Windows Pods?
Windows in Kubernetes has some limitations and differentiators from standard Linux-based
-workloads. Specifically, the Pod SecurityContext fields [have no effect on
-Windows](/docs/setup/production-environment/windows/intro-windows-in-kubernetes/#v1-podsecuritycontext). As
-such, no standardized Pod Security profiles currently exists.
+workloads. Specifically, many of the Pod SecurityContext fields
+[have no effect on Windows](/docs/concepts/windows/intro/#compatibility-v1-pod-spec-containers-securitycontext).
+As such, no standardized Pod Security profiles currently exist.
-->
### 我应该为我的 Windows Pod 实施哪种框架?
Kubernetes 中的 Windows 负载与标准的基于 Linux 的负载相比有一些局限性和区别。
尤其是 Pod SecurityContext
-字段[对 Windows 不起作用](/zh-cn/docs/setup/production-environment/windows/intro-windows-in-kubernetes/#v1-podsecuritycontext)。
+字段[对 Windows 不起作用](/zh-cn/docs/concepts/windows/intro/#compatibility-v1-pod-spec-containers-securitycontext)。
因此,目前没有对应的标准 Pod 安全性框架。
-
你应该只在 Privileged 策略下使用 HostProcess 标志来创建 HostProcess Pod。
在 Baseline 和 Restricted 策略下,创建 Windows HostProcess Pod 是被禁止的,
@@ -645,11 +657,11 @@ restrict privileged permissions is lessened when the workload is isolated from t
kernel. This allows for workloads requiring heightened permissions to still be isolated.
Additionally, the protection of sandboxed workloads is highly dependent on the method of
-sandboxing. As such, no single recommended policy is recommended for all sandboxed workloads.
+sandboxing. As such, no single recommended profile is recommended for all sandboxed workloads.
-->
沙箱化负载所需要的保护可能彼此各不相同。例如,当负载与下层内核直接隔离开来时,
限制特权化操作的许可就不那么重要。这使得那些需要更多许可权限的负载仍能被有效隔离。
此外,沙箱化负载的保护高度依赖于沙箱化的实现方法。
-因此,现在还没有针对所有沙箱化负载的建议策略。
+因此,现在还没有针对所有沙箱化负载的建议配置。
|