Don’t Special Case Administrative Tasks

Part of the 12 Factors

Run admin/management tasks as one-off processes, but don’t special-case one-off tasks.

Kubernetes uses the concept of sidecar containers and init containers to perform some of these tasks..