From 30c6bbcb061ca1d7f64db0aa8e02b05cf66a09d7 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Mon, 21 Oct 2024 19:48:25 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(instance-size):=20t3a.large?= =?UTF-8?q?=20is=20the=20smallest=20node=20to=20build=20the=20cluster=20su?= =?UTF-8?q?ccessfully?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- variables.tf | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 14e6705..67028cb 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ Change logs are auto-generated with commitizen. | [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) | The Kubernetes version number to use for this EKS cluster. See https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html | `string` | `"1.27"` | no | | [eks\_instance\_disk\_size](#input\_eks\_instance\_disk\_size) | The size of the disk of the worker nodes in gigabytes. 40 is the approximate minimum. Needs to hold the all of the normal operating system files plus every image that will be used in the cluster. | `number` | `80` | no | -| [eks\_instance\_types](#input\_eks\_instance\_types) | EKS worker node instance types | `list(string)` |
[
"t3.small"
]
| no | +| [eks\_instance\_types](#input\_eks\_instance\_types) | EKS worker node instance types | `list(string)` |
[
"t3a.large"
]
| no | | [eks\_ng\_desired\_size](#input\_eks\_ng\_desired\_size) | Node Group desired size | `number` | `4` | no | | [eks\_ng\_max\_size](#input\_eks\_ng\_max\_size) | Node Group maximum size | `number` | `15` | no | | [eks\_ng\_min\_size](#input\_eks\_ng\_min\_size) | Node Group minimum size | `number` | `4` | no | diff --git a/variables.tf b/variables.tf index 1c50bbf..9b19197 100644 --- a/variables.tf +++ b/variables.tf @@ -39,10 +39,12 @@ variable "eks_instance_disk_size" { } variable "eks_instance_types" { + # NOTE: Given the current eks cluster defaults, t3a.large is the smallest node + # that can be used to successfully build the clsuter description = "EKS worker node instance types" type = list(string) default = [ - "t3.small" + "t3a.large" ] }