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

CKA study material · question 634 of 1000

An operator finds eighteen ReplicaSets for a Deployment whose revisionHistoryLimit is 10. What explains the excess?

  1. The limit counts only ReplicaSets with zero replicas
  2. Each rollback creates an extra ReplicaSet exempt from the limit
  3. The Deployment has never reached a complete state, so cleanup has not run
  4. The limit is enforced per namespace rather than per Deployment
Show the answer

Answer: C. The Deployment has never reached a complete state, so cleanup has not run

Cleanup only starts once a Deployment reaches a complete state, so a repeatedly failing rollout accumulates more ReplicaSets than the configured limit.

Source: Deployments (Kubernetes) — Clean up Policy

Challenge yourself on this topic → Study as cards