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

CKA study material · question 636 of 1000

A Deployment uses the Recreate strategy. An operator deletes one of its Pods by hand. What happens?

  1. The ReplicaSet creates a replacement immediately, even while the old Pod terminates
  2. The replacement waits until the deleted Pod has fully terminated
  3. The whole Deployment is recreated from scratch
  4. No replacement is made until the next rollout
Show the answer

Answer: A. The ReplicaSet creates a replacement immediately, even while the old Pod terminates

Recreate only guarantees ordering during an upgrade. A hand-deleted Pod's lifecycle is governed by the ReplicaSet, which replaces it at once; a StatefulSet is the object that gives an at-most-one guarantee.

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

Challenge yourself on this topic → Study as cards