Scale cluster to 6 nodes

Signed-off-by: Carsten Schafer <Carsten.Schafer@kinarasystems.com>
This commit is contained in:
Carsten Schafer
2023-12-05 14:02:32 -05:00
parent 7a052867d7
commit 756527a8d2
3 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ The scripts should work on MacOS and Linux (as of yet untested).
## Scaling nodegroups
Set the desiredCapacity for the nodegroup in cluster.CLUSTER_NAME.yaml and run:
Set CLUSTER_NODES in your env\_FILE and also set the desiredCapacity for the nodegroup in cluster.CLUSTER_NAME.yaml and run:
```bash
source env\_FILE
eksctl scale nodegroup -f cluster.$CLUSTER_NAME.yaml

View File

@@ -98,7 +98,7 @@ nodeGroups:
amiFamily: AmazonLinux2
minSize: 3
maxSize: 8
desiredCapacity: 4
desiredCapacity: 6
volumeSize: 100
ssh: # import public key from file
allow: true

View File

@@ -5,7 +5,7 @@ export CLUSTER_DOMAIN="lab.wlan.tip.build"
export CLUSTER_ZONE_ID="Z09534373UTXT2L1YL912"
export CLUSTER_INSTANCE_TYPE="c5.xlarge"
export CLUSTER_NAME="tip-wlan-main"
export CLUSTER_NODES=4
export CLUSTER_NODES=6
export CLUSTER_MIN_NODES=3
export CLUSTER_MAX_NODES=8
export CLUSTER_VOLUME_SIZE=100