From fa2a72709cd98057cec3c0b188c25ad365c5ef4f Mon Sep 17 00:00:00 2001 From: xin gu <418294249@qq.com> Date: Tue, 14 Nov 2023 23:00:38 +0800 Subject: [PATCH] sync job admission-controllers validating-admission-policy u Update job.md Update job.md --- content/zh-cn/docs/concepts/workloads/controllers/job.md | 9 +++++++++ .../access-authn-authz/admission-controllers.md | 2 +- .../access-authn-authz/validating-admission-policy.md | 3 +-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/content/zh-cn/docs/concepts/workloads/controllers/job.md b/content/zh-cn/docs/concepts/workloads/controllers/job.md index 06ec1cfd76..b1e4a2c88e 100644 --- a/content/zh-cn/docs/concepts/workloads/controllers/job.md +++ b/content/zh-cn/docs/concepts/workloads/controllers/job.md @@ -1611,6 +1611,15 @@ the Job status, allowing the Pod to be removed by other controllers or users. 为了实现这一点,Job 控制器创建的 Pod 带有 Finalizer `batch.kubernetes.io/job-tracking`。 控制器只有在 Pod 被记入 Job 状态后才会移除 Finalizer,允许 Pod 可以被其他控制器或用户移除。 +{{< note >}} + +如果你发现来自 Job 的某些 Pod 因存在负责跟踪的 Finalizer 而无法正常终止, +请参阅[我的 Pod 一直处于终止状态](/zh-cn/docs/tasks/debug/debug-application/debug-pods/)。 +{{< /note >}} + diff --git a/content/zh-cn/docs/reference/access-authn-authz/admission-controllers.md b/content/zh-cn/docs/reference/access-authn-authz/admission-controllers.md index ba7176c588..646e38fdb8 100644 --- a/content/zh-cn/docs/reference/access-authn-authz/admission-controllers.md +++ b/content/zh-cn/docs/reference/access-authn-authz/admission-controllers.md @@ -37,7 +37,7 @@ Kubernetes API server prior to persistence of the object, but after the request is authenticated and authorized. Admission controllers may be _validating_, _mutating_, or both. Mutating -controllers may modify related objects to the requests they admit; validating controllers may not. +controllers may modify objects related to the requests they admit; validating controllers may not. Admission controllers limit requests to create, delete, modify objects. Admission controllers can also block custom verbs, such as a request connect to a Pod via diff --git a/content/zh-cn/docs/reference/access-authn-authz/validating-admission-policy.md b/content/zh-cn/docs/reference/access-authn-authz/validating-admission-policy.md index 9a2deecfed..f636cb53ae 100644 --- a/content/zh-cn/docs/reference/access-authn-authz/validating-admission-policy.md +++ b/content/zh-cn/docs/reference/access-authn-authz/validating-admission-policy.md @@ -210,8 +210,7 @@ otherwise the failures are ignored. 否则这些失败将被忽略。 有关验证失败审计注解的详细信息,请参见 [审计注解:验证失败](/zh-cn/docs/reference/labels-annotations-taints/audit-annotations/#validation-policy-admission-k8s-io-validation_failure)。