Kubernetes · Concept
Init container
An init container runs to completion before a Pod's app containers start. Multiple init containers run in order, and each must succeed before the next one begins.
Last updated
Syntax
spec:
initContainers:
- name: <name>
image: <image>
command: [<command>]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
App containerSidecar containerPodkubeletrestartPolicystatus.initContainerStatusesactiveDeadlineSecondskubectl logs