@@ -172,14 +172,18 @@ spec:
172
172
# The pod template ends here
173
173
```
174
174
175
- Modifying the pod template or switching to a new pod template has no effect on the
176
- Pods that already exist. Pods do not receive template updates directly. Instead,
177
- a new Pod is created to match the revised pod template.
178
-
179
- For example, the deployment controller ensures that the running Pods match the current
180
- pod template for each Deployment object. If the template is updated, the Deployment has
181
- to remove the existing Pods and create new Pods based on the updated template. Each workload
182
- resource implements its own rules for handling changes to the Pod template.
175
+ Modifying the pod template or switching to a new pod template has no direct effect
176
+ on the Pods that already exist. If you change the pod template for a workload
177
+ resource, that resource needs to create replacement Pods that use the updated template.
178
+
179
+ For example, the StatefulSet controller ensures that the running Pods match the current
180
+ pod template for each StatefulSet object. If you edit the StatefulSet to change its pod
181
+ template, the StatefulSet starts to create new Pods based on the updated template.
182
+ Eventually, all of the old Pods are replaced with new Pods, and the update is complete.
183
+
184
+ Each workload resource implements its own rules for handling changes to the Pod template.
185
+ If you want to read more about StatefulSet specifically, read
186
+ [ Update strategy] ( /docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets ) in the StatefulSet Basics tutorial.
183
187
184
188
On Nodes, the {{< glossary_tooltip term_id="kubelet" text="kubelet" >}} does not
185
189
directly observe or manage any of the details around pod templates and updates; those
0 commit comments