@@ -47,8 +47,8 @@ that provides a set of stateless replicas.
47
47
## Limitations
48
48
49
49
* The storage for a given Pod must either be provisioned by a
50
- [ PersistentVolume Provisioner] ( https://github.com/kubernetes/examples/tree/master/staging/persistent-volume-provisioning/README.md )
51
- based on the requested ` storage class ` , or pre-provisioned by an admin.
50
+ [ PersistentVolume Provisioner] ( /docs/concepts/storage/dynamic-provisioning/ ) ( [ examples here ] ( https://github.com/kubernetes/examples/tree/master/staging/persistent-volume-provisioning/README.md ) )
51
+ based on the requested _ storage class _ , or pre-provisioned by an admin.
52
52
* Deleting and/or scaling a StatefulSet down will * not* delete the volumes associated with the
53
53
StatefulSet. This is done to ensure data safety, which is generally more valuable than an
54
54
automatic purge of all related StatefulSet resources.
@@ -144,10 +144,14 @@ validation error during StatefulSet creation.
144
144
145
145
# ## Volume Claim Templates
146
146
147
- You can set the `.spec.volumeClaimTemplates` which can provide stable storage using
148
- [PersistentVolumes ](/docs/concepts/storage/persistent-volumes/) provisioned by a PersistentVolume
149
- Provisioner.
147
+ You can set the `.spec.volumeClaimTemplates` field to create a
148
+ [PersistentVolumeClaim ](/docs/concepts/storage/persistent-volumes/).
149
+ This will provide stable storage to the StatefulSet if either
150
150
151
+ * The StorageClass specified for the volume claim is set up to use [dynamic
152
+ provisioning](/docs/concepts/storage/dynamic-provisioning/), or
153
+ * The cluster already contains a PersistentVolume with the correct StorageClass
154
+ and sufficient available storage space.
151
155
152
156
# ## Minimum ready seconds
153
157
@@ -491,5 +495,4 @@ the `.spec.replicas` field automatically.
491
495
Read the {{< api-reference page="workload-resources/stateful-set-v1" >}}
492
496
object definition to understand the API for stateful sets.
493
497
* Read about [PodDisruptionBudget](/docs/concepts/workloads/pods/disruptions/) and how
494
- you can use it to manage application availability during disruptions.
495
-
498
+ you can use it to manage application availability during disruptions.
0 commit comments