# What is the difference between a RollingUpdate and a Recreate deployment strategy?

Kubernetes, Medium (Advanced), Concepts. https://k8wiz.com/uquiz/what-is-the-difference-between-a-rollingupdate-and-a-recreate-deployment-strategy

- A. RollingUpdate gradually replaces pods, while Recreate terminates all existing pods before creating new ones
- B. RollingUpdate is for stateful applications, while Recreate is for stateless applications
- C. RollingUpdate requires more resources, while Recreate is more resource-efficient
- D. RollingUpdate is the default strategy, while Recreate must be explicitly configured

**Answer:** RollingUpdate gradually replaces pods, while Recreate terminates all existing pods before creating new ones

**Explanation:** With a RollingUpdate strategy, the Deployment updates pods in a rolling fashion, creating new pods and terminating old ones gradually, ensuring availability during updates. With a Recreate strategy, all existing pods are terminated before new ones are created, causing downtime but ensuring no two versions run simultaneously.
