218 Commits

Author SHA1 Message Date
Bryant Biggs
325c3fe294 docs: Update doc references to 1.33; remove AL2 examples since 1.33+ does not support AL2 (#3402) 2025-07-01 16:22:45 -05:00
Michael Strassberger
681a868d62 fix: Restrict AWS provider max version due to v6 provider breaking changes (#3384)
* Add aws version constraint for 6.0.0

* fix: Restrict all AWS providers and Helm providers upper version limit

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2025-06-18 15:08:51 -05:00
Bryant Biggs
207d73fbaa feat: Add support for cluster force_update_version (#3345) 2025-04-18 11:29:13 -05:00
ismail yenigul
5c8ac85c5c docs: Set ami_type for AL2023 in the example (#3337)
set ami_type for AL2023

Set AMI type explicitly   into user data type to be able to use cloudinit_pre_nodeadm 

https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/modules/_user_data/main.tf#L33
2025-04-11 17:12:41 -05:00
Kasper Jacobsen
edd7ef36dd feat: Add node repair config to managed node group (#3271)
* feat: add var.node_repair_config to eks-managed-node-group

Fixes terraform-aws-modules/terraform-aws-eks#3249

* chore: run terraform-docs

* chore: update examples/eks-managed-node-group

* fix: Correct implementation

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2025-01-17 11:35:47 -06:00
Yaro
9fa75c0ded chore: Remove kubectl provider from Karpenter example (#3251)
* Change kubectl provider

* chore: Remove `kubectl` provider

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2024-12-20 13:17:45 -06:00
Doruk Ozturk
29d2a8c551 docs: Correct EKS Hybrid Nodes execution steps to apply successfully (#3248)
Update README.md
2024-12-19 11:06:36 -06:00
Bryant Biggs
012e51c055 fix: Update min provider version to remediate cluster replacement when enabling EKS Auto Mode (#3240) 2024-12-12 14:49:59 -06:00
Bryant Biggs
e2846be8b1 fix: Create EKS Auto Mode role when Auto Mode is enabled, regardless of built-in node pool use (#3234) 2024-12-08 22:42:11 -06:00
Bryant Biggs
3b974d33ad feat: Add support for EKS Auto Mode and EKS Hybrid nodes (#3225)
* feat: Add support for EKS hybrid nodes

* feat: Add support for EKS Auto Mode

* chore: Update test directory names

* chore: Clean up examples and tests

* fix: Clean up and last minute changes for GA

* chore: Formatting

* chore: Bump min required version for new features

* fix: Corrects from test/validation on existing clusters

* feat: Add policy for custom tags on EKS Auto Mode, validate examples

* chore: Expand on `CAM` acronym

* chore: Update README to match examples
2024-12-04 09:24:21 -06:00
Bryant Biggs
a224334fc8 feat: Add support for pod identity association on EKS addons (#3203) 2024-11-08 15:56:56 -06:00
Bryant Biggs
1b0ac83264 feat: Add support for zonal shift (#3195) 2024-11-01 16:50:19 -05:00
Bryant Biggs
b2a8617794 feat: Add support for newly released AL2023 accelerated AMI types (#3177) 2024-10-12 11:44:24 -05:00
Bryant Biggs
8b90872983 fix: Remove deprecated inline_policy from cluster role (#3163) 2024-09-21 09:45:50 -05:00
Bryant Biggs
71d19472f2 chore: Remove outposts example (#3154) 2024-09-13 16:31:42 -05:00
Andy Townsend
e317651535 feat: Add support for Karpenter v1 controller IAM role permissions (#3126)
* chore: update controller IAM role permissions to support karpenter v1

* Update versions.tf

* Revert "Update versions.tf"

This reverts commit f0e5c791443301ef7f802c627efe7f7226b95046.

* fix: Add support for both v1 and prior to v1 controller permission policy

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2024-08-19 14:31:36 -05:00
Bryant Biggs
72668ac04a feat: Add new output values for OIDC issuer URL and provider that are dual-stack compatible (#3120)
* feat: Add new output values for OIDC issuer URL and provider that support IPv4/IPv6 dualstack

* chore: Revert addition of `dualstack_oidc_provider`

* fix: Add check for `aws` partition since this is the only partition currently supported

* fix: Revert partition conditional logic
2024-08-09 17:39:56 -05:00
Bryant Biggs
e12ab7a5de feat: Add support for upgrade_policy (#3112)
* feat: Add support for `upgrade_policy`

* chore: Update test and validate
2024-08-05 09:07:13 -05:00
Koyomi Araragi
1fed91afd6 docs: Improve karpenter discovery tags example (#3097)
* docs: Improve karpenter discovery tags example

* chore: Re-add general tags declaration

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2024-07-16 17:10:55 -04:00
Taehyun Kim
af88e7d2f8 feat: Support bootstrap_self_managed_addons (#3099)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2024-07-15 19:55:09 -04:00
Bryant Biggs
ae3379e924 feat: Add support for ML capacity block reservations with EKS managed node group(s) (#3091) 2024-07-05 11:42:31 -04:00
Bryant Biggs
323fb759d7 docs: Move examples that are more like test cases to the new tests/ directory; add better example configurations (#3069)
* chore: Move examples that are more like test cases to the new `tests/` directory

* chore: Stash

* feat: Add better examples for EKS managed node groups

* chore: Add better examples for self-managed node groups

* chore: Update docs and correct `nodegroup` to `node group`
2024-06-13 10:51:40 -04:00
Koyomi Araragi
c32cee1adc docs: Improve karpenter example to use service account for helm relea… (#3066)
* docs: Improve karpenter example to use service account for helm release name

* docs: Improve karpenter example to use service account for helm release name

* docs: Improve karpenter example to use service account for helm release name
2024-06-12 16:01:53 -04:00
Ramsey McGrath
541dbb29f1 feat: Support additional cluster DNS IPs with Bottlerocket based AMIs (#3051)
* Support adding additional cluster dns ranges to bottlerocket template

* Add example for multiple dns ips

* fmt, and tf docs

* fix: Use a list by default for cluster-dns-ip

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2024-05-28 14:40:29 -04:00
Rodrigo Bersa
cfcaf27ac7 feat: Add support for Pod Identity assocation on Karpenter sub-module (#3031)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2024-05-09 07:57:57 -04:00
Bryant Biggs
74d39187d8 feat: Propagate ami_type to self-managed node group; allow using ami_type only (#3030) 2024-05-08 08:04:19 -04:00
Loren Gordon
e2a39c0f26 fix: Forces cluster outputs to wait until access entries are complete (#3000) 2024-04-08 18:45:48 -04:00
Robbie Blaine
07be37dc7a chore: Fix typo in nodeadm examples (#2986)
* Fix `nodeadm` example typo

* `apiVersion: node.eks.aws/v1alpha` -> `apiVersion: node.eks.aws/v1alpha1`

* Revert whitespace changes

* `tofu apply` in `examples/user_data`

* chore: Fix file extension type for MIME multipart user data

* chore: Fix line endings based off this https://github.com/hashicorp/terraform/issues/32910

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2024-03-25 17:01:59 -04:00
Bryant Biggs
aeb9f0c990 fix: Ensure the correct service CIDR and IP family is used in the rendered user data (#2963)
* fix: Ensuring the correct service CIDR and IP family is used in the rendered user data

* chore: Updates from testing and validating

* chore: Fix example destroy instructions

* fix: Only require `cluster_service_cidr` when `create = true`

* chore: Clean up commented out code and add note on check length
2024-03-12 10:36:19 -04:00
Bryant Biggs
29dcca335d fix: Ensure a default ip_family value is provided to guarantee a CNI policy is attached to nodes (#2967) 2024-03-11 11:02:59 -04:00
Bryant Biggs
393da7ec0e feat: Add support for tracking latest AMI release version on managed nodegroups (#2951) 2024-03-08 22:48:38 -05:00
Bryant Biggs
dfe41141c2 fix: Update AWS provider version to support AL2023_* AMI types; ensure AL2023 user data receives cluster service CIDR (#2960)
* fix: Update AWS provider version to support `AL2023_*` AMI types

* fix: Ensure the cluster service CIDR is passed to the AL2023 user data where its required
2024-03-08 15:25:14 -05:00
Bryant Biggs
0ed32d7b29 fix: Use the launch_template_tags on the launch template (#2957) 2024-03-07 14:40:43 -05:00
Bryant Biggs
7c99bb19cd feat: Add support for AL2023 nodeadm user data (#2942) 2024-02-29 19:12:50 -05:00
Bryant Biggs
7f472ec660 feat: Add support for enabling EFA resources (#2936)
* feat: Add support for enabling EFA resources

* feat: Add support for creating placement group and ensuring subnet ID used supports the instance type provided

* chore: Update README and examples

* feat: Update AWS provider MSV to support `maximum_network_cards` attribute

* fix: Update self-managed example after last round of testing; improve EFA support wording
2024-02-23 09:29:10 -05:00
Bryant Biggs
0d468bd432 docs: Update output for user data example to capture rendered output (#2940)
* docs: Update output for user data example to capture renereded output

* fix: Tsk tsk tsk - I forgot to run pre-commit
2024-02-21 17:32:01 -05:00
Mukund Tiwari
d63fd61e89 docs: Correct mis-spelling in README (#2935) 2024-02-20 07:50:06 -05:00
Bryant Biggs
d6d97519d4 docs: Update Karpenter example version; add additional clarification on access entry migration to upgrade guide (#2924) 2024-02-12 16:34:23 -05:00
Stefano Zanella
659401d9bf docs: Lowercase Fargate compute type annotation value (#2922) 2024-02-11 08:44:42 -05:00
Bryant Biggs
417791374c fix: Correct cluster access entry to create multiple policy associations per access entry (#2892) 2024-02-03 06:47:15 -05:00
Bryant Biggs
6b40bdbb1d feat!: Replace the use of aws-auth configmap with EKS cluster access entry (#2858)
* feat: Replace `resolve_conflicts` with `resolve_conflicts_on_create`/`delete`; raise MSV of AWS provider to `v5.0` to support

* fix: Replace dynamic DNS suffix for `sts:AssumeRole` API calls for static suffix

* feat: Add module tag

* feat: Align Karpenter permissions with Karpenter v1beta1/v0.32 permissions from upstream

* refactor: Move `aws-auth` ConfigMap functionality to its own sub-module

* chore: Update examples

* feat: Add state `moved` block for Karpenter Pod Identity role re-name

* fix: Correct variable `create` description

* feat: Add support for cluster access entries

* chore: Bump MSV of Terraform to `1.3`

* fix: Replace defunct kubectl provider with an updated forked equivalent

* chore: Update and validate examples for access entry; clean up provider usage

* docs: Correct double redundant variable descriptions

* feat: Add support for Cloudwatch log group class argument

* fix: Update usage tag placement, fix Karpenter event spelling, add upcoming changes section to upgrade guide

* feat: Update Karpenter module to generalize naming used and align policy with the upstream Karpenter policy

* feat: Add native support for Windows based managed nodegroups similar to AL2 and Bottlerocket

* feat: Update self-managed nodegroup module to use latest features of ASG

* docs: Update and simplify docs

* fix: Correct variable description for AMI types

* fix: Update upgrade guide with changes; rename Karpenter controller resource names to support migrating for users

* docs: Complete upgrade guide docs for migration and changes applied

* Update examples/karpenter/README.md

Co-authored-by: Anton Babenko <anton@antonbabenko.com>

* Update examples/outposts/README.md

Co-authored-by: Anton Babenko <anton@antonbabenko.com>

* Update modules/karpenter/README.md

Co-authored-by: Anton Babenko <anton@antonbabenko.com>

---------

Co-authored-by: Anton Babenko <anton@antonbabenko.com>
2024-02-02 09:36:25 -05:00
Michael Barrientos
aec2bab1d8 feat: Add Karpenter v1beta1 compatibility (#2800)
* feat: Add Karpenter v1beta1 compatibility

* fix: Update to make changes opt-in

* fix: Update resource schemas to align with latest Karpenter version - validated and working as intended

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-11-01 11:33:07 -04:00
knkcni
69eb4569b9 docs: Add ebs disk in complete example (#2773)
📝 (complete) Add ebs disk in complete example

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-10-31 16:01:34 -04:00
Bryant Biggs
f4766e5c27 fix: Karpenter node IAM role policies variable should be a map of strings, not list (#2771) 2023-10-10 11:57:29 -04:00
Jérémie Charest
feee18dd42 feat: Add support for allowed_instance_types on self-managed nodegroup ASG (#2757)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-10-06 09:20:13 -04:00
lfpalacios
771465be28 docs: Correct time_zone argument on example autoscaling group schedule (#2722) 2023-08-15 16:26:25 -04:00
Ikko Eltociear Ashimine
a2fb28e63e docs: Correct comment mis-spelling (#2642) 2023-06-06 20:26:25 -04:00
Joshua Pare
6c56e2ad20 fix: Ensure isra_tag_values can be tried before defaulting to cluster_name on Karpenter module (#2631)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-05-30 18:55:40 -04:00
tculp
fcb4256fa1 docs: Re-add 'Tags for the ASG to support cluster-autoscaler scale up from 0' example (#2494)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-05-17 10:22:26 -04:00
유용환
fd62c24b07 docs: Minor fix in comment (#2547)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-04-12 18:07:49 -04:00