This is the documentation for the default architecture of Red Hat OpenShift Service on AWS. The classic architecture documentation is available here.13.4. 为命名空间配置 pod 安全准入 您可以在命名空间级别配置 pod 安全准入设置。对于命名空间中的每个 pod 安全准入模式,您可以设置要使用的 pod 安全准入配置集。 流程 对于您要在命名空间上设置的每个 pod 安全准入模式,请运行以下命令: $ oc label namespace <namespace> \ 1 pod-security.kubernetes.io/<mode>=<profile> \ 2 --overwrite 1 将 <namespace> 设置为要配置的命名空间。 2 将 <mode> 设置为 enforce, warn, 或 audit。将 <profile> 设置为 restricted, baseline, 或 privileged。 前一个下一个