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
7e92025c
Commit
7e92025c
authored
Sep 09, 2016
by
Chao Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stick to 2.2.1 etcd
parent
1d040446
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
13 additions
and
12 deletions
+13
-12
Dockerfile
build/build-image/cross/Dockerfile
+1
-1
VERSION
build/build-image/cross/VERSION
+1
-1
config-build.sh
cluster/centos/config-build.sh
+1
-1
etcd-events.yaml
cluster/gce/coreos/kube-manifests/etcd-events.yaml
+1
-1
etcd.yaml
cluster/gce/coreos/kube-manifests/etcd.yaml
+1
-1
etcd.json
cluster/images/hyperkube/static-pods/etcd.json
+1
-1
etcd.manifest
cluster/saltbase/salt/etcd/etcd.manifest
+1
-1
flannel-server.manifest
cluster/saltbase/salt/flannel-server/flannel-server.manifest
+1
-1
etcd.sh
hack/lib/etcd.sh
+1
-1
test-update-storage-objects.sh
hack/test-update-storage-objects.sh
+2
-1
start-kubemark-master.sh
test/kubemark/start-kubemark-master.sh
+2
-2
No files found.
build/build-image/cross/Dockerfile
View file @
7e92025c
...
@@ -72,7 +72,7 @@ RUN mkdir $TMPDIR \
...
@@ -72,7 +72,7 @@ RUN mkdir $TMPDIR \
github.com/jteeuwen/go-bindata/go-bindata
github.com/jteeuwen/go-bindata/go-bindata
# Download and symlink etcd. We need this for our integration tests.
# Download and symlink etcd. We need this for our integration tests.
RUN
export
ETCD_VERSION
=
v2.
3.7
;
\
RUN
export
ETCD_VERSION
=
v2.
2.1
;
\
mkdir
-p
/usr/local/src/etcd
\
mkdir
-p
/usr/local/src/etcd
\
&&
cd
/usr/local/src/etcd
\
&&
cd
/usr/local/src/etcd
\
&&
curl
-fsSL
https://github.com/coreos/etcd/releases/download/
${
ETCD_VERSION
}
/etcd-
${
ETCD_VERSION
}
-linux-amd64
.tar.gz |
tar
-xz
\
&&
curl
-fsSL
https://github.com/coreos/etcd/releases/download/
${
ETCD_VERSION
}
/etcd-
${
ETCD_VERSION
}
-linux-amd64
.tar.gz |
tar
-xz
\
...
...
build/build-image/cross/VERSION
View file @
7e92025c
v1.6.3-
5
v1.6.3-
6
cluster/centos/config-build.sh
View file @
7e92025c
...
@@ -23,7 +23,7 @@ RELEASES_DIR=${RELEASES_DIR:-/tmp/downloads}
...
@@ -23,7 +23,7 @@ RELEASES_DIR=${RELEASES_DIR:-/tmp/downloads}
FLANNEL_VERSION
=
${
FLANNEL_VERSION
:-
"0.5.5"
}
FLANNEL_VERSION
=
${
FLANNEL_VERSION
:-
"0.5.5"
}
# Define etcd version to use.
# Define etcd version to use.
ETCD_VERSION
=
${
ETCD_VERSION
:-
"2.
3.7
"
}
ETCD_VERSION
=
${
ETCD_VERSION
:-
"2.
2.1
"
}
# Define k8s version to use.
# Define k8s version to use.
K8S_VERSION
=
${
K8S_VERSION
:-
"1.1.1"
}
K8S_VERSION
=
${
K8S_VERSION
:-
"1.1.1"
}
...
...
cluster/gce/coreos/kube-manifests/etcd-events.yaml
View file @
7e92025c
...
@@ -14,7 +14,7 @@ spec:
...
@@ -14,7 +14,7 @@ spec:
--listen-client-urls=http://127.0.0.1:4002
--listen-client-urls=http://127.0.0.1:4002
--data-dir=/var/etcd/data-events
--data-dir=/var/etcd/data-events
1>>/var/log/etcd-events.log 2>&1
1>>/var/log/etcd-events.log 2>&1
image
:
gcr.io/google_containers/etcd:2.
3.7
image
:
gcr.io/google_containers/etcd:2.
2.1
imagePullPolicy
:
IfNotPresent
imagePullPolicy
:
IfNotPresent
livenessProbe
:
livenessProbe
:
httpGet
:
httpGet
:
...
...
cluster/gce/coreos/kube-manifests/etcd.yaml
View file @
7e92025c
...
@@ -14,7 +14,7 @@ spec:
...
@@ -14,7 +14,7 @@ spec:
--listen-client-urls=http://127.0.0.1:2379
--listen-client-urls=http://127.0.0.1:2379
--data-dir=/var/etcd/data
--data-dir=/var/etcd/data
1>>/var/log/etcd.log 2>&1
1>>/var/log/etcd.log 2>&1
image
:
gcr.io/google_containers/etcd:2.
3.7
image
:
gcr.io/google_containers/etcd:2.
2.1
imagePullPolicy
:
IfNotPresent
imagePullPolicy
:
IfNotPresent
livenessProbe
:
livenessProbe
:
httpGet
:
httpGet
:
...
...
cluster/images/hyperkube/static-pods/etcd.json
View file @
7e92025c
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
"containers"
:
[
"containers"
:
[
{
{
"name"
:
"etcd"
,
"name"
:
"etcd"
,
"image"
:
"gcr.io/google_containers/etcd-ARCH:2.
3.7
"
,
"image"
:
"gcr.io/google_containers/etcd-ARCH:2.
2.1
"
,
"command"
:
[
"command"
:
[
"/usr/local/bin/etcd"
,
"/usr/local/bin/etcd"
,
"--listen-client-urls=http://127.0.0.1:2379,http://127.0.0.1:4001"
,
"--listen-client-urls=http://127.0.0.1:2379,http://127.0.0.1:4001"
,
...
...
cluster/saltbase/salt/etcd/etcd.manifest
View file @
7e92025c
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
"containers":[
"containers":[
{
{
"name": "etcd-container",
"name": "etcd-container",
"image": "gcr.io/google_containers/etcd:{{ pillar.get('etcd_docker_tag', '2.
3.7
') }}",
"image": "gcr.io/google_containers/etcd:{{ pillar.get('etcd_docker_tag', '2.
2.1
') }}",
"resources": {
"resources": {
"requests": {
"requests": {
"cpu": {{ cpulimit }}
"cpu": {{ cpulimit }}
...
...
cluster/saltbase/salt/flannel-server/flannel-server.manifest
View file @
7e92025c
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
},
},
{
{
"name": "etcd-container",
"name": "etcd-container",
"image": "gcr.io/google_containers/etcd:2.
3.7
",
"image": "gcr.io/google_containers/etcd:2.
2.1
",
"command": [
"command": [
"/bin/sh",
"/bin/sh",
"-c",
"-c",
...
...
hack/lib/etcd.sh
View file @
7e92025c
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
# A set of helpers for starting/running etcd for tests
# A set of helpers for starting/running etcd for tests
ETCD_VERSION
=
${
ETCD_VERSION
:-
2
.
3.7
}
ETCD_VERSION
=
${
ETCD_VERSION
:-
2
.
2.1
}
ETCD_HOST
=
${
ETCD_HOST
:-
127
.0.0.1
}
ETCD_HOST
=
${
ETCD_HOST
:-
127
.0.0.1
}
ETCD_PORT
=
${
ETCD_PORT
:-
2379
}
ETCD_PORT
=
${
ETCD_PORT
:-
2379
}
...
...
hack/test-update-storage-objects.sh
View file @
7e92025c
...
@@ -192,7 +192,8 @@ for test in ${tests[@]}; do
...
@@ -192,7 +192,8 @@ for test in ${tests[@]}; do
new_storage_version
=
${
test_data
[5]
}
new_storage_version
=
${
test_data
[5]
}
kube::log::status
"Verifying
${
resource
}
/
${
namespace
}
/
${
name
}
has updated storage version
${
new_storage_version
}
in etcd"
kube::log::status
"Verifying
${
resource
}
/
${
namespace
}
/
${
name
}
has updated storage version
${
new_storage_version
}
in etcd"
${
ETCDCTL
}
--endpoints
=
"
${
ETCD_HOST
}
:
${
ETCD_PORT
}
"
get
"/
${
ETCD_PREFIX
}
/
${
resource
}
/
${
namespace
}
/
${
name
}
"
|
grep
${
new_storage_version
}
# note that should use flag --endpoints for etcdctl 3
${
ETCDCTL
}
--endpoint
=
"
${
ETCD_HOST
}
:
${
ETCD_PORT
}
"
get
"/
${
ETCD_PREFIX
}
/
${
resource
}
/
${
namespace
}
/
${
name
}
"
|
grep
${
new_storage_version
}
done
done
killApiServer
killApiServer
...
...
test/kubemark/start-kubemark-master.sh
View file @
7e92025c
...
@@ -31,7 +31,7 @@ if [ "${EVENT_STORE_IP}" == "127.0.0.1" ]; then
...
@@ -31,7 +31,7 @@ if [ "${EVENT_STORE_IP}" == "127.0.0.1" ]; then
# Retry starting etcd to avoid pulling image errors.
# Retry starting etcd to avoid pulling image errors.
retry
sudo
docker run
--net
=
host
\
retry
sudo
docker run
--net
=
host
\
-v
/var/etcd/data-events:/var/etcd/data
-v
/var/log:/var/log
-d
\
-v
/var/etcd/data-events:/var/etcd/data
-v
/var/log:/var/log
-d
\
gcr.io/google_containers/etcd:2.
3.7
/bin/sh
-c
"/usr/local/bin/etcd
\
gcr.io/google_containers/etcd:2.
2.1
/bin/sh
-c
"/usr/local/bin/etcd
\
--listen-peer-urls http://127.0.0.1:2381
\
--listen-peer-urls http://127.0.0.1:2381
\
--advertise-client-urls=http://127.0.0.1:4002
\
--advertise-client-urls=http://127.0.0.1:4002
\
--listen-client-urls=http://0.0.0.0:4002
\
--listen-client-urls=http://0.0.0.0:4002
\
...
@@ -41,7 +41,7 @@ fi
...
@@ -41,7 +41,7 @@ fi
# Retry starting etcd to avoid pulling image errors.
# Retry starting etcd to avoid pulling image errors.
retry
sudo
docker run
--net
=
host
\
retry
sudo
docker run
--net
=
host
\
-v
/var/etcd/data:/var/etcd/data
-v
/var/log:/var/log
-d
\
-v
/var/etcd/data:/var/etcd/data
-v
/var/log:/var/log
-d
\
gcr.io/google_containers/etcd:2.
3.7
/bin/sh
-c
"/usr/local/bin/etcd
\
gcr.io/google_containers/etcd:2.
2.1
/bin/sh
-c
"/usr/local/bin/etcd
\
--listen-peer-urls http://127.0.0.1:2380
\
--listen-peer-urls http://127.0.0.1:2380
\
--advertise-client-urls=http://127.0.0.1:2379
\
--advertise-client-urls=http://127.0.0.1:2379
\
--listen-client-urls=http://0.0.0.0:2379
\
--listen-client-urls=http://0.0.0.0:2379
\
...
...
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