File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
content/zh/docs/concepts/workloads/pods Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -465,7 +465,7 @@ Kubernetes 会在校验时强制执行此检查。
465
465
<!--
466
466
Use `activeDeadlineSeconds` on the Pod to prevent init containers from failing forever.
467
467
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
469
469
as a Job, because `activeDeadlineSeconds` has an effect even after initContainer finished.
470
470
The Pod which is already running correctly would be killed by `activeDeadlineSeconds` if you set.
471
471
@@ -475,7 +475,7 @@ validation error is thrown for any container sharing a name with another.
475
475
在 Pod 上使用 `activeDeadlineSeconds` 和在容器上使用 `livenessProbe` 可以避免
476
476
Init 容器一直重复失败。
477
477
`activeDeadlineSeconds` 时间包含了 Init 容器启动的时间。
478
- 然而,如果用户将他们的应用程序以 Job 方式部署,建议使用 `activeDeadlineSeconds`,
478
+ 但建议仅在团队将其应用程序部署为 Job 时才使用 `activeDeadlineSeconds`,
479
479
因为 `activeDeadlineSeconds` 在 Init 容器结束后仍有效果。
480
480
如果你设置了 `activeDeadlineSeconds`,已经在正常运行的 Pod 会被杀死。
481
481
You can’t perform that action at this time.
0 commit comments