docs: Add all probe explanation of init contaners
Signed-off-by: willise <sunshuai@cmss.chinamobile.com>
This commit is contained in:
@@ -46,8 +46,8 @@ including resource limits, volumes, and security settings. However, the
|
|||||||
resource requests and limits for an init container are handled differently,
|
resource requests and limits for an init container are handled differently,
|
||||||
as documented in [Resources](#resources).
|
as documented in [Resources](#resources).
|
||||||
|
|
||||||
Also, init containers do not support readiness probes because they must run to
|
Also, init containers do not support `lifecycle`, `livenessProbe`, `readinessProbe`, or
|
||||||
completion before the Pod can be ready.
|
`startupProbe` because they must run to completion before the Pod can be ready.
|
||||||
|
|
||||||
If you specify multiple init containers for a Pod, Kubelet runs each init
|
If you specify multiple init containers for a Pod, Kubelet runs each init
|
||||||
container sequentially. Each init container must succeed before the next can run.
|
container sequentially. Each init container must succeed before the next can run.
|
||||||
|
|||||||
Reference in New Issue
Block a user