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
4ac6948a
Commit
4ac6948a
authored
Feb 11, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #21068 from wojtek-t/fix_kubemark_deadlock
Auto commit by PR queue bot
parents
611a3b9d
519021b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
start-kubemark.sh
test/kubemark/start-kubemark.sh
+8
-1
No files found.
test/kubemark/start-kubemark.sh
View file @
4ac6948a
...
@@ -216,10 +216,17 @@ kubectl create -f "${KUBE_ROOT}"/test/kubemark/hollow-node.json --namespace="kub
...
@@ -216,10 +216,17 @@ kubectl create -f "${KUBE_ROOT}"/test/kubemark/hollow-node.json --namespace="kub
rm
"
${
KUBECONFIG_SECRET
}
"
rm
"
${
KUBECONFIG_SECRET
}
"
echo
"Waiting for all HollowNodes to become Running..."
echo
"Waiting for all HollowNodes to become Running..."
echo
"This can loop forever if something crashed."
start
=
$(
date
+%s
)
until
[[
"
$(
kubectl
--kubeconfig
=
"
${
KUBE_ROOT
}
"
/test/kubemark/kubeconfig.loc get node |
grep
Ready |
wc
-l
)
"
==
"
${
NUM_NODES
}
"
]]
;
do
until
[[
"
$(
kubectl
--kubeconfig
=
"
${
KUBE_ROOT
}
"
/test/kubemark/kubeconfig.loc get node |
grep
Ready |
wc
-l
)
"
==
"
${
NUM_NODES
}
"
]]
;
do
echo
-n
.
echo
-n
.
sleep
1
sleep
1
now
=
$(
date
+%s
)
# Fail it if it already took more than 15 minutes.
if
[
$((
now
-
start
))
-gt
900
]
;
then
echo
""
echo
"Timeout waiting for all HollowNodes to become Running"
exit
1
fi
done
done
echo
""
echo
""
echo
"Password to kubemark master:
${
password
}
"
echo
"Password to kubemark master:
${
password
}
"
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