Improve feature gate StatefulSetAutoDeletePVC description

pull/37632/head
Mengjiao Liu 2022-11-01 10:52:35 +08:00
parent 8fee63affc
commit 48363e2a93
1 changed files with 2 additions and 2 deletions

View File

@ -350,8 +350,8 @@ StatefulSet will then begin to recreate the Pods using the reverted template.
The optional `.spec.persistentVolumeClaimRetentionPolicy` field controls if
and how PVCs are deleted during the lifecycle of a StatefulSet. You must enable the
`StatefulSetAutoDeletePVC` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
to use this field. Once enabled, there are two policies you can configure for each
StatefulSet:
on the API server and the controller manager to use this field.
Once enabled, there are two policies you can configure for each StatefulSet:
`whenDeleted`
: configures the volume retention behavior that applies when the StatefulSet is deleted