Devops

Would you prefer a "configuration->deployment" model or "deployment->configuration"? Why?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

Both have advantages and disadvantages. With "configuration->deployment" model for example, where you build one image to be used by multiple deployments, there is less chance of deployments being different from one another, so it has a clear advantage of a consistent environment.