What Are Kubernetes Init Containers And When Should You Use Them
Init containers are a Kubernetes mechanism for initializing new Pods. Init containers start and exit before their Pod’s main application containers, providing a chance to run bootstrap scripts in sequential order. In this article we’ll show how to add init containers to a Pod and consider some common use cases. Although init containers are configured similarly to regular containers, they do have some differences because of their specialized purpose....