PodSpecV1.DnsPolicy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the DNS policy for the pod. This property determines the DNS settings applied to the pod, such as how DNS resolution is configured. Common values include "ClusterFirst" and "Default".
[YamlDotNet.Serialization.YamlMember(Alias="dnsPolicy")]
public string? DnsPolicy { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="dnsPolicy")>]
member this.DnsPolicy : string with get, set
Public Property DnsPolicy As String
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute