What is a recreate deployment and when is it acceptable?
BeginnerConceptDeployment Strategies and GitOps
Answer
Recreate stops all old instances, then starts the new ones, causing downtime. It is acceptable for batch jobs, internal tools, dev environments, or apps that cannot run two versions at once (exclusive database locks or incompatible schema), or when downtime windows are agreed. In Kubernetes: strategy.type: Recreate.
More on Deployment Strategies and GitOps
What is a rolling deployment?BeginnerWhat is blue-green deployment?BeginnerWhat is a canary deployment?IntermediateCompare rolling, blue-green and canary deployments.IntermediateWhat are feature flags and what types exist?IntermediateWhat is progressive delivery and which tools implement it on Kubernetes?Advanced