What happens when you roll back to a specific revision of a Deployment?

Study for the Kubernetes Cloud Native Associate (KCNA) Certification 1 Test. Master the core concepts of Kubernetes with multiple-choice questions and detailed explanations. Prepare and boost your confidence for the KCNA certification exam!

Multiple Choice

What happens when you roll back to a specific revision of a Deployment?

Explanation:
Rolling back to a specific revision reactivates the ReplicaSet that was created for that revision. Kubernetes keeps a history of ReplicaSets for each Deployment, one per revision. When you roll back, the Deployment switches its active Pod template back to that older revision and the corresponding ReplicaSet becomes the current one. The old ReplicaSet isn’t deleted; it’s simply reused as the latest revision, and the system reconciles pods to match that revision.

Rolling back to a specific revision reactivates the ReplicaSet that was created for that revision. Kubernetes keeps a history of ReplicaSets for each Deployment, one per revision. When you roll back, the Deployment switches its active Pod template back to that older revision and the corresponding ReplicaSet becomes the current one. The old ReplicaSet isn’t deleted; it’s simply reused as the latest revision, and the system reconciles pods to match that revision.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy