Share via


PersistentVolumeClaimSpecV1.AccessModes Property

Definition

Defines the access modes for a Persistent Volume Claim.

[YamlDotNet.Serialization.YamlMember(Alias="accessModes")]
public System.Collections.Generic.List<string> AccessModes { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="accessModes")>]
member this.AccessModes : System.Collections.Generic.List<string>
Public ReadOnly Property AccessModes As List(Of String)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

Access modes specify the type of access a pod has to the persistent volume. The supported access modes are: - ReadWriteOnce: The volume can be mounted as read-write by a single node. - ReadOnlyMany: The volume can be mounted as read-only by many nodes. - ReadWriteMany: The volume can be mounted as read-write by many nodes.

Applies to