Commit Graph

187 Commits

Author SHA1 Message Date
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
Le Minh Duc
4a2523cddd feat: Add Autoscaling schedule for EKS managed node group (#2504)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-03-31 10:46:27 -04:00
Constantin Bugneac
bd387d69fa feat: Add optional list of policy ARNs for attachment to Karpenter IRSA (#2537)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-03-28 16:50:40 -04:00
Bryant Biggs
78027f37e4 feat: Add support for enabling addons before data plane compute is created (#2478) 2023-02-17 07:28:03 -05:00
Bryant Biggs
07653b6249 docs: Update documentation for 1.24 changes to containerd, ensure examples are functioning as intended (#2463)
Resolves undefined
2023-02-09 13:03:01 -05:00
Bryant Biggs
674ab7b7f2 chore: Correct example where a list data type is required (#2387) 2023-01-06 11:03:13 -05:00
Bryant Biggs
21e26e9045 chore: Update examples for Fargate high availability (#2378) 2023-01-05 07:53:37 -05:00
Marvin Wichmann
ece82472a6 chore: Fix typo for vpc-cni addon example (#2349)
Fix typo for vpc-cni addon

All environment variables have to be strings
2022-12-17 15:06:12 -05:00
Bryant Biggs
3b62f6c316 feat: Add support for addon configuration_values (#2345)
Resolves undefined
2022-12-16 14:44:21 -05:00
Bryant Biggs
ca03fd9ec1 docs: Correct spelling mistakes (#2334)
Resolves undefined
2022-12-08 09:35:28 -05:00
Carlos Santana
b83f6d98bf fix: Ensure that custom KMS key is not created if encryption is not enabled, support computed values in cluster name (#2328)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
Resolves undefined
Resolved undefined
Closes undefined
2022-12-07 11:05:49 -05:00
Adam Staudt
7bc4a2743f fix: Call to lookup() closed too early, breaks sg rule creation in cluster sg if custom source sg is defined. (#2319)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2022-12-06 14:10:29 -05:00
Bryant Biggs
b2e97ca3dc feat!: Add support for Outposts, remove node security group, add support for addon preserve and most_recent configurations (#2250)
Co-authored-by: Anton Babenko <anton@antonbabenko.com>
Resolves undefined
2022-12-05 16:26:23 -05:00
Bryant Biggs
f24de3326d feat: New Karpenter sub-module for easily enabling Karpenter on EKS (#2303) 2022-11-21 13:50:34 -05:00
Bryant Biggs
1bc86e19aa chore: Update examples to better demonstrate questions raised through issues (#2294)
Resolves undefined
2022-11-08 09:29:42 +01:00
Bryant Biggs
28ccecefe2 fix: Disable creation of cluster security group rules that map to node security group when create_node_security_group = false (#2274)
* fix: Disable creation of cluster security group rules that map to node security group when `create_node_security_group` = `false`

* feat: Update Fargate example to run only Fargate and show disabling of both cluster and node security groups

* fix: Ensure CoreDNS changes are made ahead of install
2022-10-14 09:16:57 -04:00
Bryant Biggs
a74e98017b feat: Add output for cluster TLS certificate SHA1 fingerprint and provider tags to cluster primary security group (#2249) 2022-09-29 15:34:20 -04:00
Thomas Colomb
9e184dddf4 chore: Correct example ASG tag(s) to match cluster-autoscaler requirements (#2220) 2022-09-07 10:33:26 -04:00
Karsten Siemer
f576a6f9ea feat: Allow TLS provider to use versions 3.0+ (i.e. - >= 3.0) (#2211) 2022-08-26 15:45:07 -04:00
Igor Brites
93065fabdf feat: Default to clusters OIDC issuer URL for aws_eks_identity_provider_config (#2190)
feat: setting oidc issuer as default option for aws_eks_identity_provider_config

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2022-08-09 15:06:39 -04:00
Bryant Biggs
d990ea8aff fix: Pin TLS provider version to 3.x versions only (#2174) 2022-07-22 08:29:00 -04:00
Gaston Festari
67e0f752b9 docs: EKS Managed Node Groups example typo (#2152) 2022-07-07 19:09:02 -04:00
Eduardo Garibay-Frausto
312e4a4d59 docs: Correct example typo for NTP address (#2154) 2022-07-07 11:44:36 -04:00
KevinSnyderCodes
62dddaedb9 docs: Add fix for KUBELET_EXTRA_ARGS overwrite to EKS managed node group example (#2150) 2022-07-06 16:06:08 -04:00
Bryant Biggs
4543ab454b feat: Add support for specifiying NTP address to use private Amazon Time Sync Service (#2125) 2022-06-28 12:16:20 -04:00
Bryant Biggs
75acb09ec5 feat: Add support for creating KMS key for cluster secret encryption (#2121)
* feat: Add support for creating KMS key for cluster secret encryption

* fix: Update naming scheme to include `kms_`
2022-06-28 10:55:39 -04:00
Bryant Biggs
ebc91bcd37 feat: Add support for specifying conrol plane subnets separate from those used by node groups (data plane) (#2113) 2022-06-18 17:52:30 -04:00
tculp
d10b173a2d Added outputs for labels and taints and updated example to show usage of labels and taints (#2109)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2022-06-18 11:11:49 -04:00
Gabriel Féron
8584dcb2e0 feat: Add autoscaling_group_tags variable to self-managed-node-groups (#2084)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2022-06-02 08:26:49 -04:00
Xin Chen
d969e94bbe chore: Update Karpenter example to use partition data source (#2036)
Co-authored-by: Xin Chen <chenxin@konvery.com>
2022-04-25 06:52:15 -04:00
Bryant Biggs
51e418216f fix: Add conditional variable to allow users to opt out of tagging cluster primary security group (#2034) 2022-04-21 17:34:58 +02:00
Bryant Biggs
b5ae5daa39 fix: Avoid re-naming the primary security group through a Name tag and leave to the EKS service to manage (#2010) 2022-04-12 10:36:03 +02:00