k8wiz
Kubernetes
Medium
Concepts

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

Select your answer:

Show answer and explanation

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.

Read more about Kubernetes