From 8c5c7de4a9e4f1f14a034080474b11a0f5f80770 Mon Sep 17 00:00:00 2001 From: Daniel Weibel Date: Wed, 24 Nov 2021 04:30:20 +0400 Subject: [PATCH] Change 'container' to 'Pod' in Jobs documentation (#30592) * Fix wording in Jobs documentation * Apply change in Chinese text --- content/zh/docs/concepts/workloads/controllers/job.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/zh/docs/concepts/workloads/controllers/job.md b/content/zh/docs/concepts/workloads/controllers/job.md index 829d9a0599a47..a438294af6c2f 100644 --- a/content/zh/docs/concepts/workloads/controllers/job.md +++ b/content/zh/docs/concepts/workloads/controllers/job.md @@ -441,13 +441,13 @@ other Pods for the Job failing around that time. 当 Job 的 Pod 被删除时,或者 Pod 成功时没有其它 Pod 处于失败状态,失效回退的次数也会被重置(为 0)。 {{< note >}} -如果你的 Job 的 `restartPolicy` 被设置为 "OnFailure",就要注意运行该 Job 的容器 +如果你的 Job 的 `restartPolicy` 被设置为 "OnFailure",就要注意运行该 Job 的 Pod 会在 Job 到达失效回退次数上限时自动被终止。 这会使得调试 Job 中可执行文件的工作变得非常棘手。 我们建议在调试 Job 时将 `restartPolicy` 设置为 "Never",