# Reference: https://eksctl.io/usage/creating-and-managing-clusters/
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig

metadata:
  name: wdias-cluster
  region: us-east-2

nodeGroups:
  - name: ng-core
    instanceType: c5.2xlarge
    desiredCapacity: 1
    # minSize: 1
    # maxSize: 2
    volumeSize: 10
    volumeType: gp2
    labels:
      module: core
    ssh:
      allow: true
  - name: ng-scalar
    instanceType: c5.2xlarge
    desiredCapacity: 1
    # minSize: 1
    # maxSize: 2
    volumeSize: 20
    volumeType: gp2
    labels:
      module: scalar
    ssh:
      allow: true
  - name: ng-grid
    instanceType: c5.2xlarge
    desiredCapacity: 1
    # minSize: 1
    # maxSize: 2
    volumeSize: 50
    volumeType: gp2
    labels:
      module: grid
    ssh:
      allow: true
  - name: ng-test
    instanceType: c5.2xlarge
    desiredCapacity: 2
    # minSize: 1
    # maxSize: 2
    volumeSize: 5
    # volumeType: gp2
    labels:
      module: test
    ssh:
      allow: true

# Reference: https://eksctl.io/usage/creating-and-managing-clusters/
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig

metadata:
  name: wdias-cluster
  region: us-east-2

nodeGroups:
  - name: ng-core
    instanceType: c5.2xlarge
    desiredCapacity: 1
    # minSize: 1
    # maxSize: 2
    volumeSize: 10
    volumeType: gp2
    labels:
      module: core
    ssh:
      allow: true
  - name: ng-scalar
    instanceType: c5.2xlarge
    desiredCapacity: 1
    # minSize: 1
    # maxSize: 2
    volumeSize: 20
    volumeType: gp2
    labels:
      module: scalar
    ssh:
      allow: true
  - name: ng-grid
    instanceType: c5.2xlarge
    desiredCapacity: 1
    # minSize: 1
    # maxSize: 2
    volumeSize: 50
    volumeType: gp2
    labels:
      module: grid
    ssh:
      allow: true
  - name: ng-test
    instanceType: c5.2xlarge
    desiredCapacity: 1
    # minSize: 1
    # maxSize: 2
    volumeSize: 5
    # volumeType: gp2
    labels:
      module: test
    ssh:
      allow: true

Set Test to 1 desire size
Set Test to 1 desire size