Share via


PersistentVolumeSpecV1.PersistentVolumeReclaimPolicy Property

Definition

Describes the reclaim policy of a PersistentVolume in Kubernetes. The reclaim policy determines how a PersistentVolume should be treated when it is released from its associated PersistentVolumeClaim. Typical values include:

  • "Retain": Retains the volume for manual recovery.
  • "Recycle": Cleans the volume by removing its contents for reuse.
  • "Delete": Deletes the volume from storage.
[YamlDotNet.Serialization.YamlMember(Alias="persistentVolumeReclaimPolicy")]
public string PersistentVolumeReclaimPolicy { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="persistentVolumeReclaimPolicy")>]
member this.PersistentVolumeReclaimPolicy : string with get, set
Public Property PersistentVolumeReclaimPolicy As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to