Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Latest commit

 

History

History
2 lines (2 loc) · 549 Bytes

init_containers.md

File metadata and controls

2 lines (2 loc) · 549 Bytes

InitContainers

InitContainers are generally lightweight containers that contain a few simple instructuions. The initContainers must run and successfully exit before a deployment's pods can start. If it fails, Kubernetes will keep trying to restart the initContainers until it is successful. You can have multiple initContainers, and they will simply execute one by one in the order they are defined. We look at specific examples of how we use initContainers with nginx and redis.