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
648cb98a
Unverified
Commit
648cb98a
authored
May 17, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
May 17, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #78030 from rajansandeep/bump1.5.0
Bump CoreDNS version to 1.5.0 and update manifest
parents
961ea6bd
0b284194
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
30 deletions
+30
-30
coredns.yaml.base
cluster/addons/dns/coredns/coredns.yaml.base
+4
-4
coredns.yaml.in
cluster/addons/dns/coredns/coredns.yaml.in
+4
-4
coredns.yaml.sed
cluster/addons/dns/coredns/coredns.yaml.sed
+4
-4
constants.go
cmd/kubeadm/app/constants/constants.go
+1
-1
manifests.go
cmd/kubeadm/app/phases/addons/dns/manifests.go
+3
-3
compute_test.go
cmd/kubeadm/app/phases/upgrade/compute_test.go
+14
-14
No files found.
cluster/addons/dns/coredns/coredns.yaml.base
View file @
648cb98a
...
...
@@ -64,9 +64,9 @@ data:
.:53 {
errors
health
ready
kubernetes __PILLAR__DNS__DOMAIN__ in-addr.arpa ip6.arpa {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
...
...
@@ -116,7 +116,7 @@ spec:
beta.kubernetes.io/os: linux
containers:
- name: coredns
image: k8s.gcr.io/coredns:1.
3.1
image: k8s.gcr.io/coredns:1.
5.0
imagePullPolicy: IfNotPresent
resources:
limits:
...
...
@@ -150,8 +150,8 @@ spec:
failureThreshold: 5
readinessProbe:
httpGet:
path: /
health
port: 8
080
path: /
ready
port: 8
181
scheme: HTTP
securityContext:
allowPrivilegeEscalation: false
...
...
cluster/addons/dns/coredns/coredns.yaml.in
View file @
648cb98a
...
...
@@ -64,9 +64,9 @@ data:
.:53 {
errors
health
ready
kubernetes {{ pillar['dns_domain'] }} in-addr.arpa ip6.arpa {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
...
...
@@ -116,7 +116,7 @@ spec:
beta.kubernetes.io/os: linux
containers:
- name: coredns
image: k8s.gcr.io/coredns:1.
3.1
image: k8s.gcr.io/coredns:1.
5.0
imagePullPolicy: IfNotPresent
resources:
limits:
...
...
@@ -150,8 +150,8 @@ spec:
failureThreshold: 5
readinessProbe:
httpGet:
path: /
health
port: 8
080
path: /
ready
port: 8
181
scheme: HTTP
securityContext:
allowPrivilegeEscalation: false
...
...
cluster/addons/dns/coredns/coredns.yaml.sed
View file @
648cb98a
...
...
@@ -64,9 +64,9 @@ data:
.:53 {
errors
health
read
y
kuber
n
ete
s
$
DNS_DOMAIN
in-addr.arpa
i
p6.arpa {
p
o
ds
insecure
upstream
f
a
llthrough in-addr.arpa ip6.arpa
tt
l
30
}
...
...
@@ -116,7 +116,7 @@ spec:
bet
a
.kubernetes.io/os: linux
c
ontainers:
-
na
me: coredns
i
mage: k8s.gcr.io/coredns:1.
3.1
i
mage: k8s.gcr.io/coredns:1.
5.0
i
magePullPolicy: IfNotPresent
re
s
o
urces:
limits:
...
...
@@ -150,8 +150,8 @@ spec:
failureThreshold
:
5
re
a
dinessProbe:
h
tt
pG
et
:
path:
/
h
e
a
lth
p
ort
:
8
080
path:
/
re
a
dy
p
ort
:
8
181
s
c
heme: HTTP
se
c
urityContext:
allowPrivilegeEs
c
a
lation: false
...
...
cmd/kubeadm/app/constants/constants.go
View file @
648cb98a
...
...
@@ -328,7 +328,7 @@ const (
KubeDNSVersion
=
"1.14.13"
// CoreDNSVersion is the version of CoreDNS to be deployed if it is used
CoreDNSVersion
=
"1.
3.1
"
CoreDNSVersion
=
"1.
5.0
"
// ClusterConfigurationKind is the string kind value for the ClusterConfiguration struct
ClusterConfigurationKind
=
"ClusterConfiguration"
...
...
cmd/kubeadm/app/phases/addons/dns/manifests.go
View file @
648cb98a
...
...
@@ -281,8 +281,8 @@ spec:
failureThreshold: 5
readinessProbe:
httpGet:
path: /
health
port: 8
080
path: /
ready
port: 8
181
scheme: HTTP
securityContext:
allowPrivilegeEscalation: false
...
...
@@ -314,9 +314,9 @@ data:
.:53 {
errors
health
ready
kubernetes {{ .DNSDomain }} in-addr.arpa ip6.arpa {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}{{ .Federation }}
...
...
cmd/kubeadm/app/phases/upgrade/compute_test.go
View file @
648cb98a
...
...
@@ -186,7 +186,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
constants
.
MinimumControlPlaneVersion
.
WithPatch
(
3
)
.
String
(),
KubeadmVersion
:
constants
.
MinimumControlPlaneVersion
.
WithPatch
(
3
)
.
String
(),
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
getEtcdVersion
(
constants
.
MinimumControlPlaneVersion
),
},
},
...
...
@@ -225,7 +225,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
constants
.
MinimumControlPlaneVersion
.
WithPatch
(
3
)
.
String
(),
KubeadmVersion
:
constants
.
MinimumControlPlaneVersion
.
WithPatch
(
3
)
.
String
(),
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
getEtcdVersion
(
constants
.
MinimumControlPlaneVersion
),
},
},
...
...
@@ -264,7 +264,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
constants
.
CurrentKubernetesVersion
.
String
(),
KubeadmVersion
:
constants
.
CurrentKubernetesVersion
.
String
(),
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
getEtcdVersion
(
constants
.
CurrentKubernetesVersion
),
},
},
...
...
@@ -303,7 +303,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
constants
.
MinimumControlPlaneVersion
.
WithPatch
(
5
)
.
String
(),
KubeadmVersion
:
constants
.
MinimumControlPlaneVersion
.
WithPatch
(
5
)
.
String
(),
// Note: The kubeadm version mustn't be "downgraded" here
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
getEtcdVersion
(
constants
.
MinimumControlPlaneVersion
),
},
},
...
...
@@ -323,7 +323,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
constants
.
CurrentKubernetesVersion
.
WithPatch
(
1
)
.
String
(),
KubeadmVersion
:
constants
.
CurrentKubernetesVersion
.
WithPatch
(
1
)
.
String
(),
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
getEtcdVersion
(
constants
.
CurrentKubernetesVersion
),
},
},
...
...
@@ -382,7 +382,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
constants
.
CurrentKubernetesVersion
.
WithPreRelease
(
"alpha.2"
)
.
String
(),
KubeadmVersion
:
constants
.
CurrentKubernetesVersion
.
WithPreRelease
(
"alpha.2"
)
.
String
(),
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
getEtcdVersion
(
constants
.
CurrentKubernetesVersion
),
},
},
...
...
@@ -422,7 +422,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
constants
.
CurrentKubernetesVersion
.
WithPreRelease
(
"alpha.2"
)
.
String
(),
KubeadmVersion
:
constants
.
CurrentKubernetesVersion
.
WithPreRelease
(
"alpha.2"
)
.
String
(),
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
getEtcdVersion
(
constants
.
CurrentKubernetesVersion
),
},
},
...
...
@@ -463,7 +463,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
"v1.13.0-beta.1"
,
KubeadmVersion
:
"v1.13.0-beta.1"
,
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
"3.2.24"
,
},
},
...
...
@@ -504,7 +504,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
"v1.13.0-rc.1"
,
KubeadmVersion
:
"v1.13.0-rc.1"
,
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
"3.2.24"
,
},
},
...
...
@@ -545,7 +545,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
"v1.13.6-rc.1"
,
KubeadmVersion
:
"v1.13.6-rc.1"
,
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
"3.2.24"
,
},
},
...
...
@@ -586,7 +586,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
"v1.13.0-rc.1"
,
KubeadmVersion
:
"v1.13.0-rc.1"
,
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
"3.2.24"
,
},
},
...
...
@@ -606,7 +606,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
"v1.12.0-alpha.2"
,
KubeadmVersion
:
"v1.12.0-alpha.2"
,
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
"3.2.24"
,
},
},
...
...
@@ -659,7 +659,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
constants
.
CurrentKubernetesVersion
.
WithPatch
(
1
)
.
String
(),
KubeadmVersion
:
constants
.
CurrentKubernetesVersion
.
WithPatch
(
1
)
.
String
(),
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
getEtcdVersion
(
constants
.
CurrentKubernetesVersion
),
},
},
...
...
@@ -696,7 +696,7 @@ func TestGetAvailableUpgrades(t *testing.T) {
KubeVersion
:
constants
.
CurrentKubernetesVersion
.
String
(),
KubeadmVersion
:
constants
.
CurrentKubernetesVersion
.
String
(),
DNSType
:
kubeadmapi
.
CoreDNS
,
DNSVersion
:
"1.
3.1
"
,
DNSVersion
:
"1.
5.0
"
,
EtcdVersion
:
getEtcdVersion
(
constants
.
CurrentKubernetesVersion
),
},
},
...
...
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