PersistentVolumeClaimSpecV1.VolumeMode 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.
Specifies the volume mode for a PersistentVolumeClaim. This determines how data in the volume is accessed by pods using the claim.
[YamlDotNet.Serialization.YamlMember(Alias="volumeMode")]
public string VolumeMode { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="volumeMode")>]
member this.VolumeMode : string with get, set
Public Property VolumeMode As String
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
Possible values include: - "Filesystem": The volume is mounted as a filesystem. - "Block": The volume is used as a raw block device. This property is important for ensuring compatibility between the volume type and the application accessing it.