Study. uk . com
  1. Home
  2. All questions
  3. Question 626

CKA study material · question 626 of 1000

An application cannot tolerate two versions running at once, even briefly. Which Deployment strategy type meets that requirement?

  1. RollingUpdate with maxSurge set to 0
  2. RollingUpdate with maxUnavailable set to 100%
  3. OnDelete
  4. Recreate
Show the answer

Answer: D. Recreate

Recreate kills every old Pod before creating any new one, so the two revisions never overlap. RollingUpdate always overlaps to some degree, and OnDelete is a StatefulSet and DaemonSet strategy.

Source: Deployments (Kubernetes) — Writing a Deployment Spec › Strategy

Challenge yourself on this topic → Study as cards