File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -427,9 +427,9 @@ deploy_watcher() {
427427 if ! kubectl get crd startupcpuboosts.autoscaling.x-k8s.io & > /dev/null; then
428428 log_info " Installing Kube Startup CPU Boost..."
429429 kubectl apply -f https://github.com/google/kube-startup-cpu-boost/releases/download/v0.17.1/manifests.yaml >> " ${deploy_log} " 2>&1
430- # Wait for controller with shorter timeout, continue even if it fails
430+ # Wait for controller with longer timeout for first install
431431 if ! kubectl wait --for=condition=ready pod -l control-plane=controller-manager \
432- -n kube-startup-cpu-boost-system --timeout=60s >> " ${deploy_log} " 2>&1 ; then
432+ -n kube-startup-cpu-boost-system --timeout=180s >> " ${deploy_log} " 2>&1 ; then
433433 log_info " CPU boost controller not ready, skipping pod-resize test"
434434 echo " ${tag} | ${size_local:- N/ A} | ${size_ecr:- N/ A} | ${build_time:- N/ A} | CONTROLLER NOT READY" >> " ${RESULTS_FILE} "
435435 # Cleanup
You can’t perform that action at this time.
0 commit comments