Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
888b81b6
Unverified
Commit
888b81b6
authored
Apr 23, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Apr 23, 2019
Browse files
Options
Browse Files
Download
Plain Diff
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
parents
e6390ce3
f7f51fab
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
0 deletions
+9
-0
coredns.yaml.base
cluster/addons/dns/coredns/coredns.yaml.base
+1
-0
coredns.yaml.in
cluster/addons/dns/coredns/coredns.yaml.in
+1
-0
coredns.yaml.sed
cluster/addons/dns/coredns/coredns.yaml.sed
+1
-0
manifests.go
cmd/kubeadm/app/phases/addons/dns/manifests.go
+1
-0
dns_configmap.go
test/e2e/network/dns_configmap.go
+5
-0
No files found.
cluster/addons/dns/coredns/coredns.yaml.base
View file @
888b81b6
...
@@ -68,6 +68,7 @@ data:
...
@@ -68,6 +68,7 @@ data:
pods insecure
pods insecure
upstream
upstream
fallthrough in-addr.arpa ip6.arpa
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
}
prometheus :9153
prometheus :9153
forward . /etc/resolv.conf
forward . /etc/resolv.conf
...
...
cluster/addons/dns/coredns/coredns.yaml.in
View file @
888b81b6
...
@@ -68,6 +68,7 @@ data:
...
@@ -68,6 +68,7 @@ data:
pods insecure
pods insecure
upstream
upstream
fallthrough in-addr.arpa ip6.arpa
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
}
prometheus :9153
prometheus :9153
forward . /etc/resolv.conf
forward . /etc/resolv.conf
...
...
cluster/addons/dns/coredns/coredns.yaml.sed
View file @
888b81b6
...
@@ -68,6 +68,7 @@ data:
...
@@ -68,6 +68,7 @@ data:
pods insecure
pods insecure
upstream
upstream
fallthrough in-addr.arpa ip6.arpa
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
}
prometheus :9153
prometheus :9153
forward . /etc/resolv.conf
forward . /etc/resolv.conf
...
...
cmd/kubeadm/app/phases/addons/dns/manifests.go
View file @
888b81b6
...
@@ -318,6 +318,7 @@ data:
...
@@ -318,6 +318,7 @@ data:
pods insecure
pods insecure
upstream
upstream
fallthrough in-addr.arpa ip6.arpa
fallthrough in-addr.arpa ip6.arpa
ttl 30
}{{ .Federation }}
}{{ .Federation }}
prometheus :9153
prometheus :9153
forward . {{ .UpstreamNameserver }}
forward . {{ .UpstreamNameserver }}
...
...
test/e2e/network/dns_configmap.go
View file @
888b81b6
...
@@ -71,6 +71,7 @@ func (t *dnsFederationsConfigMapTest) run() {
...
@@ -71,6 +71,7 @@ func (t *dnsFederationsConfigMapTest) run() {
pods insecure
pods insecure
upstream
upstream
fallthrough in-addr.arpa ip6.arpa
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
}
federation %v {
federation %v {
abc def.com
abc def.com
...
@@ -86,6 +87,7 @@ func (t *dnsFederationsConfigMapTest) run() {
...
@@ -86,6 +87,7 @@ func (t *dnsFederationsConfigMapTest) run() {
pods insecure
pods insecure
upstream
upstream
fallthrough in-addr.arpa ip6.arpa
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
}
federation %v {
federation %v {
ghi xyz.com
ghi xyz.com
...
@@ -235,6 +237,7 @@ func (t *dnsNameserverTest) run(isIPv6 bool) {
...
@@ -235,6 +237,7 @@ func (t *dnsNameserverTest) run(isIPv6 bool) {
pods insecure
pods insecure
upstream
upstream
fallthrough in-addr.arpa ip6.arpa
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
}
forward . %v
forward . %v
}
}
...
@@ -333,6 +336,7 @@ func (t *dnsPtrFwdTest) run(isIPv6 bool) {
...
@@ -333,6 +336,7 @@ func (t *dnsPtrFwdTest) run(isIPv6 bool) {
pods insecure
pods insecure
upstream
upstream
fallthrough in-addr.arpa ip6.arpa
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
}
forward . %v
forward . %v
}`
,
framework
.
TestContext
.
ClusterDNSDomain
,
t
.
dnsServerPod
.
Status
.
PodIP
),
}`
,
framework
.
TestContext
.
ClusterDNSDomain
,
t
.
dnsServerPod
.
Status
.
PodIP
),
...
@@ -443,6 +447,7 @@ func (t *dnsExternalNameTest) run(isIPv6 bool) {
...
@@ -443,6 +447,7 @@ func (t *dnsExternalNameTest) run(isIPv6 bool) {
pods insecure
pods insecure
upstream
upstream
fallthrough in-addr.arpa ip6.arpa
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
}
forward . %v
forward . %v
}`
,
framework
.
TestContext
.
ClusterDNSDomain
,
t
.
dnsServerPod
.
Status
.
PodIP
),
}`
,
framework
.
TestContext
.
ClusterDNSDomain
,
t
.
dnsServerPod
.
Status
.
PodIP
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment