Share via


PodDnsConfigV1.Nameservers Property

Definition

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

[YamlDotNet.Serialization.YamlMember(Alias="nameservers")]
public System.Collections.Generic.List<string> Nameservers { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="nameservers")>]
member this.Nameservers : System.Collections.Generic.List<string>
Public ReadOnly Property Nameservers As List(Of String)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

This property defines the nameservers for the Pod's DNS configuration. If specified, these nameservers replace the default nameservers provided by the Kubernetes cluster's DNS configuration.

Applies to