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
eb6d0238
Commit
eb6d0238
authored
Jul 23, 2014
by
Dawn Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
query minion's /healthz for sanity checking. Removing gcutil ssh to
VM, and check kubelet's status.
parent
e2e2ce44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
kube-up.sh
cluster/kube-up.sh
+6
-3
No files found.
cluster/kube-up.sh
View file @
eb6d0238
...
@@ -151,13 +151,16 @@ for (( i=0; i<${#MINION_NAMES[@]}; i++)); do
...
@@ -151,13 +151,16 @@ for (( i=0; i<${#MINION_NAMES[@]}; i++)); do
exit
1
exit
1
fi
fi
# Make sure the kubelet is running
# Make sure the kubelet is healthy
gcutil ssh
${
MINION_NAMES
[
$i
]
}
/etc/init.d/kubelet status
if
[
"
$(
curl
--insecure
--user
${
user
}
:
${
passwd
}
https://
${
KUBE_MASTER_IP
}
/proxy/minion/
${
MINION_NAMES
[
$i
]
}
/healthz
)
"
!=
"ok"
]
;
then
if
[
"
$?
"
!=
"0"
]
;
then
echo
"Kubelet failed to install on
${
MINION_NAMES
[
$i
]
}
your cluster is unlikely to work correctly"
echo
"Kubelet failed to install on
${
MINION_NAMES
[
$i
]
}
your cluster is unlikely to work correctly"
echo
"Please run ./cluster/kube-down.sh and re-create the cluster. (sorry!)"
echo
"Please run ./cluster/kube-down.sh and re-create the cluster. (sorry!)"
exit
1
exit
1
else
echo
"Kubelet is successfully installed on
${
MINION_NAMES
[
$i
]
}
"
fi
fi
done
done
echo
echo
...
...
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