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
e8bcf8d3
Commit
e8bcf8d3
authored
Dec 11, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Dec 11, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #38277 from xilabao/fix-advertise-address-in-local-cluster
Automatic merge from submit-queue fix set advertise address in local cluster
parents
37cd01dc
0517fe2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
local-up-cluster.sh
hack/local-up-cluster.sh
+2
-2
No files found.
hack/local-up-cluster.sh
View file @
e8bcf8d3
...
...
@@ -444,10 +444,10 @@ function start_apiserver {
runtime_config
=
"--runtime-config=
${
RUNTIME_CONFIG
}
"
fi
# Let the API server pick a default address when API_HOST
# Let the API server pick a default address when API_HOST
_IP
# is set to 127.0.0.1
advertise_address
=
""
if
[[
"
${
API_HOST
}
"
!=
"127.0.0.1"
]]
;
then
if
[[
"
${
API_HOST
_IP
}
"
!=
"127.0.0.1"
]]
;
then
advertise_address
=
"--advertise_address=
${
API_HOST_IP
}
"
fi
...
...
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