StatefulSetPersistentVolumeClaimRetentionPolicyV1 Properties
Class Properties 2 members
Represents the retention policy for PersistentVolumeClaims (PVCs) associated with a StatefulSet in Kubernetes.
Gets or sets the policy that determines the retention behavior of PersistentVolumeClaims (PVCs) when a StatefulSet is deleted. This property defines how PVCs associated with the StatefulSet should be handled upon deletion of the StatefulSet resource.
public string? WhenDeleted { get; set; } Gets or sets the policy for handling Persistent Volume Claims (PVCs) when a StatefulSet is scaled. This property determines how PVCs are retained or deleted based on scaling operations for the StatefulSet.
public string? WhenScaled { get; set; }