# HostAliasV1 Constructors

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

Represents a host alias configuration which maps an IP address to a set of hostnames. This is used for specifying additional host entries in a pod's /etc/hosts file.

## HostAliasV1

- Name: `Constructor`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/HostAliasV1.cs#L29)

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