Skip to content

Commit 8c5c7de

Browse files
authored
Change 'container' to 'Pod' in Jobs documentation (#30592)
* Fix wording in Jobs documentation * Apply change in Chinese text
1 parent 73ae0f8 commit 8c5c7de

File tree

1 file changed

+2
-2
lines changed
  • content/zh/docs/concepts/workloads/controllers

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,13 +441,13 @@ other Pods for the Job failing around that time.
441441
当 Job 的 Pod 被删除时,或者 Pod 成功时没有其它 Pod 处于失败状态,失效回退的次数也会被重置(为 0)。
442442

443443
<!--
444-
If your job has `restartPolicy = "OnFailure"`, keep in mind that your container running the Job
444+
If your job has `restartPolicy = "OnFailure"`, keep in mind that your Pod running the Job
445445
will be terminated once the job backoff limit has been reached. This can make debugging the Job's executable more difficult. We suggest setting
446446
`restartPolicy = "Never"` when debugging the Job or using a logging system to ensure output
447447
from failed Jobs is not lost inadvertently.
448448
-->
449449
{{< note >}}
450-
如果你的 Job 的 `restartPolicy` 被设置为 "OnFailure",就要注意运行该 Job 的容器
450+
如果你的 Job 的 `restartPolicy` 被设置为 "OnFailure",就要注意运行该 Job 的 Pod
451451
会在 Job 到达失效回退次数上限时自动被终止。
452452
这会使得调试 Job 中可执行文件的工作变得非常棘手。
453453
我们建议在调试 Job 时将 `restartPolicy` 设置为 "Never",

0 commit comments

Comments
 (0)