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
+7-11Lines changed: 7 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -383,28 +383,24 @@ 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
386
+
## Revision History for StatefulSets
387
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.
388
+
ControllerRevisions are Kubernetes objects used by controllers, such as the StatefulSets controller, to track historical configuration changes.
389
+
390
+
StatefulSets use ControllerRevisions to maintain a revision history, enabling rollbacks and version tracking.
389
391
390
-
---
391
392
392
-
### How ControllerRevisions Work with StatefulSets
393
+
### How StatefulSets track changes using ControllerRevisions
393
394
394
395
When you update a StatefulSet's Pod template (`spec.template`), the StatefulSet controller:
395
396
396
-
1. Creates a new ControllerRevision object
397
+
1. Prepares a new ControllerRevision object
397
398
2. Stores a snapshot of the Pod template and metadata
0 commit comments