Skip to content

Commit

Permalink
Expand dev work group subnets for r6a-xl instance types
Browse files Browse the repository at this point in the history
Expand the subnets for r6a-xl subnets so that more IPs are available for
 nodes to be scheduled.

Create a new work group in AZ c.
  • Loading branch information
masih committed May 31, 2023
1 parent 1bf1e1b commit 166e0c5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
11 changes: 9 additions & 2 deletions deploy/infrastructure/dev/us-east-2/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,19 @@ module "eks" {
instance_types = ["r6a.xlarge"]
subnet_ids = [data.aws_subnet.ue2a2.id]
}
dev-ue2b-r6a-xl = {
min_size = 0
max_size = 5
desired_size = 1
instance_types = ["r6a.xlarge"]
subnet_ids = [data.aws_subnet.ue2b1.id,data.aws_subnet.ue2b2.id,data.aws_subnet.ue2b3.id]
}
dev-ue2c-r6a-xl = {
min_size = 0
max_size = 5
desired_size = 1
instance_types = ["r6a.xlarge"]
subnet_ids = [data.aws_subnet.ue2c2.id]
subnet_ids = [data.aws_subnet.ue2c1.id,data.aws_subnet.ue2c2.id,data.aws_subnet.ue2c3.id]
}

# General purpose node groups, one per subnet.
Expand Down Expand Up @@ -70,7 +77,7 @@ module "eks" {
max_size = 7
desired_size = 1
instance_types = ["r5a.2xlarge"]
subnet_ids = [data.aws_subnet.ue2a1.id]
subnet_ids = [data.aws_subnet.ue2a1.id, data.aws_subnet.ue2a2.id, data.aws_subnet.ue2a3.id]
}

# Memory optimised node groups primarily used to run indexer nodes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ data:
- system:nodes
rolearn: arn:aws:iam::407967248065:role/dev-ue2a-r6a-xl-eks-node-group
username: system:node:{{EC2PrivateDNSName}}
- groups:
- system:bootstrappers
- system:nodes
rolearn: arn:aws:iam::407967248065:role/dev-ue2b-r6a-xl-eks-node-group
username: system:node:{{EC2PrivateDNSName}}
- groups:
- system:bootstrappers
- system:nodes
Expand Down

0 comments on commit 166e0c5

Please sign in to comment.