LocalDNSProfile interface
Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
Properties
| kube |
KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic). |
| mode | Mode of enablement for localDNS. |
| state | System-generated state of localDNS. NOTE: This property will not be serialized. It can only be populated by the server. |
| vnet |
VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic). |
Property Details
kubeDNSOverrides
KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
kubeDNSOverrides?: {[propertyName: string]: LocalDNSOverride}
Property Value
{[propertyName: string]: LocalDNSOverride}
mode
Mode of enablement for localDNS.
mode?: string
Property Value
string
state
System-generated state of localDNS. NOTE: This property will not be serialized. It can only be populated by the server.
state?: string
Property Value
string
vnetDNSOverrides
VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
vnetDNSOverrides?: {[propertyName: string]: LocalDNSOverride}
Property Value
{[propertyName: string]: LocalDNSOverride}