Share via


StatefulSetPersistentVolumeClaimRetentionPolicyV1.WhenScaled Property

Definition

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.

[YamlDotNet.Serialization.YamlMember(Alias="whenScaled")]
public string? WhenScaled { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="whenScaled")>]
member this.WhenScaled : string with get, set
Public Property WhenScaled As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to