From a3a3d9a70268cc5366872a8404215e077fa005c0 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Wed, 21 Jan 2026 18:58:33 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(node-size):=20increase=20bas?= =?UTF-8?q?e=20node=20size=20to=20t3a.large=20and=20enable=20node=20repair?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- main.tf | 3 +++ variables.tf | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 340e095..254d9c9 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ efs-csi-controller 0 5m | [cluster\_name](#input\_cluster\_name) | EKS cluster name name component used through out the EKS cluster describing its purpose (ex: dice-dev) | `string` | n/a | yes | | [cluster\_version](#input\_cluster\_version) | Kubernetes version to use for the EKS cluster | `string` | n/a | yes | | [eks\_instance\_disk\_size](#input\_eks\_instance\_disk\_size) | Size of the EKS node disk in GB | `number` | `80` | no | -| [eks\_instance\_types](#input\_eks\_instance\_types) | List of EC2 instance types for the EKS node group | `list(string)` |
[
"t3a.medium"
]
| no | +| [eks\_instance\_types](#input\_eks\_instance\_types) | List of EC2 instance types for the EKS node group | `list(string)` |
[
"t3a.large"
]
| no | | [eks\_ng\_desired\_size](#input\_eks\_ng\_desired\_size) | Desired size of the EKS node group | `number` | `2` | no | | [eks\_ng\_max\_size](#input\_eks\_ng\_max\_size) | Maximum size of the EKS node group | `number` | `2` | no | | [eks\_ng\_min\_size](#input\_eks\_ng\_min\_size) | Minimum size of the EKS node group | `number` | `2` | no | diff --git a/main.tf b/main.tf index 072f21d..47e6391 100644 --- a/main.tf +++ b/main.tf @@ -60,6 +60,9 @@ module "cluster" { min_size = var.eks_ng_min_size max_size = var.eks_ng_max_size desired_size = var.eks_ng_desired_size + node_repair_config = { + enabled = true + } iam_role_name = format("%v%v-nodegroup", local.prefixes["eks-role"], var.cluster_name) iam_role_additional_policies = local.additional_policies diff --git a/variables.tf b/variables.tf index dbd959a..ffbd117 100644 --- a/variables.tf +++ b/variables.tf @@ -55,7 +55,7 @@ variable "eks_instance_types" { description = "List of EC2 instance types for the EKS node group" type = list(string) default = [ - "t3a.medium" + "t3a.large" ] validation { condition = length(var.eks_instance_types) > 0