Unverified Commit e932f015 authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #71709 from Joseph-Irving/fix-e2e-node-schedulable-logging

fix WaitForAllNodesSchedulable so it outputs logs when cluster size is small
parents 07faaeff 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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment