Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions manager/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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"
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"
eksctl scale nodegroup --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION $stack_ng --nodes $desired --nodes-max $updating_max --timeout "60m"
echo
fi

Expand Down