diff --git a/cluster/gce/util.sh b/cluster/gce/util.sh index 34d710ce7fe..1ad4b98f195 100755 --- a/cluster/gce/util.sh +++ b/cluster/gce/util.sh @@ -1532,7 +1532,7 @@ function check-cluster() { -H "Authorization: Bearer ${KUBE_BEARER_TOKEN}" \ ${secure} \ --max-time 5 --fail \ - "https://${KUBE_MASTER_IP}/api/v1/pods" > "${curl_out}" 2>&1; do + "https://${KUBE_MASTER_IP}/api/v1/pods?limit=100" > "${curl_out}" 2>&1; do local elapsed=$(($(date +%s) - ${start_time})) if [[ ${elapsed} -gt ${KUBE_CLUSTER_INITIALIZATION_TIMEOUT} ]]; then echo -e "${color_red}Cluster failed to initialize within ${KUBE_CLUSTER_INITIALIZATION_TIMEOUT} seconds.${color_norm}" >&2