# HostPathVolumeSourceV1 Constructors

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [HostPathVolumeSourceV1](/reference/api/csharp/aspire.hosting.kubernetes/hostpathvolumesourcev1.md)
- Kind: `Constructors`
- Members: `1`

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.

## HostPathVolumeSourceV1

- Name: `Constructor`

```csharp
public sealed class HostPathVolumeSourceV1
{
    public HostPathVolumeSourceV1()
    {
        // ...
    }
}
```
