HostAliasArgs

data class HostAliasArgs(val hostnames: Output<List<String>>? = null, val ip: Output<String>) : ConvertibleToJava<HostAliasArgs>

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

Constructors

Link copied to clipboard
constructor(hostnames: Output<List<String>>? = null, ip: Output<String>)

Properties

Link copied to clipboard
val hostnames: Output<List<String>>? = null

Hostnames for the above IP address.

Link copied to clipboard
val ip: Output<String>

IP address of the host file entry.

Functions

Link copied to clipboard
open override fun toJava(): HostAliasArgs