Skip to content

Commit ec931db

Browse files
author
Yuriy Bezsonov
committed
fix(infra): increase Kube Startup CPU Boost controller startup timeout
1 parent c98c466 commit ec931db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

infra/scripts/deploy/test-optimizations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)