Part of the 12 Factors
Run admin/management tasks as one-off processes, but don’t special-case one-off tasks.
- Facilitates using a consistent Environment and Context when Developing Good Explanations
- By making all changes as easy to do as an ad-hoc command, the need for stateful, non-reproducible, and non-verifiable maintanence disappears.
- Avoids Incidential Complexity and subsequently increases Local Reasoning
Kubernetes uses the concept of sidecar containers and init containers to perform some of these tasks..