Share via


VolumeMountV1.MountPropagation Property

Definition

Specifies the mount propagation behavior for the volume mount. Defines how mounts are propagated from the host to the container and vice versa. This property is typically used to control sharing of volumes between containers and impacts the way the volume is mounted in the container environment. Can be set to specific propagation modes such as "HostToContainer", "Bidirectional", or left null for default behavior.

[YamlDotNet.Serialization.YamlMember(Alias="mountPropagation")]
public string? MountPropagation { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="mountPropagation")>]
member this.MountPropagation : string with get, set
Public Property MountPropagation As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to