Watch Aspire live streamsDocsTry Aspire

StatefulSetPersistentVolumeClaimRetentionPolicyV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
Represents the retention policy for PersistentVolumeClaims (PVCs) associated with a StatefulSet in Kubernetes.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class StatefulSetPersistentVolumeClaimRetentionPolicyV1
{
// ...
}
The StatefulSetPersistentVolumeClaimRetentionPolicyV1 class specifies the behavior of PersistentVolumeClaims when a StatefulSet is either deleted or scaled down. It defines retention behaviors through the properties WhenDeleted and WhenScaled.
View all constructors
View all properties