prometheus operator v0.71.2

PrometheusAgent.spec.persistentVolumeClaimRetentionPolicy.whenScaled

WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.

1 fields
PrometheusAgent.spec.persistentVolumeClaimRetentionPolicy.whenScaled fields and descriptions
Field / TypeDescription
PrometheusAgent.spec.persistentVolumeClaimRetentionPolicy.whenScaled
string

WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.