Skip to content

Conversation

@pahud
Copy link
Contributor

@pahud pahud commented Nov 11, 2025

Issue # (if applicable)

Closes #35717

Reason for this change

Amazon EKS now supports Kubernetes version 1.34. CDK users need the ability to create EKS clusters with this latest managed Kubernetes version to take advantage of new features and improvements.

This PR adds the 1.34 support for both aws-eks and aws-eks-v2-alpha modules.

Description of changes

This PR adds support for Kubernetes version 1.34 to aws-eks and aws-eks-v2-alpha modules.

Changes made:

  • Added KubernetesVersion.V1_34 constant to stable EKS module (aws-cdk-lib/aws-eks)
  • Added KubernetesVersion.V1_34 constant to alpha EKS module (@aws-cdk/aws-eks-v2-alpha)
  • Updated integration test framework to support v1.34 with kubectl-v34 layer
  • Added dependency on @aws-cdk/lambda-layer-kubectl-v34@^2.0.0

Implementation details:

  • 6 files modified (4 core files + 2 integration test files)
  • 23 insertions, 2 deletions
  • Purely additive change with zero breaking changes
  • Maintains full backward compatibility with all existing versions (1.29-1.33)

Usage example:

import * as eks from 'aws-cdk-lib/aws-eks';
import { KubectlV34Layer } from '@aws-cdk/lambda-layer-kubectl-v34';

const cluster = new eks.Cluster(this, 'MyCluster', {
  version: eks.KubernetesVersion.V1_34,
  kubectlLayer: new KubectlV34Layer(this, 'KubectlLayer'),
});

Describe any new or updated permissions being added

N/A - No IAM permissions or resource access changes. This is a version constant addition only.

Description of how you validated changes

  • Unit tests: All 365 existing unit tests pass without modification. The existing test suite validates version constant enumeration and format.
  • Integration tests: Integration test framework updated and validated:
    • Added kubectl-v34 layer dependency to test package
    • Updated version mapping configuration
    • Integration tests ready to generate snapshots in CI/CD
    • Build successful with zero errors
  • Build validation:
    • TypeScript compilation: No errors
    • JSII compatibility: Verified
    • ESLint: Passed
    • All builds successful

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

- Update integ-tests-kubernetes-version.ts to include KubectlV34Layer
- Add Kubernetes 1.34 to version mapping configuration
- Rename snapshot asset files to reflect latest changes
- Update integration test snapshots for EKS clusters and nodegroups
This change introduces support for Kubernetes version 1.34 in AWS CDK EKS constructs, enabling users to create clusters and nodegroups with the latest Kubernetes version.
@aws-cdk-automation aws-cdk-automation requested a review from a team November 11, 2025 20:58
@github-actions github-actions bot added effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2 labels Nov 11, 2025
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Nov 11, 2025
@pahud pahud mentioned this pull request Nov 11, 2025
1 task
- Update framework-integ package to include kubectl layer for v34
- Update EKS v2-alpha package to reference kubectl layer v34
- Update integration test snapshots for EKS cluster with AL2023 nodegroup
- Update example dependencies to use kubectl layer v34
- Prepare infrastructure for Kubernetes 1.34 runtime support
- Update README.md to reference Kubernetes version 1.34
- Update code examples to use KubernetesVersion.V1_34
- Update import statement for kubectl layer to use V34 version
- Ensure all code snippets reflect the new Kubernetes version
- Prepare documentation for latest EKS version support
@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Nov 11, 2025
@mergify
Copy link
Contributor

mergify bot commented Nov 12, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
Copy link
Contributor

mergify bot commented Nov 12, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 60096ac into aws:main Nov 12, 2025
19 of 21 checks passed
@github-actions
Copy link
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

contribution/core This is a PR that came from AWS. effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2 pr/needs-maintainer-review This PR needs a review from a Core Team Member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws_eks: Add Support for Kubernetes 1.34

3 participants