HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod’s hosts file.
new()
withHostnames(hostnames)
Hostnames for the above IP address.
withHostnamesMixin(hostnames)
Hostnames for the above IP address.
withIp(ip)
IP address of the host file entry.