# What is the purpose of a Kubernetes InitContainer?

Kubernetes, Medium (Advanced), Concepts. https://k8wiz.com/uquiz/what-is-the-purpose-of-a-kubernetes-initcontainer

- A. To initialize the Kubernetes cluster
- B. To run before app containers in a pod and complete before app containers start
- C. To initialize the container runtime on a node
- D. To create initial configuration for a deployment

**Answer:** To run before app containers in a pod and complete before app containers start

**Explanation:** InitContainers run before the app containers in a pod and must complete successfully before the app containers can start. They are useful for setup tasks like database schema initialization, dependency checking, or delaying application startup until prerequisites are met.
