Skip to content

Commit cb223da

Browse files
committed
Add --chunk-size=0 to disable pagination when listing nodes.
Otherwise the default of 500 is used which started breaking large cluster tests, e.g. https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/ci-kubernetes-e2e-gce-scale-performance/1125672232488538115
1 parent 014a2d2 commit cb223da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster/validate-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ while true; do
104104
# which are important for line counting.
105105
# Use trick from https://unix.stackexchange.com/a/383411 to avoid
106106
# newline truncation.
107-
node=$(kubectl_retry get nodes --no-headers; ret=$?; echo .; exit "$ret") && res="$?" || res="$?"
107+
node=$(kubectl_retry get nodes --chunk-size=0 --no-headers; ret=$?; echo .; exit "$ret") && res="$?" || res="$?"
108108
node="${node%.}"
109109
if [ "${res}" -ne "0" ]; then
110110
if [[ "${attempt}" -gt "${last_run:-$MAX_ATTEMPTS}" ]]; then

0 commit comments

Comments
 (0)