File tree 11 files changed +15
-15
lines changed
gce/coreos/kube-manifests
images/hyperkube/static-pods
11 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ RUN mkdir $TMPDIR \
72
72
github.com/jteeuwen/go-bindata/go-bindata
73
73
74
74
# 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 ; \
76
76
mkdir -p /usr/local/src/etcd \
77
77
&& cd /usr/local/src/etcd \
78
78
&& curl -fsSL https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz | tar -xz \
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ RELEASES_DIR=${RELEASES_DIR:-/tmp/downloads}
23
23
FLANNEL_VERSION=${FLANNEL_VERSION:- " 0.5.5" }
24
24
25
25
# Define etcd version to use.
26
- ETCD_VERSION=${ETCD_VERSION:- " 2.2.1 " }
26
+ ETCD_VERSION=${ETCD_VERSION:- " 3.0.3 " }
27
27
28
28
# Define k8s version to use.
29
29
K8S_VERSION=${K8S_VERSION:- " 1.1.1" }
Original file line number Diff line number Diff line change 14
14
--listen-client-urls=http://127.0.0.1:4002
15
15
--data-dir=/var/etcd/data-events
16
16
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
18
18
imagePullPolicy : IfNotPresent
19
19
livenessProbe :
20
20
httpGet :
Original file line number Diff line number Diff line change 14
14
--listen-client-urls=http://127.0.0.1:4001
15
15
--data-dir=/var/etcd/data
16
16
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
18
18
imagePullPolicy : IfNotPresent
19
19
livenessProbe :
20
20
httpGet :
Original file line number Diff line number Diff line change 10
10
"containers" : [
11
11
{
12
12
"name" : " etcd" ,
13
- "image" : " gcr.io/google_containers/etcd-ARCH:2.2.5 " ,
13
+ "image" : " gcr.io/google_containers/etcd-ARCH:3.0.3 " ,
14
14
"command" : [
15
15
" /usr/local/bin/etcd" ,
16
16
" --listen-client-urls=http://127.0.0.1:4001" ,
Original file line number Diff line number Diff line change 27
27
"containers":[
28
28
{
29
29
"name": "etcd-container",
30
- "image": "gcr.io/google_containers/etcd:2.2.1 ",
30
+ "image": "gcr.io/google_containers/etcd:3.0.3 ",
31
31
"resources": {
32
32
"requests": {
33
33
"cpu": {{ cpulimit }}
Original file line number Diff line number Diff line change 75
75
},
76
76
{
77
77
"name": "etcd-container",
78
- "image": "gcr.io/google_containers/etcd:2.2.1 ",
78
+ "image": "gcr.io/google_containers/etcd:3.0.3 ",
79
79
"command": [
80
80
"/bin/sh",
81
81
"-c",
Original file line number Diff line number Diff line change 16
16
17
17
# A set of helpers for starting/running etcd for tests
18
18
19
- ETCD_VERSION=${ETCD_VERSION:- 2.2.1 }
19
+ ETCD_VERSION=${ETCD_VERSION:- 3.0.3 }
20
20
ETCD_HOST=${ETCD_HOST:- 127.0.0.1}
21
21
ETCD_PORT=${ETCD_PORT:- 4001}
22
22
Original file line number Diff line number Diff line change 55
55
# Install etcd
56
56
hash etcd 2> /dev/null
57
57
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/
61
61
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*
63
63
fi
64
64
65
65
# Install nsenter for ubuntu images
Original file line number Diff line number Diff line change 2
2
3
3
runcmd :
4
4
- mount /tmp /tmp -o remount,exec,suid
5
- - ETCD_VERSION=v2.2.5
5
+ - ETCD_VERSION=v3.0.3
6
6
- curl -L https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz -o /tmp/etcd.tar.gz
7
7
- tar xzvf /tmp/etcd.tar.gz -C /tmp
8
8
- cp /tmp/etcd-${ETCD_VERSION}-linux-amd64/etcd* /tmp/
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ EVENT_STORE_IP=$1
20
20
EVENT_STORE_URL=" http://${EVENT_STORE_IP} :4002"
21
21
NUM_NODES=$2
22
22
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 \
24
24
--listen-peer-urls http://127.0.0.1:2381 \
25
25
--advertise-client-urls=http://127.0.0.1:4002 \
26
26
--listen-client-urls=http://0.0.0.0:4002 \
27
27
--data-dir=/var/etcd/data
28
28
fi
29
29
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 \
31
31
--listen-peer-urls http://127.0.0.1:2380 \
32
32
--advertise-client-urls=http://127.0.0.1:4001 \
33
33
--listen-client-urls=http://0.0.0.0:4001 \
You can’t perform that action at this time.
0 commit comments