Merge pull request #48484 from mattcary/autodelete-132

KEP-1847 v1.32 stable docs changesAutodelete 132
pull/48664/head
Kubernetes Prow Robot 2024-11-08 00:40:43 +00:00 committed by GitHub
commit 919eaa6563
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View File

@ -386,7 +386,7 @@ StatefulSet will then begin to recreate the Pods using the reverted template.
## PersistentVolumeClaim retention
{{< feature-state for_k8s_version="v1.27" state="beta" >}}
{{< feature-state feature_gate_name="StatefulSetAutoDeletePVC" >}}
The optional `.spec.persistentVolumeClaimRetentionPolicy` field controls if
and how PVCs are deleted during the lifecycle of a StatefulSet. You must enable the
@ -493,4 +493,4 @@ the `.spec.replicas` field automatically.
Read the {{< api-reference page="workload-resources/stateful-set-v1" >}}
object definition to understand the API for stateful sets.
* Read about [PodDisruptionBudget](/docs/concepts/workloads/pods/disruptions/) and how
you can use it to manage application availability during disruptions.
you can use it to manage application availability during disruptions.

View File

@ -14,9 +14,13 @@ stages:
- stage: beta
defaultValue: true
fromVersion: "1.27"
toVersion: "1.31"
- stage: stable
defaultValue: true
fromVersion: "1.32"
---
Allows the use of the optional `.spec.persistentVolumeClaimRetentionPolicy` field,
providing control over the deletion of PVCs in a StatefulSet's lifecycle.
See
[PersistentVolumeClaim retention](/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention)
for more details.
for more details.