Skip to content

Commit ad486b4

Browse files
authored
Set the timeout for cortex cluster scale to 60 mins (#2168)
1 parent 44a62d3 commit ad486b4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

manager/install.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -295,16 +295,16 @@ function resize_nodegroup() {
295295
fi
296296

297297
if [ "$existing_min" != "$updating_min" ] && [ "$existing_max" != "$updating_max" ]; then
298-
echo "○ nodegroup $config_ng: updating min instances to $updating_min and max instances to $updating_max "
299-
eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-min $updating_min --nodes-max $updating_max
298+
echo "○ nodegroup $config_ng: updating min instances to $updating_min and max instances to $updating_max"
299+
eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-min $updating_min --nodes-max $updating_max --timeout "60m"
300300
echo
301301
elif [ "$existing_min" != "$updating_min" ]; then
302-
echo "○ nodegroup $config_ng: updating min instances to $updating_min "
303-
eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-min $updating_min
302+
echo "○ nodegroup $config_ng: updating min instances to $updating_min"
303+
eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-min $updating_min --timeout "60m"
304304
echo
305305
elif [ "$existing_max" != "$updating_max" ]; then
306-
echo "○ nodegroup $config_ng: updating max instances to $updating_max "
307-
eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-max $updating_max
306+
echo "○ nodegroup $config_ng: updating max instances to $updating_max"
307+
eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-max $updating_max --timeout "60m"
308308
echo
309309
fi
310310

0 commit comments

Comments
 (0)