Share via


PersistentVolumeSpecV1.AccessModes Property

Definition

Represents the access modes for a Persistent Volume in a Kubernetes cluster. AccessModes define the ways in which the volume can be mounted and utilized:

  • ReadWriteOnce: The volume can be mounted as read-write by a single node.
  • ReadOnlyMany: The volume can be mounted read-only by many nodes.
  • ReadWriteMany: The volume can be mounted as read-write by many nodes.
[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

Applies to