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
f7f51fab
Commit
f7f51fab
authored
Apr 07, 2019
by
Yubao Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change default 5s ttl to 30s for coredns to be same with kube-dns/dnsmasq
parent
96005559
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 @
f7f51fab
...
...
@@ -68,6 +68,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf
...
...
cluster/addons/dns/coredns/coredns.yaml.in
View file @
f7f51fab
...
...
@@ -68,6 +68,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf
...
...
cluster/addons/dns/coredns/coredns.yaml.sed
View file @
f7f51fab
...
...
@@ -68,6 +68,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf
...
...
cmd/kubeadm/app/phases/addons/dns/manifests.go
View file @
f7f51fab
...
...
@@ -318,6 +318,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}{{ .Federation }}
prometheus :9153
forward . {{ .UpstreamNameserver }}
...
...
test/e2e/network/dns_configmap.go
View file @
f7f51fab
...
...
@@ -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
),
...
...
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