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
00960b4d
Commit
00960b4d
authored
Feb 06, 2017
by
Klaus Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using API_HOST_IP to do apiserver health check.
parent
b9bb440b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
local-up-cluster.sh
hack/local-up-cluster.sh
+1
-1
No files found.
hack/local-up-cluster.sh
View file @
00960b4d
...
@@ -439,7 +439,7 @@ function start_apiserver {
...
@@ -439,7 +439,7 @@ function start_apiserver {
# this uses the API port because if you don't have any authenticator, you can't seem to use the secure port at all.
# this uses the API port because if you don't have any authenticator, you can't seem to use the secure port at all.
# this matches what happened with the combination in 1.4.
# this matches what happened with the combination in 1.4.
# TODO change this conditionally based on whether API_PORT is on or off
# TODO change this conditionally based on whether API_PORT is on or off
kube::util::wait_for_url
"http://
${
API_HOST
}
:
${
API_PORT
}
/version"
"apiserver: "
1
${
WAIT_FOR_URL_API_SERVER
}
\
kube::util::wait_for_url
"http://
${
API_HOST
_IP
}
:
${
API_PORT
}
/version"
"apiserver: "
1
${
WAIT_FOR_URL_API_SERVER
}
\
||
{
echo
"check apiserver logs:
${
APISERVER_LOG
}
"
;
exit
1
;
}
||
{
echo
"check apiserver logs:
${
APISERVER_LOG
}
"
;
exit
1
;
}
# Create kubeconfigs for all components, using client certs
# Create kubeconfigs for all components, using client certs
...
...
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