Skip to content

Commit 8e503d8

Browse files
committed
[zh] synchronize translate init-containers.md
1 parent 76b01c2 commit 8e503d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh/docs/concepts/workloads/pods/init-containers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ Kubernetes 会在校验时强制执行此检查。
465465
<!--
466466
Use `activeDeadlineSeconds` on the Pod to prevent init containers from failing forever.
467467
The active deadline includes init containers.
468-
However it is recommended to use `activeDeadlineSeconds` if user deploy their application
468+
However it is recommended to use `activeDeadlineSeconds` only if teams deploy their application
469469
as a Job, because `activeDeadlineSeconds` has an effect even after initContainer finished.
470470
The Pod which is already running correctly would be killed by `activeDeadlineSeconds` if you set.
471471
@@ -475,7 +475,7 @@ validation error is thrown for any container sharing a name with another.
475475
在 Pod 上使用 `activeDeadlineSeconds` 和在容器上使用 `livenessProbe` 可以避免
476476
Init 容器一直重复失败。
477477
`activeDeadlineSeconds` 时间包含了 Init 容器启动的时间。
478-
然而,如果用户将他们的应用程序以 Job 方式部署,建议使用 `activeDeadlineSeconds`,
478+
但建议仅在团队将其应用程序部署为 Job 时才使用 `activeDeadlineSeconds`,
479479
因为 `activeDeadlineSeconds` 在 Init 容器结束后仍有效果。
480480
如果你设置了 `activeDeadlineSeconds`,已经在正常运行的 Pod 会被杀死。
481481

0 commit comments

Comments
 (0)