case class PodDNSConfig(nameservers: Optional[Vector[String]] = Optional.Absent, options: Optional[Vector[PodDNSConfigOption]] = Optional.Absent, searches: Optional[Vector[String]] = Optional.Absent) extends Product with Serializable
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
- nameservers
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- options
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.
- searches
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.
- Alphabetic
- By Inheritance
- PodDNSConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PodDNSConfig(nameservers: Optional[Vector[String]] = Optional.Absent, options: Optional[Vector[PodDNSConfigOption]] = Optional.Absent, searches: Optional[Vector[String]] = Optional.Absent)
- nameservers
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- options
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.
- searches
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.
Value Members
-
def
getNameservers: IO[K8sFailure, Vector[String]]
A list of DNS name server IP addresses.
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getOptions: IO[K8sFailure, Vector[PodDNSConfigOption]]
A list of DNS resolver options.
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSearches: IO[K8sFailure, Vector[String]]
A list of DNS search domains for host-name lookup.
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val nameservers: Optional[Vector[String]]
- val options: Optional[Vector[PodDNSConfigOption]]
- val searches: Optional[Vector[String]]