Skip to content

Commit

Permalink
feat(eks): support for Kubernetes version 1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
robertd committed Apr 12, 2023
1 parent 2a208db commit 318c11f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/aws-cdk-lib/aws-eks/lib/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,15 @@ export class KubernetesVersion {
*/
public static readonly V1_25 = KubernetesVersion.of('1.25');

/**
* Kubernetes version 1.26
*
* When creating a `Cluster` with this version, you need to also specify the
* `kubectlLayer` property with a `KubectlV26Layer` from
* `@aws-cdk/lambda-layer-kubectl-v26`.
*/
public static readonly V1_26 = KubernetesVersion.of('1.26');

/**
* Custom cluster version
* @param version custom version number
Expand Down

0 comments on commit 318c11f

Please sign in to comment.