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

CKA study material · question 633 of 1000

How many old ReplicaSets does a Deployment retain by default, and what does keeping them enable?

  1. Three, for auditing past rollouts
  2. Ten, so earlier revisions can be rolled back to
  3. One, the immediately preceding revision
  4. All of them, until manually pruned
Show the answer

Answer: B. Ten, so earlier revisions can be rolled back to

revisionHistoryLimit defaults to 10, and each revision's configuration lives in its ReplicaSet, so deleting one removes the ability to roll back to that revision.

Source: Deployments (Kubernetes) — Writing a Deployment Spec › Revision History Limit

Challenge yourself on this topic → Study as cards