From 411bf93eba0ae37fbf89dd9b739a27cb5c136483 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Tue, 19 Mar 2024 09:20:09 +0100 Subject: [PATCH] give scale down more time --- .github/workflows/helm-enterprise.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/helm-enterprise.yml b/.github/workflows/helm-enterprise.yml index 42e411280..332521f5b 100644 --- a/.github/workflows/helm-enterprise.yml +++ b/.github/workflows/helm-enterprise.yml @@ -193,8 +193,10 @@ jobs: echo "Got $SETSIZE instead" exit 1 else - echo "Got $SETSIZE. Now waiting for scaling down" + echo -n "Got $SETSIZE. Now waiting for scaling down. " kubectl patch hpa acs-alfresco-repository \ -p '{"spec": {"behavior": {"scaleDown": {"stabilizationWindowSeconds": 20}}}}' - kubectl wait --timeout=40s --for=jsonpath='spec.replicas'=1 hpa/acs-alfresco-repository + echo -n "(speeding scale down up)... " + kubectl wait --timeout=2m --for=jsonpath='spec.replicas'=1 hpa/acs-alfresco-repository + echo "Scale down completed" fi