class K8S::Api::Core::V1::PodDNSConfig

Overview

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

Included Modules

Defined in:

versions/v1.17/api/core/v1/pod_dns_config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, nameservers : Array? = nil, options : Array? = nil, searches : Array? = nil) #

[View source]

Instance Method Detail

def nameservers : Array(String)? #

[View source]
def nameservers=(nameservers : Array(String)?) #

[View source]
def options : Array(Api::Core::V1::PodDNSConfigOption)? #

[View source]
def options=(options : Array(Api::Core::V1::PodDNSConfigOption)?) #

[View source]
def searches : Array(String)? #

[View source]
def searches=(searches : Array(String)?) #

[View source]