k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.1 KiB
56 lines
1.1 KiB
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: nodelocaldns
|
|
namespace: kube-system
|
|
labels:
|
|
addonmanager.kubernetes.io/mode: EnsureExists
|
|
|
|
data:
|
|
Corefile: |
|
|
{{ dns_domain }}:53 {
|
|
errors
|
|
cache {
|
|
success 9984 30
|
|
denial 9984 5
|
|
}
|
|
reload
|
|
loop
|
|
bind {{ nodelocaldns_ip }}
|
|
forward . {{ forwardTarget }} {
|
|
force_tcp
|
|
}
|
|
prometheus :9253
|
|
health {{ nodelocaldns_ip }}:8080
|
|
}
|
|
in-addr.arpa:53 {
|
|
errors
|
|
cache 30
|
|
reload
|
|
loop
|
|
bind {{ nodelocaldns_ip }}
|
|
forward . {{ forwardTarget }} {
|
|
force_tcp
|
|
}
|
|
prometheus :9253
|
|
}
|
|
ip6.arpa:53 {
|
|
errors
|
|
cache 30
|
|
reload
|
|
loop
|
|
bind {{ nodelocaldns_ip }}
|
|
forward . {{ forwardTarget }} {
|
|
force_tcp
|
|
}
|
|
prometheus :9253
|
|
}
|
|
.:53 {
|
|
errors
|
|
cache 30
|
|
reload
|
|
loop
|
|
bind {{ nodelocaldns_ip }}
|
|
forward . {{ upstreamForwardTarget }}
|
|
prometheus :9253
|
|
}
|