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
3ccb99d8
Commit
3ccb99d8
authored
Aug 30, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Aug 30, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #31692 from jszczepkowski/master
Automatic merge from submit-queue Marked HA master feature experimental. Marked HA master feature experimental.
parents
0f8869d3
c5f18d51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
util.sh
cluster/gce/util.sh
+2
-2
No files found.
cluster/gce/util.sh
View file @
3ccb99d8
...
@@ -610,7 +610,7 @@ function kube-up() {
...
@@ -610,7 +610,7 @@ function kube-up() {
if
[[
${
KUBE_USE_EXISTING_MASTER
:-}
==
"true"
]]
;
then
if
[[
${
KUBE_USE_EXISTING_MASTER
:-}
==
"true"
]]
;
then
parse-master-env
parse-master-env
create-nodes
create-nodes
elif
[[
${
KUBE_REPLICATE_EXISTING_MASTER
:-}
==
"true"
]]
;
then
elif
[[
${
KUBE_
EXPERIMENTAL_
REPLICATE_EXISTING_MASTER
:-}
==
"true"
]]
;
then
# TODO(jsz): implement adding replica for other distributions.
# TODO(jsz): implement adding replica for other distributions.
if
[[
"
${
MASTER_OS_DISTRIBUTION
}
"
!=
"gci"
]]
;
then
if
[[
"
${
MASTER_OS_DISTRIBUTION
}
"
!=
"gci"
]]
;
then
echo
"Master replication supported only for gci"
echo
"Master replication supported only for gci"
...
@@ -782,7 +782,7 @@ function replicate-master() {
...
@@ -782,7 +782,7 @@ function replicate-master() {
set-replica-name
set-replica-name
set-existing-master
set-existing-master
echo
"
R
eplicating existing master
${
EXISTING_MASTER_ZONE
}
/
${
EXISTING_MASTER_NAME
}
as
${
ZONE
}
/
${
REPLICA_NAME
}
"
echo
"
Experimental: r
eplicating existing master
${
EXISTING_MASTER_ZONE
}
/
${
EXISTING_MASTER_NAME
}
as
${
ZONE
}
/
${
REPLICA_NAME
}
"
# Before we do anything else, we should configure etcd to expect more replicas.
# Before we do anything else, we should configure etcd to expect more replicas.
if
!
add-replica-to-etcd 4001 2380
;
then
if
!
add-replica-to-etcd 4001 2380
;
then
...
...
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