Merge pull request #26007 from yuandongx/patch-20

[zh] fix init container status describe fault
This commit is contained in:
Kubernetes Prow Robot 2021-01-07 21:48:53 -08:00 committed by GitHub
commit 7a9134193f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -395,7 +395,7 @@ if the Pod `restartPolicy` is set to Always, the init containers use
A Pod cannot be `Ready` until all init containers have succeeded. The ports on an
init container are not aggregated under a Service. A Pod that is initializing
is in the `Pending` state but should have a condition `Initialized` set to true.
is in the `Pending` state but should have a condition `Initialized` set to false.
If the Pod [restarts](#pod-restart-reasons), or is restarted, all init containers
must execute again.
@ -413,7 +413,7 @@ Pod 的 `restartPolicy` 策略进行重试。
在所有的 Init 容器没有成功之前Pod 将不会变成 `Ready` 状态。
Init 容器的端口将不会在 Service 中进行聚集。正在初始化中的 Pod 处于 `Pending` 状态,
但会将状况 `Initializing` 设置为 true。
但会将状况 `Initializing` 设置为 false。
如果 Pod [重启](#pod-restart-reasons),所有 Init 容器必须重新执行。