Skip to content

Releases: cloudposse-terraform-components/aws-eks-karpenter-node-pool

v2.0.0

30 Jun 18:42
11f62ef
Compare
Choose a tag to compare
Karpenter V1 API Support @milldr (#36) ## Breaking Change!

This upgrade takes both API versions from v1beta1 to v1 and therefore requires karpenter >= 1

what

  • Support Karpenter v1

why

  • We should be using the latest version of Karpenter. v1 in karpenter introduced a few changes that we need to handle with the ec2 node class and node pool manifests

references

Summary by CodeRabbit

  • New Features

    • Introduced flexible AMI selection for node pools using the new ami_selector_terms field, replacing the previous ami_family approach.
    • Added support for specifying disruption budget reasons in node pool configurations.
  • Improvements

    • Updated Karpenter API versions and manifest schemas to align with the latest standards.
    • Enhanced documentation and examples to reflect new configuration options and updated URLs.
    • Increased AWS provider version constraint for improved compatibility.
    • Upgraded component and Helm chart versions for dependencies.
  • Bug Fixes

    • Minor formatting and indentation corrections in documentation and configuration files.

🤖 Automatic Updates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#39) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

v1.536.1

30 Jun 10:34
e5234ea
Compare
Choose a tag to compare
chore(deps): restrict aws provider version to < 6.0.0 @Benbentwo (#32) This pull request includes a version constraint update for the AWS provider in the Terraform configuration file `src/versions.tf`. The change ensures compatibility with versions up to but not including 6.0.0.
  • src/versions.tf: Updated the version constraint for the aws provider to >= 4.9.0, < 6.0.0 to ensure compatibility with future versions while avoiding potential breaking changes in version 6.0.0.

Summary by CodeRabbit

  • Chores
    • Updated AWS provider version constraints to allow only versions between 4.9.0 (inclusive) and 6.0.0 (exclusive) for improved compatibility.
    • Upgraded the version of the "eks/karpenter-controller" component to enhance system reliability.

🤖 Automatic Updates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#38) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

v1.536.0

28 Jun 18:31
eb75cd1
Compare
Choose a tag to compare
chore(deps): restrict helm provider version to ~ 2.0.0 @Benbentwo (#33) This pull request includes a version constraint update for the Helm provider in the Terraform configuration file `src/versions.tf`. The change ensures compatibility with versions up to but not including 3.0.0.

🤖 Automatic Updates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#35) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

Enable merge queue @goruha (#31) ## what - Added `auto-merge` workflow - Update `settings.yaml` - Fix CodeOwners files

why

  • Support auto merge PRs
  • Create merge queue
  • Implement new CodeOwners policy
Enable merge queue @goruha (#30) ## what - Added `auto-merge` workflow - Update `settings.yaml` - Fix CodeOwners files

why

  • Support auto merge PRs
  • Create merge queue
  • Implement new CodeOwners policy
chore(deps): bump golang.org/x/net from 0.35.0 to 0.38.0 in /test @[dependabot[bot]](https://github.com/apps/dependabot) (#22) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.35.0 to 0.38.0.
Commits
  • e1fcd82 html: properly handle trailing solidus in unquoted attribute value in foreign...
  • ebed060 internal/http3: fix build of tests with GOEXPERIMENT=nosynctest
  • 1f1fa29 publicsuffix: regenerate table
  • 1215081 http2: improve error when server sends HTTP/1
  • 312450e html: ensure <search> tag closes <p> and update tests
  • 09731f9 http2: improve handling of lost PING in Server
  • 55989e2 http2/h2c: use ResponseController for hijacking connections
  • 2914f46 websocket: re-recommend gorilla/websocket
  • 99b3ae0 go.mod: update golang.org/x dependencies
  • 85d1d54 go.mod: update golang.org/x dependencies
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

chore(deps): update tflint plugin terraform-linters/tflint-ruleset-aws to v0.40.0 @[renovate[bot]](https://github.com/apps/renovate) (#4) This PR contains the following updates:
Package Type Update Change
terraform-linters/tflint-ruleset-aws plugin minor 0.23.1 -> 0.40.0

Release Notes

terraform-linters/tflint-ruleset-aws (terraform-linters/tflint-ruleset-aws)

v0.40.0

Compare Source

What's Changed

Enhancements
Chores
Read more

v1.535.2

08 Apr 12:16
025267b
Compare
Choose a tag to compare
fix: address continual drift in karpenter node pool taints @RoseSecurity (#19) ## Why
  • Kubernetes API modifies taints dynamically.
  • computed_fields explicitly marks taints as managed by Kubernetes, preventing Terraform from tracking changes while still allowing updates.
  • Avoids Terraform drift issues without completely ignoring changes via ignore_changes.
  • Ensures Karpenter can dynamically manage taints without Terraform interfering.
  • This change addresses the following drift:
 # kubernetes_manifest.node_pool["atomic-low-disk-io"] will be updated in-place
  ~ resource "kubernetes_manifest" "node_pool" {
      ~ object   = {
          ~ spec       = {
              ~ template   = {
                  ~ spec     = {
                      ~ taints        = [
                            {
                                effect    = "NoSchedule"
                                key       = "test.co/atomic-tasks"
                                timeAdded = null
                                value     = "short"
                            },
                          ~ {
                              + value     = (known after apply)
                                # (3 unchanged attributes hidden)
                            },
                        ]
                        # (5 unchanged attributes hidden)
                    }
                    # (1 unchanged attribute hidden)
                }
                # (3 unchanged attributes hidden)
            }
            # (3 unchanged attributes hidden)
        }
        # (1 unchanged attribute hidden)
    }

[!IMPORTANT]
The first apply after this change will show resources being added to state before no changes are detected in future runs

What

  • Added computed_fields attribute to the kubernetes_manifest resource to mark spec.template.spec.taints as managed by Kubernetes, which helps avoid continual drift detection.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Usage

atmos terraform plan eks/karpenter-node-pool -s <stack>

Testing

  • Validated with atmos validate stacks
  • Performed successful atmos terraform apply on component

References

Summary by CodeRabbit

  • New Features
    • Introduced a new configuration enhancement for Kubernetes-managed resources that improves drift detection by automatically aligning taint settings with Kubernetes’ control. This update offers a more predictable and stable deployment experience.

🤖 Automatic Updates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#20) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

v1.535.1

05 Apr 07:28
ec1b559
Compare
Choose a tag to compare
Add component tests @goruha (#16) # What * [x] Add `basic` component test * [x] Add `disabled` component test * [x] Test component drifting * [ ] Add any additional use case tests

Why

  • Test basic component features
  • Verify that the component does not create any resources when input enabled: false set
  • Verify that the component does not drift on a second run with the same inputs
  • Add test for any additional than basic use cases for the component

References

Summary by CodeRabbit

  • Refactor

    • Streamlined infrastructure role assignment to simplify deployment logic.
  • New Features

    • Introduced several new configuration files enhancing cloud infrastructure management for clusters, node pools, networking, and vendor integrations.
    • Added a flexible CLI configuration for customized deployments.
  • Tests

    • Launched an expanded test suite to validate deployment behavior and resource provisioning.
  • Chores

    • Upgraded remote state versions, improved dependency management, updated ignore rules, and removed an obsolete test script.

🤖 Automatic Updates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#18) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

v1.535.0

04 Jan 11:22
d8b1576
Compare
Choose a tag to compare

Migrate component from cloudposse/terraform-aws-components

v1.534.0

04 Jan 11:06
d8b1576
Compare
Choose a tag to compare

Migrate component from cloudposse/terraform-aws-components

v1.533.0

13 Dec 19:52
f5fa562
Compare
Choose a tag to compare

Migrate component from cloudposse/terraform-aws-components

v1.532.0

27 Nov 11:35
f3cf725
Compare
Choose a tag to compare

Migrate component from cloudposse/terraform-aws-components