Skip to content
Docs Try Aspire
Docs Try

HostAliasV1

Class sealed net8.0
📦 Aspire.Hosting.Kubernetes v13.3.0-preview.1.26254.5
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.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HostAliasV1
{
// ...
}