mirror of https://github.com/k3s-io/k3s
Merge pull request #76238 from Dieken/30s-ttl-for-coredns
change default 5s ttl to 30s for coredns to be same with kube-dns/dnsmasqk3s-v1.15.3
commit
888b81b638
|
@ -68,6 +68,7 @@ data:
|
|||
pods insecure
|
||||
upstream
|
||||
fallthrough in-addr.arpa ip6.arpa
|
||||
ttl 30
|
||||
}
|
||||
prometheus :9153
|
||||
forward . /etc/resolv.conf
|
||||
|
|
|
@ -68,6 +68,7 @@ data:
|
|||
pods insecure
|
||||
upstream
|
||||
fallthrough in-addr.arpa ip6.arpa
|
||||
ttl 30
|
||||
}
|
||||
prometheus :9153
|
||||
forward . /etc/resolv.conf
|
||||
|
|
|
@ -68,6 +68,7 @@ data:
|
|||
pods insecure
|
||||
upstream
|
||||
fallthrough in-addr.arpa ip6.arpa
|
||||
ttl 30
|
||||
}
|
||||
prometheus :9153
|
||||
forward . /etc/resolv.conf
|
||||
|
|
|
@ -318,6 +318,7 @@ data:
|
|||
pods insecure
|
||||
upstream
|
||||
fallthrough in-addr.arpa ip6.arpa
|
||||
ttl 30
|
||||
}{{ .Federation }}
|
||||
prometheus :9153
|
||||
forward . {{ .UpstreamNameserver }}
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue