Skip to content
Docs Try Aspire

HostPathVolumeSourceV1

Class sealed net8.0
📦 Aspire.Hosting.Kubernetes v13.2.0-preview.1.26170.3
Represents a HostPath volume source in Kubernetes. A HostPath volume mounts a directory from the host node's filesystem into a pod. This can be used for scenarios such as sharing data between containers or accessing specific host resources.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HostPathVolumeSourceV1
{
// ...
}