PersistentVolumeSpecV1.PersistentVolumeReclaimPolicy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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