Skip to content

Commit f9ad7db

Browse files
authored
Merge pull request kubernetes#92349 from jingyih/update_etcd_server_3p4p9
Update default etcd server to 3.4.9
2 parents a3e3b35 + e9bf1c3 commit f9ad7db

File tree

10 files changed

+17
-17
lines changed

10 files changed

+17
-17
lines changed

build/dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ dependencies:
4444
match: latestValidatedDockerVersion
4545

4646
- name: "etcd"
47-
version: 3.4.7
47+
version: 3.4.9
4848
refPaths:
4949
- path: cluster/gce/manifests/etcd.manifest
5050
match: etcd_docker_tag|etcd_version

build/workspace.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ _CRI_TARBALL_ARCH_SHA256 = {
3838
"windows-amd64": "5045bcc6d8b0e6004be123ab99ea06e5b1b2ae1e586c968fcdf85fccd4d67ae1",
3939
}
4040

41-
ETCD_VERSION = "3.4.7"
41+
ETCD_VERSION = "3.4.9"
4242
_ETCD_TARBALL_ARCH_SHA256 = {
43-
"amd64": "4ad86e663b63feb4855e1f3a647e719d6d79cf6306410c52b7f280fa56f8eb6b",
44-
"arm64": "b5bf03629277e2231651ecb3f247bf843a974172208f29b7fc38e3f63f6676fc",
45-
"ppc64le": "931631368ee962a37b22754c9a64baba2535207afcbd42efbdacc44fb48398bf",
43+
"amd64": "bcab421f6bf4111accfceb004e0a0ac2bcfb92ac93081d9429e313248dd78c41",
44+
"arm64": "fd9bf37662a851905d75160fea0f5d10055c1bee0a734e78c5112cc56c9faa18",
45+
"ppc64le": "bfdcea0fc83c6d6edb70667a2272f8fc597c61976ecc6f8ecbfeb380ff02618b",
4646
}
4747

4848
# Dependencies needed for a Kubernetes "release", e.g. building docker images,

cluster/gce/config-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ HEAPSTER_MACHINE_TYPE=${HEAPSTER_MACHINE_TYPE:-}
202202
NUM_ADDITIONAL_NODES=${NUM_ADDITIONAL_NODES:-}
203203
ADDITIONAL_MACHINE_TYPE=${ADDITIONAL_MACHINE_TYPE:-}
204204

205-
# Set etcd image (e.g. k8s.gcr.io/etcd) and version (e.g. 3.4.7-0) if you need
205+
# Set etcd image (e.g. k8s.gcr.io/etcd) and version (e.g. 3.4.9-1) if you need
206206
# non-default version.
207207
export ETCD_IMAGE=${TEST_ETCD_IMAGE:-}
208208
export ETCD_DOCKER_REPOSITORY=${TEST_ETCD_DOCKER_REPOSITORY:-}

cluster/gce/manifests/etcd.manifest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"containers":[
1616
{
1717
"name": "etcd-container",
18-
"image": "{{ pillar.get('etcd_docker_repository', 'us.gcr.io/k8s-artifacts-prod/etcd') }}:{{ pillar.get('etcd_docker_tag', '3.4.7-2') }}",
18+
"image": "{{ pillar.get('etcd_docker_repository', 'us.gcr.io/k8s-artifacts-prod/etcd') }}:{{ pillar.get('etcd_docker_tag', '3.4.9-1') }}",
1919
"resources": {
2020
"requests": {
2121
"cpu": {{ cpulimit }}
@@ -31,7 +31,7 @@
3131
"value": "{{ pillar.get('storage_backend', 'etcd3') }}"
3232
},
3333
{ "name": "TARGET_VERSION",
34-
"value": "{{ pillar.get('etcd_version', '3.4.7') }}"
34+
"value": "{{ pillar.get('etcd_version', '3.4.9') }}"
3535
},
3636
{ "name": "DATA_DIRECTORY",
3737
"value": "/var/etcd/data{{ suffix }}"

cluster/gce/upgrade-aliases.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ export KUBE_GCE_ENABLE_IP_ALIASES=true
170170
export SECONDARY_RANGE_NAME="pods-default"
171171
export STORAGE_BACKEND="etcd3"
172172
export STORAGE_MEDIA_TYPE="application/vnd.kubernetes.protobuf"
173-
export ETCD_IMAGE=3.4.7-0
174-
export ETCD_VERSION=3.4.7
173+
export ETCD_IMAGE=3.4.9-1
174+
export ETCD_VERSION=3.4.9
175175

176176
# Upgrade master with updated kube envs
177177
"${KUBE_ROOT}/cluster/gce/upgrade.sh" -M -l

cmd/kubeadm/app/constants/constants.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ const (
265265
MinExternalEtcdVersion = "3.2.18"
266266

267267
// DefaultEtcdVersion indicates the default etcd version that kubeadm uses
268-
DefaultEtcdVersion = "3.4.7-0"
268+
DefaultEtcdVersion = "3.4.9-1"
269269

270270
// Etcd defines variable used internally when referring to etcd component
271271
Etcd = "etcd"
@@ -433,8 +433,8 @@ var (
433433
16: "3.3.17-0",
434434
17: "3.4.3-0",
435435
18: "3.4.3-0",
436-
19: "3.4.7-0",
437-
20: "3.4.7-0",
436+
19: "3.4.9-1",
437+
20: "3.4.9-1",
438438
}
439439

440440
// KubeadmCertsClusterRoleName sets the name for the ClusterRole that allows

hack/lib/etcd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# A set of helpers for starting/running etcd for tests
1818

19-
ETCD_VERSION=${ETCD_VERSION:-3.4.7}
19+
ETCD_VERSION=${ETCD_VERSION:-3.4.9}
2020
ETCD_HOST=${ETCD_HOST:-127.0.0.1}
2121
ETCD_PORT=${ETCD_PORT:-2379}
2222
export KUBE_INTEGRATION_ETCD_URL="http://${ETCD_HOST}:${ETCD_PORT}"

staging/src/k8s.io/sample-apiserver/artifacts/example/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ spec:
2626
imagePullPolicy: Never
2727
args: [ "--etcd-servers=http://localhost:2379" ]
2828
- name: etcd
29-
image: quay.io/coreos/etcd:v3.4.7
29+
image: quay.io/coreos/etcd:v3.4.9

test/e2e/framework/nodes_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
e2essh "k8s.io/kubernetes/test/e2e/framework/ssh"
3535
)
3636

37-
const etcdImage = "3.4.7-0"
37+
const etcdImage = "3.4.9-1"
3838

3939
// EtcdUpgrade upgrades etcd on GCE.
4040
func EtcdUpgrade(targetStorage, targetVersion string) error {

test/utils/image/manifest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func initImageConfigs() map[int]Config {
217217
configs[CudaVectorAdd2] = Config{e2eRegistry, "cuda-vector-add", "2.0"}
218218
configs[DebianIptables] = Config{buildImageRegistry, "debian-iptables", "v12.1.0"}
219219
configs[EchoServer] = Config{e2eRegistry, "echoserver", "2.2"}
220-
configs[Etcd] = Config{gcRegistry, "etcd", "3.4.7"}
220+
configs[Etcd] = Config{gcRegistry, "etcd", "3.4.9"}
221221
configs[GlusterDynamicProvisioner] = Config{dockerGluster, "glusterdynamic-provisioner", "v1.0"}
222222
configs[Httpd] = Config{dockerLibraryRegistry, "httpd", "2.4.38-alpine"}
223223
configs[HttpdNew] = Config{dockerLibraryRegistry, "httpd", "2.4.39-alpine"}

0 commit comments

Comments
 (0)