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
308049e7
Commit
308049e7
authored
Mar 27, 2015
by
Brendan Burns
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6060 from ZJU-SEL/hotfix
[ubuntu-cluster] fix a serious bug when node both act as master and minion
parents
41fbad21
88dca564
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
configure.sh
cluster/ubuntu-cluster/configure.sh
+7
-2
No files found.
cluster/ubuntu-cluster/configure.sh
View file @
308049e7
...
...
@@ -143,7 +143,6 @@ do
mm[
$i
]=
$name
let
ii++
done
echo
# input node IPs
while
true
;
do
...
...
@@ -168,7 +167,13 @@ while true; do
sed
-i
"s/MASTER_IP/
${
masterIP
}
/g"
default_scripts/kube-proxy
# For master set MINION IPs in kube-controller-manager
minionIPs
=
"
$minionIPs
,
$myIP
"
if
[
-z
"
$minionIPs
"
]
;
then
#one node act as both minion and master role
minionIPs
=
"
$myIP
"
else
minionIPs
=
"
$minionIPs
,
$myIP
"
fi
sed
-i
"s/MINION_IPS/
${
minionIPs
}
/g"
default_scripts/kube-controller-manager
cpMaster
...
...
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