From bf2ec82a6b7418cd69295073c3250b4b199c640a Mon Sep 17 00:00:00 2001 From: Robert Lucian Chiriac Date: Tue, 11 May 2021 23:30:48 +0300 Subject: [PATCH 1/2] Set timeout to 60 minutes --- manager/install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/manager/install.sh b/manager/install.sh index 614796ad0b..2163182de6 100755 --- a/manager/install.sh +++ b/manager/install.sh @@ -295,16 +295,16 @@ function resize_nodegroup() { fi if [ "$existing_min" != "$updating_min" ] && [ "$existing_max" != "$updating_max" ]; then - echo "○ nodegroup $config_ng: updating min instances to $updating_min and max instances to $updating_max " - eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-min $updating_min --nodes-max $updating_max + echo "○ nodegroup $config_ng: updating min instances to $updating_min and max instances to $updating_max (this might take up to 60 minutes)" + eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-min $updating_min --nodes-max $updating_max --timeout "60m" echo elif [ "$existing_min" != "$updating_min" ]; then - echo "○ nodegroup $config_ng: updating min instances to $updating_min " - eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-min $updating_min + echo "○ nodegroup $config_ng: updating min instances to $updating_min (this might take up to 60 minutes)" + eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-min $updating_min --timeout "60m" echo elif [ "$existing_max" != "$updating_max" ]; then - echo "○ nodegroup $config_ng: updating max instances to $updating_max " - eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-max $updating_max + echo "○ nodegroup $config_ng: updating max instances to $updating_max (this might take up to 60 minutes)" + eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-max $updating_max --timeout "60m" echo fi From 9ad81064f9e0bfd8d8088e4d0d7e291a515ca6e8 Mon Sep 17 00:00:00 2001 From: Robert Lucian Chiriac Date: Tue, 11 May 2021 23:42:12 +0300 Subject: [PATCH 2/2] Remove timeout acknowledgement --- manager/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manager/install.sh b/manager/install.sh index 2163182de6..215baa6377 100755 --- a/manager/install.sh +++ b/manager/install.sh @@ -295,15 +295,15 @@ function resize_nodegroup() { fi if [ "$existing_min" != "$updating_min" ] && [ "$existing_max" != "$updating_max" ]; then - echo "○ nodegroup $config_ng: updating min instances to $updating_min and max instances to $updating_max (this might take up to 60 minutes)" + echo "○ nodegroup $config_ng: updating min instances to $updating_min and max instances to $updating_max" eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-min $updating_min --nodes-max $updating_max --timeout "60m" echo elif [ "$existing_min" != "$updating_min" ]; then - echo "○ nodegroup $config_ng: updating min instances to $updating_min (this might take up to 60 minutes)" + echo "○ nodegroup $config_ng: updating min instances to $updating_min" eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-min $updating_min --timeout "60m" echo elif [ "$existing_max" != "$updating_max" ]; then - echo "○ nodegroup $config_ng: updating max instances to $updating_max (this might take up to 60 minutes)" + echo "○ nodegroup $config_ng: updating max instances to $updating_max" eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-max $updating_max --timeout "60m" echo fi