Rolling Update
Question
What is a rolling update?
Hint
Rolling updates maintain availability during deployment.
Explanation
A rolling update replaces old instances with new ones one at a time (or in small batches), keeping some instances running at all times. Process: 1) Update one instance to the new version. 2) Wait for it to be healthy. 3) Update the next. 4) Repeat until all updated. If an update fails, the rollout pauses. Kubernetes Deployments use rolling updates by default (maxUnavailable and maxSurge control the pace). Benefits: zero downtime, gradual rollout, automatic rollback on failure. Drawbacks: old and new versions run simultaneously (needs backward compatibility). Rolling updates are the default deployment strategy in Kubernetes.
Related Resources
Related Lessons
- Deployment
Learn deployment.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.