# Rolling Updates & Rollbacks

> How do you perform a zero-downtime update of a Deployment in Kubernetes, and how do you roll it back if something goes wrong?

Canonical: https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-rolling-updates
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

How do you perform a zero-downtime update of a Deployment in Kubernetes, and how do you roll it back if something goes wrong?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

RollingUpdate, maxSurge, maxUnavailable, Readiness Probe, kubectl rollout undo, Revision History

Previous: [PV, PVC, & StorageClasses](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-persistent-volumes) · Next: [DaemonSets, Jobs, & CronJobs](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-daemonsets-vs-jobs) · [All of Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)

## More Kubernetes & Orchestration questions

- [Role-Based Access Control (RBAC)](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-rbac-basics)
- [Get vs. Describe](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-kubectl-get-vs-describe)
- [Pod Lifecycle States](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-pod-states)
- [Requests vs. Limits](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-resource-requests-limits)
- [Headless Service](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-headless-service)
- [ReplicaSet](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-replica-set-role)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)
