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
95165c5d
Commit
95165c5d
authored
Dec 04, 2018
by
Joseph-Irving
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix WaitForAllNodesSchedulable so it logs when cluster size is small
parent
a605988d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
util.go
test/e2e/framework/util.go
+1
-1
No files found.
test/e2e/framework/util.go
View file @
95165c5d
...
...
@@ -2734,7 +2734,7 @@ func WaitForAllNodesSchedulable(c clientset.Interface, timeout time.Duration) er
// However, we only allow non-ready nodes with some specific reasons.
if
len
(
notSchedulable
)
>
0
{
// In large clusters, log them only every 10th pass.
if
len
(
nodes
.
Items
)
>=
largeClusterThreshold
&&
attempt
%
10
==
0
{
if
len
(
nodes
.
Items
)
<
largeClusterThreshold
||
attempt
%
10
==
0
{
Logf
(
"Unschedulable nodes:"
)
for
i
:=
range
notSchedulable
{
Logf
(
"-> %s Ready=%t Network=%t Taints=%v"
,
...
...
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