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
606a2dd0
Commit
606a2dd0
authored
Nov 03, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Nov 03, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #36090 from wojtek-t/fix_migration_collisions
Automatic merge from submit-queue Fix collisions between different etcds during migration. Ref #20504
parents
e8175946
5b038994
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
migrate-if-needed.sh
cluster/images/etcd/migrate-if-needed.sh
+7
-0
No files found.
cluster/images/etcd/migrate-if-needed.sh
View file @
606a2dd0
...
...
@@ -102,6 +102,13 @@ start_etcd() {
# Use random ports, so that apiserver cannot connect to etcd.
ETCD_PORT
=
18629
ETCD_PEER_PORT
=
18630
# Avoid collisions between etcd and event-etcd.
case
"
${
DATA_DIRECTORY
}
"
in
*
event
*
)
ETCD_PORT
=
18631
ETCD_PEER_PORT
=
18632
;;
esac
local
ETCD_CMD
=
"
${
ETCD
:-
/usr/local/bin/etcd-
${
START_VERSION
}}
"
local
ETCDCTL_CMD
=
"
${
ETCDCTL
:-
/usr/local/bin/etcdctl-
${
START_VERSION
}}
"
local
API_VERSION
=
"
$(
echo
${
START_STORAGE
}
|
cut
-c5-5
)
"
...
...
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