Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change default 5s ttl to 30s for coredns to be same with kube-dns/dnsmasq #76238

Merged
merged 1 commit into from Apr 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions cluster/addons/dns/coredns/coredns.yaml.base
Expand Up @@ -68,6 +68,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf
Expand Down
1 change: 1 addition & 0 deletions cluster/addons/dns/coredns/coredns.yaml.in
Expand Up @@ -68,6 +68,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf
Expand Down
1 change: 1 addition & 0 deletions cluster/addons/dns/coredns/coredns.yaml.sed
Expand Up @@ -68,6 +68,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf
Expand Down
1 change: 1 addition & 0 deletions cmd/kubeadm/app/phases/addons/dns/manifests.go
Expand Up @@ -318,6 +318,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}{{ .Federation }}
prometheus :9153
forward . {{ .UpstreamNameserver }}
Expand Down
5 changes: 5 additions & 0 deletions test/e2e/network/dns_configmap.go
Expand Up @@ -71,6 +71,7 @@ func (t *dnsFederationsConfigMapTest) run() {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
federation %v {
abc def.com
Expand All @@ -86,6 +87,7 @@ func (t *dnsFederationsConfigMapTest) run() {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
federation %v {
ghi xyz.com
Expand Down Expand Up @@ -235,6 +237,7 @@ func (t *dnsNameserverTest) run(isIPv6 bool) {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
forward . %v
}
Expand Down Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down