Skip to content

Commit 456c43c

Browse files
author
Timothy St. Clair
committed
Update to shift etcd 2.2 references to use 3.0.3
1 parent 301be4e commit 456c43c

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

build/build-image/cross/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ RUN mkdir $TMPDIR \
7272
github.com/jteeuwen/go-bindata/go-bindata
7373

7474
# Download and symlink etcd. We need this for our integration tests.
75-
RUN export ETCD_VERSION=v2.2.1; \
75+
RUN export ETCD_VERSION=v3.0.3; \
7676
mkdir -p /usr/local/src/etcd \
7777
&& cd /usr/local/src/etcd \
7878
&& curl -fsSL https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz | tar -xz \

cluster/centos/config-build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RELEASES_DIR=${RELEASES_DIR:-/tmp/downloads}
2323
FLANNEL_VERSION=${FLANNEL_VERSION:-"0.5.5"}
2424

2525
# Define etcd version to use.
26-
ETCD_VERSION=${ETCD_VERSION:-"2.2.1"}
26+
ETCD_VERSION=${ETCD_VERSION:-"3.0.3"}
2727

2828
# Define k8s version to use.
2929
K8S_VERSION=${K8S_VERSION:-"1.1.1"}

cluster/gce/coreos/kube-manifests/etcd-events.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
--listen-client-urls=http://127.0.0.1:4002
1515
--data-dir=/var/etcd/data-events
1616
1>>/var/log/etcd-events.log 2>&1
17-
image: gcr.io/google_containers/etcd:2.2.1
17+
image: gcr.io/google_containers/etcd:3.0.3
1818
imagePullPolicy: IfNotPresent
1919
livenessProbe:
2020
httpGet:

cluster/gce/coreos/kube-manifests/etcd.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
--listen-client-urls=http://127.0.0.1:4001
1515
--data-dir=/var/etcd/data
1616
1>>/var/log/etcd.log 2>&1
17-
image: gcr.io/google_containers/etcd:2.2.1
17+
image: gcr.io/google_containers/etcd:3.0.3
1818
imagePullPolicy: IfNotPresent
1919
livenessProbe:
2020
httpGet:

cluster/images/hyperkube/static-pods/etcd.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"containers": [
1111
{
1212
"name": "etcd",
13-
"image": "gcr.io/google_containers/etcd-ARCH:2.2.5",
13+
"image": "gcr.io/google_containers/etcd-ARCH:3.0.3",
1414
"command": [
1515
"/usr/local/bin/etcd",
1616
"--listen-client-urls=http://127.0.0.1:4001",

cluster/saltbase/salt/etcd/etcd.manifest

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"containers":[
2828
{
2929
"name": "etcd-container",
30-
"image": "gcr.io/google_containers/etcd:2.2.1",
30+
"image": "gcr.io/google_containers/etcd:3.0.3",
3131
"resources": {
3232
"requests": {
3333
"cpu": {{ cpulimit }}

cluster/saltbase/salt/flannel-server/flannel-server.manifest

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
},
7676
{
7777
"name": "etcd-container",
78-
"image": "gcr.io/google_containers/etcd:2.2.1",
78+
"image": "gcr.io/google_containers/etcd:3.0.3",
7979
"command": [
8080
"/bin/sh",
8181
"-c",

hack/lib/etcd.sh

+1-1
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:-2.2.1}
19+
ETCD_VERSION=${ETCD_VERSION:-3.0.3}
2020
ETCD_HOST=${ETCD_HOST:-127.0.0.1}
2121
ETCD_PORT=${ETCD_PORT:-4001}
2222

test/e2e_node/environment/setup_host.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ fi
5555
# Install etcd
5656
hash etcd 2>/dev/null
5757
if [ $? -ne 0 ]; then
58-
curl -L https://github.com/coreos/etcd/releases/download/v2.2.5/etcd-v2.2.5-linux-amd64.tar.gz -o etcd-v2.2.5-linux-amd64.tar.gz
59-
tar xzvf etcd-v2.2.5-linux-amd64.tar.gz
60-
sudo mv etcd-v2.2.5-linux-amd64/etcd* /usr/local/bin/
58+
curl -L https://github.com/coreos/etcd/releases/download/v3.0.3/etcd-v3.0.3-linux-amd64.tar.gz -o etcd-v3.0.3-linux-amd64.tar.gz
59+
tar xzvf etcd-v3.0.3-linux-amd64.tar.gz
60+
sudo mv etcd-v3.0.3-linux-amd64/etcd* /usr/local/bin/
6161
sudo chown root:root /usr/local/bin/etcd*
62-
rm -r etcd-v2.2.5-linux-amd64*
62+
rm -r etcd-v3.0.3-linux-amd64*
6363
fi
6464

6565
# Install nsenter for ubuntu images

test/e2e_node/jenkins/gci-init.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
runcmd:
44
- mount /tmp /tmp -o remount,exec,suid
5-
- ETCD_VERSION=v2.2.5
5+
- ETCD_VERSION=v3.0.3
66
- curl -L https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz -o /tmp/etcd.tar.gz
77
- tar xzvf /tmp/etcd.tar.gz -C /tmp
88
- cp /tmp/etcd-${ETCD_VERSION}-linux-amd64/etcd* /tmp/

test/kubemark/start-kubemark-master.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ EVENT_STORE_IP=$1
2020
EVENT_STORE_URL="http://${EVENT_STORE_IP}:4002"
2121
NUM_NODES=$2
2222
if [ "${EVENT_STORE_IP}" == "127.0.0.1" ]; then
23-
sudo docker run --net=host -d gcr.io/google_containers/etcd:2.2.1 /usr/local/bin/etcd \
23+
sudo docker run --net=host -d gcr.io/google_containers/etcd:3.0.3 /usr/local/bin/etcd \
2424
--listen-peer-urls http://127.0.0.1:2381 \
2525
--advertise-client-urls=http://127.0.0.1:4002 \
2626
--listen-client-urls=http://0.0.0.0:4002 \
2727
--data-dir=/var/etcd/data
2828
fi
2929

30-
sudo docker run --net=host -d gcr.io/google_containers/etcd:2.2.1 /usr/local/bin/etcd \
30+
sudo docker run --net=host -d gcr.io/google_containers/etcd:3.0.3 /usr/local/bin/etcd \
3131
--listen-peer-urls http://127.0.0.1:2380 \
3232
--advertise-client-urls=http://127.0.0.1:4001 \
3333
--listen-client-urls=http://0.0.0.0:4001 \

0 commit comments

Comments
 (0)