liveBook · Manning

Deployment revision

As explained in Kubernetes in Action, Second Edition

A Deployment revision is a versioned record of a Deployment's pod template and rollout state represented by an associated ReplicaSet.

A Deployment revision is a versioned record of a Deployment’s pod template and rollout state. Kubernetes represents each revision with an associated ReplicaSet, so older ReplicaSets preserve rollback history. section 15.2.6

The Deployment object does not contain the revision history directly. The Deployment controller retains associated ReplicaSets instead; `revisionHistoryLimit` controls how many remain, defaulting to 10. section 15.2.6

How Kubernetes in Action, Second Edition covers it

How deep it goes
Explains revision storage, inspection, rollback, and retention, but does not detail revision creation mechanics.
Examples
Uses Kiada revision listings, pod-template inspection, and commands reverting to revisions 1 and 2.
What you can do after
Operate/configure Deployments by listing revisions, inspecting pod templates, and rolling back to a selected revision.
How it connects
Connects Deployments with ReplicaSets, pod templates, rollouts, rollbacks, and desired revision history.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Kubernetes in Action, Second Edition. The section links point to the parts of the book it draws on.