What is the Recreate deployment strategy?
BeginnerConceptDeployment strategies
Answer
In a Recreate deployment, you stop all old instances first, then start the new ones.
- Pro: simple, and old and new versions never run at the same time.
- Con: users see downtime between stopping the old version and starting the new one.
It is used when two versions cannot run together, for example because of a database change, and short downtime is acceptable.