HostAliasV1 Properties
Class Properties 2 members
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.
Represents a collection of hostnames associated with a specific IP address. This property contains a list of hostnames used for defining aliases.
public List<string> Hostnames { get; } Gets or sets the IP address associated with the HostAlias in the Kubernetes resource definition.
public string Ip { get; set; }Remarks
This property represents the IP address that will be mapped to the specified hostnames in the resource.