You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/concepts/workloads/controllers/statefulset.md
+93Lines changed: 93 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -383,6 +383,99 @@ After reverting the template, you must also delete any Pods that StatefulSet had
383
383
already attempted to run with the bad configuration.
384
384
StatefulSet will then begin to recreate the Pods using the reverted template.
385
385
386
+
## Revision History and ControllerRevisions
387
+
388
+
**ControllerRevisions** are Kubernetes objects used by controllers like StatefulSets to track historical configuration changes. StatefulSets use ControllerRevisions to maintain a revision history, enabling rollbacks and version tracking.
389
+
390
+
---
391
+
392
+
### How ControllerRevisions Work with StatefulSets
393
+
394
+
When you update a StatefulSet's Pod template (`spec.template`), the StatefulSet controller:
395
+
396
+
1. Creates a new ControllerRevision object
397
+
2. Stores a snapshot of the Pod template and metadata
0 commit comments