You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enhancement: Added support for EKS prefix delegation, allowing nodes to have many more IPs (17 -> 110), also change how the eks module accepts node group parameters. (#59)
* enhancement: Added support for EKS prefix delegation, allowing nodes to have many more IPs (17 -> 110), also change how the eks module accepts node group parameters.
breaking change: Switched back to using the worker security group instead of the "cluster primary" security group - we were only using it because we weren't creating a custom launch template and with this change we will be. If you are trying to upgrade, this map require tmeporarily adding a security group rule to allow your old node groups to access the db, bringing up new node groups with the new configuration, then removing your old node groups.
* docs: Clarified node group config
instance_types = list(string) - List of instance types to use for nodes in the node group. In order of preference. Instance types in a group should be similar in resources.
22
+
asg_min_size = string (default: "1") - Smallest size of this node group in instances.
23
+
asg_max_size = string (default: "3") - Largest size of this node group in instances.
24
+
use_spot_instances = bool (default: false) - If true, use spot instances to save cost.
25
+
ami_type = string (default: "AL2_x86_64") - The type of AMI to use. Other possibilities are AL2_x86_64_GPU for gpu instances or AL2_ARM_64 for ARM instances
26
+
use_large_ip_range = bool (default: true) - If true, enable the "prefix delegation" feature of EKS. This will create a custom launch template for each node group.
27
+
node_ip_limit = int (default: 110) - If using prefix delegation, the max that can be used per node. 110 is the limit for all but the largest instance types.
28
+
},
29
+
...
30
+
}
31
+
```
32
+
17
33
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
18
34
## Requirements
19
35
@@ -27,6 +43,7 @@ See the necessary versions for each EKS version here:
27
43
| Name | Version |
28
44
|------|---------|
29
45
| aws | >= 3.37.0 |
46
+
| null | n/a |
30
47
31
48
## Inputs
32
49
@@ -37,7 +54,7 @@ See the necessary versions for each EKS version here:
37
54
| addon\_vpc\_cni\_version | Version of the VPC CNI to install. If empty you will need to upgrade the CNI yourself during a cluster version upgrade |`string`|`""`| no |
38
55
| cluster\_name | Name to be given to the EKS cluster |`any`| n/a | yes |
39
56
| cluster\_version | EKS cluster version number to use. Incrementing this will start a cluster upgrade |`any`| n/a | yes |
40
-
| eks\_node\_groups | Map of maps of EKS node group config where keys are node group names| <pre>map(object({<br> instance_types = list(string)<br> asg_min_size = string<br> asg_max_size = string<br> use_spot_instances = bool<br> ami_type = string<br> }))</pre>| n/a | yes |
57
+
| eks\_node\_groups | Map of maps of EKS node group config where keys are node group names. See the readme for details. |`any`| n/a | yes |
0 commit comments