File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,11 @@ ref: recreate-statefulsets
124
124
title : Recreate the StatefulSets.
125
125
content : |
126
126
127
+ .. note::
128
+
129
+ This step removes the |k8s-statefulset| only. The pods remain
130
+ unchanged and running.
131
+
127
132
a. Delete a |k8s-statefulset| resource.
128
133
129
134
.. code-block:: sh
@@ -132,9 +137,6 @@ content: |
132
137
133
138
b. Recreate a |k8s-statefulset| resource with the new volume size.
134
139
135
- |k8s-op-short| deletes the |k8s-statefulset|, but the pods remain
136
- unchanged and running.
137
-
138
140
.. code-block:: sh
139
141
140
142
kubectl apply -f my-replica-set-vol.yaml
@@ -153,6 +155,9 @@ content: |
153
155
.. code-block:: sh
154
156
155
157
kubectl rollout restart sts <my-replica-set>
158
+
159
+ The new pods mount the resized volume.
160
+
156
161
---
157
162
stepnum : 7
158
163
level : 4
You can’t perform that action at this time.
0 commit comments