Skip to content

Commit 295b53f

Browse files
authored
Merge pull request kubernetes#89214 from jingyih/update_etcd_server_3p4p4
Update default etcd server to 3.4.4 in k8s v1.19
2 parents e327ef9 + f9e0e4c commit 295b53f

File tree

15 files changed

+27
-27
lines changed

15 files changed

+27
-27
lines changed

build/dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: "etcd"
3-
version: 3.4.3
3+
version: 3.4.4
44
refPaths:
55
- path: cluster/gce/manifests/etcd.manifest
66
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": "e18150d5546d3ddf6b165bd9aec0f65c18aacf75b94fb28bb26bfc0238f07b28",
3939
}
4040

41-
ETCD_VERSION = "3.4.3"
41+
ETCD_VERSION = "3.4.4"
4242
_ETCD_TARBALL_ARCH_SHA256 = {
43-
"amd64": "6c642b723a86941b99753dff6c00b26d3b033209b15ee33325dc8e7f4cd68f07",
44-
"arm64": "01bd849ad99693600bd59db8d0e66ac64aac1e3801900665c31bd393972e3554",
45-
"ppc64le": "3f20888d6efb7f2665ebe278860eec6e8fc9555624e56c3d93f5a6b6dd90a21a",
43+
"amd64": "35abe668022073dfe6239aa42fd15ded9810f7ccee281af0b9d0646dd270de47",
44+
"arm64": "52444314c01f7dad7d319a7b87ea7a5a7e48af96584c48639922a4b2f32329a4",
45+
"ppc64le": "b7e43e08e123d0b30c7fddc8b903c0d7c8de49e28db8c87cf5cc4a24b68a715d",
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
@@ -192,7 +192,7 @@ HEAPSTER_MACHINE_TYPE="${HEAPSTER_MACHINE_TYPE:-}"
192192
NUM_ADDITIONAL_NODES="${NUM_ADDITIONAL_NODES:-}"
193193
ADDITIONAL_MACHINE_TYPE="${ADDITIONAL_MACHINE_TYPE:-}"
194194

195-
# Set etcd image (e.g. k8s.gcr.io/etcd) and version (e.g. 3.4.3-0) if you need
195+
# Set etcd image (e.g. k8s.gcr.io/etcd) and version (e.g. 3.4.4-0) if you need
196196
# non-default version.
197197
ETCD_IMAGE="${TEST_ETCD_IMAGE:-}"
198198
ETCD_DOCKER_REPOSITORY="${TEST_ETCD_DOCKER_REPOSITORY:-}"

cluster/gce/manifests/etcd-empty-dir-cleanup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ spec:
1313
dnsPolicy: Default
1414
containers:
1515
- name: etcd-empty-dir-cleanup
16-
image: k8s.gcr.io/etcd-empty-dir-cleanup:3.4.3.0
16+
image: k8s.gcr.io/etcd-empty-dir-cleanup:3.4.4.0

cluster/gce/manifests/etcd.manifest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"containers":[
1515
{
1616
"name": "etcd-container",
17-
"image": "{{ pillar.get('etcd_docker_repository', 'k8s.gcr.io/etcd') }}:{{ pillar.get('etcd_docker_tag', '3.4.3-0') }}",
17+
"image": "{{ pillar.get('etcd_docker_repository', 'k8s.gcr.io/etcd') }}:{{ pillar.get('etcd_docker_tag', '3.4.4-0') }}",
1818
"resources": {
1919
"requests": {
2020
"cpu": {{ cpulimit }}
@@ -30,7 +30,7 @@
3030
"value": "{{ pillar.get('storage_backend', 'etcd3') }}"
3131
},
3232
{ "name": "TARGET_VERSION",
33-
"value": "{{ pillar.get('etcd_version', '3.4.3') }}"
33+
"value": "{{ pillar.get('etcd_version', '3.4.4') }}"
3434
},
3535
{ "name": "DATA_DIRECTORY",
3636
"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.3-0
174-
export ETCD_VERSION=3.4.3
173+
export ETCD_IMAGE=3.4.4-0
174+
export ETCD_VERSION=3.4.4
175175

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

cluster/images/etcd-empty-dir-cleanup/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414

1515
.PHONY: build push
1616

17-
ETCD_VERSION = 3.4.3
17+
ETCD_VERSION = 3.4.4
1818
# Image should be pulled from k8s.gcr.io, which will auto-detect
1919
# region (us, eu, asia, ...) and pull from the closest.
2020
REGISTRY = k8s.gcr.io
2121
# Images should be pushed to staging-k8s.gcr.io.
2222
PUSH_REGISTRY = staging-k8s.gcr.io
23-
TAG = 3.4.3.0
23+
TAG = 3.4.4.0
2424

2525
clean:
2626
rm -rf etcdctl etcd-v$(ETCD_VERSION)-linux-amd64 etcd-v$(ETCD_VERSION)-linux-amd64.tar.gz

cluster/images/etcd/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# Build the etcd image
1616
#
1717
# Usage:
18-
# [BUNDLED_ETCD_VERSIONS=3.0.17 3.1.12 3.2.24 3.3.17 3.4.3] [REGISTRY=k8s.gcr.io] [ARCH=amd64] [BASEIMAGE=busybox] make (build|push)
18+
# [BUNDLED_ETCD_VERSIONS=3.0.17 3.1.12 3.2.24 3.3.17 3.4.4] [REGISTRY=k8s.gcr.io] [ARCH=amd64] [BASEIMAGE=busybox] make (build|push)
1919
#
2020
# The image contains different etcd versions to simplify
2121
# upgrades. Thus be careful when removing any versions from here.
@@ -26,10 +26,10 @@
2626
# Except from etcd-$(version) and etcdctl-$(version) binaries, we also
2727
# need etcd and etcdctl binaries for backward compatibility reasons.
2828
# That binary will be set to the last version from $(BUNDLED_ETCD_VERSIONS).
29-
BUNDLED_ETCD_VERSIONS?=3.0.17 3.1.12 3.2.24 3.3.17 3.4.3
29+
BUNDLED_ETCD_VERSIONS?=3.0.17 3.1.12 3.2.24 3.3.17 3.4.4
3030

3131
# LATEST_ETCD_VERSION identifies the most recent etcd version available.
32-
LATEST_ETCD_VERSION?=3.4.3
32+
LATEST_ETCD_VERSION?=3.4.4
3333

3434
# REVISION provides a version number fo this image and all it's bundled
3535
# artifacts. It should start at zero for each LATEST_ETCD_VERSION and increment
@@ -62,7 +62,7 @@ endif
6262
# This option is for running docker manifest command
6363
export DOCKER_CLI_EXPERIMENTAL := enabled
6464
# golang version should match the golang version from https://github.com/coreos/etcd/releases for the current ETCD_VERSION.
65-
GOLANG_VERSION?=1.12.9
65+
GOLANG_VERSION?=1.12.12
6666
GOARM?=7
6767
TEMP_DIR:=$(shell mktemp -d)
6868

cluster/images/etcd/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ server.
2626

2727
`migrate` writes a `version.txt` file to track the "current" version
2828
of etcd that was used to persist data to disk. A "target" version may also be provided
29-
by the `TARGET_STORAGE` (e.g. "etcd3") and `TARGET_VERSION` (e.g. "3.4.3" )
29+
by the `TARGET_STORAGE` (e.g. "etcd3") and `TARGET_VERSION` (e.g. "3.4.4" )
3030
environment variables. If the persisted version differs from the target version,
3131
`migrate-if-needed.sh` will migrate the data from the current to the target
3232
version.

cluster/images/etcd/migrate-if-needed.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# variables:
2020
# TARGET_STORAGE - API of etcd to be used (supported: 'etcd3')
2121
# TARGET_VERSION - etcd release to be used (supported: '3.0.17', '3.1.12',
22-
# '3.2.24', "3.3.17", "3.4.3")
22+
# '3.2.24', "3.3.17", "3.4.4")
2323
# DATA_DIRECTORY - directory with etcd data
2424
#
2525
# The current etcd version and storage format is detected based on the
@@ -30,7 +30,7 @@
3030
# - 3.0.17/etcd3 -> 3.1.12/etcd3
3131
# - 3.1.12/etcd3 -> 3.2.24/etcd3
3232
# - 3.2.24/etcd3 -> 3.3.17/etcd3
33-
# - 3.3.17/etcd3 -> 3.4.3/etcd3
33+
# - 3.3.17/etcd3 -> 3.4.4/etcd3
3434
#
3535
# NOTE: The releases supported in this script has to match release binaries
3636
# present in the etcd image (to make this script work correctly).
@@ -43,7 +43,7 @@ set -o nounset
4343

4444
# NOTE: BUNDLED_VERSION has to match release binaries present in the
4545
# etcd image (to make this script work correctly).
46-
BUNDLED_VERSIONS="3.0.17, 3.1.12, 3.2.24, 3.3.17, 3.4.3"
46+
BUNDLED_VERSIONS="3.0.17, 3.1.12, 3.2.24, 3.3.17, 3.4.4"
4747

4848
ETCD_NAME="${ETCD_NAME:-etcd-$(hostname)}"
4949
if [ -z "${DATA_DIRECTORY:-}" ]; then

0 commit comments

Comments
 (0)