Share via


PodDnsConfigV1 Class

Definition

Represents the DNS configuration for a Pod in Kubernetes.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class PodDnsConfigV1
[<YamlDotNet.Serialization.YamlSerializable>]
type PodDnsConfigV1 = class
Public NotInheritable Class PodDnsConfigV1
Inheritance
PodDnsConfigV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

This class is used to define custom DNS settings, including nameservers, search domains, and DNS configuration options, for a Pod in Kubernetes.

Constructors

PodDnsConfigV1()

Properties

Nameservers

Gets the list of IP addresses of DNS servers to be used by the Pod.

Options

Represents a list of DNS configuration options for a Pod in Kubernetes.

Searches

Gets the list of DNS search domains used for name resolution in the Pod's DNS configuration.

Applies to