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
Copy file name to clipboardExpand all lines: modules/eks/cluster/README.md
+34-1Lines changed: 34 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,6 +177,38 @@ For example:
177
177
tags: null
178
178
```
179
179
180
+
### Using Addons
181
+
182
+
EKS clusters support “Addons” that can be automatically installed on a cluster. Install these addons with the [`var.addons` input](https://docs.cloudposse.com/components/library/aws/eks/cluster/#input_addons).
183
+
184
+
```yaml
185
+
addons:
186
+
- addon_name: vpc-cni
187
+
addon_version: v1.12.6-eksbuild.2
188
+
```
189
+
190
+
Some addons, such as CoreDNS, require at least one node to be fully provisioned first.
191
+
See [issue #170](https://github.com/cloudposse/terraform-aws-eks-cluster/issues/170) for more details.
192
+
Set `var.addons_depends_on` to `true` to require the Node Groups to be provisioned before addons.
193
+
194
+
```yaml
195
+
addons_depends_on: true
196
+
addons:
197
+
- addon_name: coredns
198
+
addon_version: v1.25
199
+
```
200
+
201
+
:::warning
202
+
203
+
Addons may not be suitable for all use-cases! For example, if you are using Karpenter to provision nodes,
204
+
these nodes will never be available before the cluster component is deployed.
205
+
206
+
:::
207
+
208
+
For more on upgrading these EKS Addons, see
209
+
["How to Upgrade EKS Cluster Addons"](https://docs.cloudposse.com/reference-architecture/how-to-guides/upgrades/how-to-upgrade-eks-cluster-addons/)
210
+
211
+
180
212
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
| <a name="input_additional_tag_map"></a> [additional\_tag\_map](#input\_additional\_tag\_map) | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`.<br>This is for some rare cases where resources want additional configuration of tags<br>and therefore take a list of maps with tag key, value, and additional configuration. | `map(string)` | `{}` | no |
| <a name="input_addons_depends_on"></a> [addons\_depends\_on](#input\_addons\_depends\_on) | If set `true`, all addons will depend on managed node groups provisioned by this component and therefore not be installed until nodes are provisioned.<br>See [issue #170](https://github.com/cloudposse/terraform-aws-eks-cluster/issues/170) for more details. | `bool` | `false` | no |
230
263
| <a name="input_allow_ingress_from_vpc_accounts"></a> [allow\_ingress\_from\_vpc\_accounts](#input\_allow\_ingress\_from\_vpc\_accounts) | List of account contexts to pull VPC ingress CIDR and add to cluster security group.<br><br>e.g.<br><br>{<br> environment = "ue2",<br> stage = "auto",<br> tenant = "core"<br>} | `any` | `[]` | no |
231
264
| <a name="input_allowed_cidr_blocks"></a> [allowed\_cidr\_blocks](#input\_allowed\_cidr\_blocks) | List of CIDR blocks to be allowed to connect to the EKS cluster | `list(string)` | `[]` | no |
232
265
| <a name="input_allowed_security_groups"></a> [allowed\_security\_groups](#input\_allowed\_security\_groups) | List of Security Group IDs to be allowed to connect to the EKS cluster | `list(string)` | `[]` | no |
0 commit comments