struct
Kubernetes::PodDNSConfig
- Kubernetes::PodDNSConfig
- Struct
- Value
- Object
Overview
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_core_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#nameservers : Array(String) | Nil
A list of DNS name server IP addresses.
-
#nameservers=(nameservers : Array(String) | Nil)
A list of DNS name server IP addresses.
-
#options : Array(PodDNSConfigOption) | Nil
A list of DNS resolver options.
-
#options=(options : Array(PodDNSConfigOption) | Nil)
A list of DNS resolver options.
-
#searches : Array(String) | Nil
A list of DNS search domains for host-name lookup.
-
#searches=(searches : Array(String) | Nil)
A list of DNS search domains for host-name lookup.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
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.
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.
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.
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.