From 18e7b90763f8b89fd54e49b86cbab8d50fb62f12 Mon Sep 17 00:00:00 2001 From: yuandongx Date: Fri, 8 Jan 2021 03:54:51 +0000 Subject: [PATCH] fix init container status describe fault Signed-off-by: yuandongx --- content/zh/docs/concepts/workloads/pods/init-containers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/zh/docs/concepts/workloads/pods/init-containers.md b/content/zh/docs/concepts/workloads/pods/init-containers.md index 31cd631f4e..449d14bba0 100644 --- a/content/zh/docs/concepts/workloads/pods/init-containers.md +++ b/content/zh/docs/concepts/workloads/pods/init-containers.md @@ -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 容器必须重新执行。