VolumeV1.HostPath 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.
Gets or sets the HostPath volume source for the volume. HostPath volume sources allow mounting a file or directory from the host node's filesystem into a pod. This is typically used for scenarios like accessing host filesystem resources or sharing data between containers in a pod.
[YamlDotNet.Serialization.YamlMember(Alias="hostPath")]
public Aspire.Hosting.Kubernetes.Resources.HostPathVolumeSourceV1? HostPath { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="hostPath")>]
member this.HostPath : Aspire.Hosting.Kubernetes.Resources.HostPathVolumeSourceV1 with get, set
Public Property HostPath As HostPathVolumeSourceV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute