NEW
A deployment strategy that gradually replaces running instances with new versions to minimize downtime and risk.
DESCRIPTION
Rolling deployment updates a service by incrementally replacing old instances with new ones, maintaining availability throughout the process. It limits blast radius by controlling batch sizes and health checks. Kubernetes, cloud PaaS, and CI/CD tools commonly support rolling updates natively. The approach balances safety and speed, avoiding full cutovers. It works well for stateless services and can be combined with feature flags and monitoring. Careful orchestration, compatibility management, and database migration strategies are crucial. Rollbacks are simplified by retaining some previous instances until confidence is established. Observability guides gate criteria between waves. Compared to canary releases, rolling deployments update all users gradually rather than only a subset.
ALTERNATIVE DEFINITIONS
Kubernetes Documentation
A rolling update means gradually replacing older Pods with newer ones.
Defines rolling updates in terms of Pods, emphasizing gradual replacement.
AWS Elastic Beanstalk
In a rolling update, Elastic Beanstalk replaces your instances in batches.
Highlights batch replacement at the instance level in AWS.
Red Hat
A rolling update is the process of updating software in small increments to reduce downtime.
Focuses on incremental changes to limit downtime.
RELATED TERMS
Progressive Delivery Zero Downtime Deployment Feature Flags Kubernetes Deployment CI-CD Autoscaling Versioning Service Orchestration
COMPETING TERMS
Blue-Green Deployment Canary Release
KNOWLEDGE AREAS
Software Engineering MLOps Platform & Tooling Infrastructure Cloud
TARGET AUDIENCE
DevOps Engineer Software Developer Cloud Architect MLOps Engineer Solution Architect IT Manager
EXTERNAL SOURCES
- Wikipedia - Rolling update
- Kubernetes - Official deployment guide
- Microsoft Learn - Deployment strategies overview
- AWS - Elastic Beanstalk updates
TOP QUESTIONS
Why use Rolling Deployment for microservices?
It enables zero or minimal downtime deployments, isolates failures to small batches, and simplifies quick rollbacks while preserving service availability.
Category: Relevancy
How does Rolling Deployment differ from Canary Release?
Rolling updates progressively update all instances, while canary exposes only a subset of users to a new version before broader rollout.
Category: Difference
What are common mistakes in Rolling Deployment?
Ignoring backward compatibility, missing database migration sequencing, and insufficient health checks can cause cascading failures.
Category: Mistakes
What metrics guide Rolling Deployment waves?
Error rates, latency, saturation, and business KPIs determine whether to proceed, pause, or roll back.
Category: Management
How do feature flags help Rolling Deployment?
They decouple code release from feature exposure, enabling safer gradual enablement and quick disablement if issues arise.
Category: Application
What are the risks of Rolling Deployment?
Version skew can cause incompatibilities; long rollouts increase exposure time; insufficient monitoring can hide regressions.
Category: Risks
Can Rolling Deployment handle stateful services?
Yes, but requires careful session draining, migration planning, and compatibility strategies like dual-write or read replicas.
Category: Requirements
What tools support Rolling Deployment?
Kubernetes Deployments, Argo Rollouts, Spinnaker, cloud PaaS services, and CI/CD orchestrators provide native support.
Category: Tools
Where to start learning Rolling Deployment?
Begin with Kubernetes deployment docs, vendor strategy guides, and practice in staging with observability and automated rollbacks.
Category: WhereToStart