OpenShift Init Container: Difference between revisions
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
=Overview= | =Overview= | ||
An ''init container'' is a specialized container that runs before the application containers, and can contain utilities or setup scripts not present in the application image. | An ''init container'' is a specialized container that runs before the application containers, and can contain utilities or setup scripts not present in the application image. If a pod declares init containers, the application containers are only run after all init container complete successfully. | ||
An init container always runs to completion, and if more than one init containers are declared, each one must complete successfully before the next one is started. |
Revision as of 00:36, 28 February 2018
External
- https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
- https://docs.openshift.com/container-platform/latest/architecture/core_concepts/containers_and_images.html#init-containers
Internal
Overview
An init container is a specialized container that runs before the application containers, and can contain utilities or setup scripts not present in the application image. If a pod declares init containers, the application containers are only run after all init container complete successfully.
An init container always runs to completion, and if more than one init containers are declared, each one must complete successfully before the next one is started.