Merge pull request #76238 from Dieken/30s-ttl-for-coredns

change default 5s ttl to 30s for coredns to be same with kube-dns/dnsmasq
k3s-v1.15.3
Kubernetes Prow Robot 2019-04-23 06:20:09 -07:00 committed by GitHub
commit 888b81b638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 0 deletions

View File

@ -68,6 +68,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf

View File

@ -68,6 +68,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf

View File

@ -68,6 +68,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf

View File

@ -318,6 +318,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}{{ .Federation }}
prometheus :9153
forward . {{ .UpstreamNameserver }}

View File

@ -71,6 +71,7 @@ func (t *dnsFederationsConfigMapTest) run() {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
federation %v {
abc def.com
@ -86,6 +87,7 @@ func (t *dnsFederationsConfigMapTest) run() {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
federation %v {
ghi xyz.com
@ -235,6 +237,7 @@ func (t *dnsNameserverTest) run(isIPv6 bool) {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
forward . %v
}
@ -333,6 +336,7 @@ func (t *dnsPtrFwdTest) run(isIPv6 bool) {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
forward . %v
}`, framework.TestContext.ClusterDNSDomain, t.dnsServerPod.Status.PodIP),
@ -443,6 +447,7 @@ func (t *dnsExternalNameTest) run(isIPv6 bool) {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
forward . %v
}`, framework.TestContext.ClusterDNSDomain, t.dnsServerPod.Status.PodIP),