DevOps Dictionary

A straightforward reference for DevOps terms and concepts.

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

Kubernetes Init Container

Container Orchestration

A Kubernetes Init Container is a container that runs before the main application containers in a pod and must finish first. It does setup work such as waiting for a database, running a migration or copying files into a shared volume. Kubernetes runs init containers 1 at a time, in order, and starts the application only after each one exits successfully.

Patent-style sketch of a Kubernetes Init Container: inside a pod enclosure, a small init container runs first, fills a shared volume, and then the larger app container starts.

See also Kubernetes Job, Kubernetes Labels and Selectors, Kubernetes LimitRange, Kubernetes Liveness Probe, Kubernetes MutatingAdmissionWebhook, Kubernetes Namespace.