fix init container status describe fault

Signed-off-by: yuandongx <yuandongx@126.com>
This commit is contained in:
yuandongx
2021-01-08 03:54:51 +00:00
parent 8fea26ecba
commit 18e7b90763
@@ -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 容器必须重新执行。