From 25c9403bf3f84adb59330ce79ec95a6529739291 Mon Sep 17 00:00:00 2001 From: twilight0620 Date: Thu, 31 Mar 2022 09:59:04 +0800 Subject: [PATCH] [zh] comments modify --- .../2022-01-19-Securing-Admission-Controllers.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/zh/blog/_posts/2022-01-19-Securing-Admission-Controllers.md b/content/zh/blog/_posts/2022-01-19-Securing-Admission-Controllers.md index 9606242768..99dad347e5 100644 --- a/content/zh/blog/_posts/2022-01-19-Securing-Admission-Controllers.md +++ b/content/zh/blog/_posts/2022-01-19-Securing-Admission-Controllers.md @@ -98,7 +98,7 @@ It’s important to ensure that any security component in a cluster is well conf -### 准入控制的安全集群配置 +### 为准入控制保护集群配置 * **限制 [RBAC](/zh/docs/reference/access-authn-authz/rbac/) 权限**。 - 任何有权修改 webhook 对象的配置或准入控制器使用的工作负载的用户都可能会中断其操作。 + 任何有权修改 webhook 对象的配置或准入控制器使用的工作负载的用户都可以破坏其运行。 因此,确保只有集群管理员拥有这些权限非常重要。 * **防止特权工作负载**。 容器系统的一个现实是,如果工作负载被赋予某些特权, - 则有可能突破到底层集群节点并影响该节点上的其他容器。 + 则有可能逃逸到下层的集群节点并影响该节点上的其他容器。 如果准入控制器服务在它们所保护的集群上运行, - 一定要确保对特权工作负载的任何要求都要经过仔细审查并尽可能地加以限制。 + 一定要确保对特权工作负载的所有请求都要经过仔细审查并尽可能地加以限制。 * **严格控制外部系统访问**。 - 作为集群准入控制器系统中的安全服务,将有权访问敏感信息,如凭证。 + 作为集群中的安全服务,准入控制器系统将有权访问敏感信息,如凭证。 为了降低此信息被发送到集群外的风险, 应使用[网络策略](/zh/docs/concepts/services-networking/network-policies/) 来限制准入控制器服务对外部网络的访问。 @@ -132,7 +132,7 @@ In most cases, the admission controller webhook used by a cluster will be instal * **Each cluster has a dedicated webhook**. Whilst it may be possible to have admission controller webhooks that serve multiple clusters, there is a risk when using that model that an attack on the webhook service would have a larger impact where it’s shared. Also where multiple clusters use an admission controller there will be increased complexity and access requirements, making it harder to secure. --> * **每个集群都有一个专用的 webhook**。 - 虽然可能有服务于多个集群的准入控制器 webhook, + 虽然可能让准入控制器 webhook 服务于多个集群的, 但在使用该模型时存在对 webhook 服务的攻击会对共享它的地方产生更大影响的风险。 此外,在多个集群使用准入控制器的情况下,复杂性和访问要求也会增加,从而更难保护其安全。 @@ -144,8 +144,8 @@ In most cases, the admission controller webhook used by a cluster will be instal -任何用于 Kubernetes 安全的准入控制器的一个关键元素是它使用的规则库。 -规则需要能够准确地满足其目标,避免误报和误报结果。 +对于用于 Kubernetes 安全的所有准入控制器而言,一个关键元素是它使用的规则库。 +规则需要能够准确地满足其目标,避免假阳性和假阴性结果。