From 6140dcb260470a1db0c7e2d2a4abf2fb1462d0ad Mon Sep 17 00:00:00 2001 From: Matthew Creal Morgan Date: Tue, 22 Oct 2024 11:28:23 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(instance-size):=20t3a.large?= =?UTF-8?q?=20is=20the=20smallest=20node=20to=20build=20the=20clu=E2=80=A6?= =?UTF-8?q?=20(#28)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …ster successfully --- 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" ] }