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
00a203df
Commit
00a203df
authored
Sep 16, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Sep 16, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #32765 from wojtek-t/extend_kubemark_logs
Automatic merge from submit-queue Extend logging for debugging kubemark problems Ref #32441
parents
6910d403
086f7df0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
start-kubemark.sh
test/kubemark/start-kubemark.sh
+6
-2
No files found.
test/kubemark/start-kubemark.sh
View file @
00a203df
...
...
@@ -268,9 +268,13 @@ until [[ "${ready}" -ge "${NUM_NODES}" ]]; do
# Try listing nodes again - if it fails it means that API server is not responding
if
"
${
KUBECTL
}
"
--kubeconfig
=
"
${
LOCAL_KUBECONFIG
}
"
get node &> /dev/null
;
then
echo
"Found only
${
ready
}
ready Nodes while waiting for
${
NUM_NODES
}
."
exit
1
else
echo
"Got error while trying to list Nodes. Probably API server is down."
fi
echo
"Got error while trying to list Nodes. Probably API server is down."
pods
=
$(
"
${
KUBECTL
}
"
get pods
--namespace
=
kubemark
)
||
true
not_running
=
$(($(
echo
"
${
pods
}
"
|
grep
-v
"Running"
|
wc
-l
)
-
1
))
echo
"
${
not_running
}
HollowNode pods are reported as not running"
echo
$(
echo
"
${
pods
}
"
|
grep
-v
"Running"
)
exit
1
fi
nodes
=
$(
"
${
KUBECTL
}
"
--kubeconfig
=
"
${
LOCAL_KUBECONFIG
}
"
get node
)
||
true
...
...
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