StatefulSetPersistentVolumeClaimRetentionPolicyV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v17.0.0
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