Skip to content

Commit e864f25

Browse files
authored
Merge pull request #43934 from asa3311/sync-zh-83
[zh] sync job admission-controllers validating-admission-policy
2 parents 0c900b0 + fa2a727 commit e864f25

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

content/zh-cn/docs/concepts/workloads/controllers/job.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,6 +1611,15 @@ the Job status, allowing the Pod to be removed by other controllers or users.
16111611
为了实现这一点,Job 控制器创建的 Pod 带有 Finalizer `batch.kubernetes.io/job-tracking`
16121612
控制器只有在 Pod 被记入 Job 状态后才会移除 Finalizer,允许 Pod 可以被其他控制器或用户移除。
16131613

1614+
{{< note >}}
1615+
<!--
1616+
See [My pod stays terminating](/docs/tasks/debug-application/debug-pods) if you
1617+
observe that pods from a Job are stucked with the tracking finalizer.
1618+
-->
1619+
如果你发现来自 Job 的某些 Pod 因存在负责跟踪的 Finalizer 而无法正常终止,
1620+
请参阅[我的 Pod 一直处于终止状态](/zh-cn/docs/tasks/debug/debug-application/debug-pods/)
1621+
{{< /note >}}
1622+
16141623
<!--
16151624
### Elastic Indexed Jobs
16161625
-->

content/zh-cn/docs/reference/access-authn-authz/admission-controllers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Kubernetes API server prior to persistence of the object, but after the request
3737
is authenticated and authorized.
3838
3939
Admission controllers may be _validating_, _mutating_, or both. Mutating
40-
controllers may modify related objects to the requests they admit; validating controllers may not.
40+
controllers may modify objects related to the requests they admit; validating controllers may not.
4141
4242
Admission controllers limit requests to create, delete, modify objects. Admission
4343
controllers can also block custom verbs, such as a request connect to a Pod via

content/zh-cn/docs/reference/access-authn-authz/validating-admission-policy.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ otherwise the failures are ignored.
210210
否则这些失败将被忽略。
211211

212212
<!--
213-
See [Audit Annotations: validation falures](/docs/reference/labels-annotations-taints/audit-annotations/#validation-policy-admission-k8s-io-validation_failure)
214-
for more details about the validation failure audit annotation.
213+
See [Audit Annotations: validation failures](/docs/reference/labels-annotations-taints/audit-annotations/#validation-policy-admission-k8s-io-validation-failure) for more details about the validation failure audit annotation.
215214
-->
216215
有关验证失败审计注解的详细信息,请参见
217216
[审计注解:验证失败](/zh-cn/docs/reference/labels-annotations-taints/audit-annotations/#validation-policy-admission-k8s-io-validation_failure)。

0 commit comments

Comments
 (0)