PodDNSConfigPatchArgs

data class PodDNSConfigPatchArgs(val nameservers: Output<List<String>>? = null, val options: Output<List<PodDNSConfigOptionPatchArgs>>? = null, val searches: Output<List<String>>? = null) : ConvertibleToJava<PodDNSConfigPatchArgs>

PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.

Constructors

Link copied to clipboard
constructor(nameservers: Output<List<String>>? = null, options: Output<List<PodDNSConfigOptionPatchArgs>>? = null, searches: Output<List<String>>? = null)

Properties

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

A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.

Link copied to clipboard

A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.

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

A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.

Functions

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