docs: Add all probe explanation of init contaners

Signed-off-by: willise <sunshuai@cmss.chinamobile.com>
pull/20854/head
willise 2020-05-09 11:03:47 +08:00
parent 650845a4bf
commit 6e64f84983
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ including resource limits, volumes, and security settings. However, the
resource requests and limits for an init container are handled differently,
as documented in [Resources](#resources).
Also, init containers do not support readiness probes because they must run to
completion before the Pod can be ready.
Also, init containers do not support `lifecycle`, `livenessProbe`, `readinessProbe`, or
`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
container sequentially. Each init container must succeed before the next can run.