Skip to content

core.v1.hostAlias

"HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file."

Index

Fields

fn withHostnames

withHostnames(hostnames)

"Hostnames for the above IP address."

fn withHostnamesMixin

withHostnamesMixin(hostnames)

"Hostnames for the above IP address."

Note: This function appends passed data to existing values

fn withIp

withIp(ip)

"IP address of the host file entry."