cdk-eks-blueprints icon indicating copy to clipboard operation
cdk-eks-blueprints copied to clipboard

eks: support for Kubernetes version 1.23

Open softmates opened this issue 3 years ago • 5 comments

Describe the feature

I want to upgrade eks cluster to 1.23. AWS_CDK has already fixed the issue please refer https://github.com/aws/aws-cdk/releases/tag/v2.49.0

Use Case

Upgraded EKS cluster to latest

Proposed Solution

Please upgrade the dependent aws-cdk version from 2.43 to v2.49.0

Other Information

No response

Acknowledgements

  • [ ] I may be able to implement this feature request

CDK version used

2.43.0

EKS Blueprints Version

1.3.0

Node.js Version

v18.7.0

Environment details (OS name and version, etc.)

mac os

softmates avatar Oct 30 '22 04:10 softmates

@softmates this issue is resolved in 1.4.0. I will keep it open for a bit to allow for testing, will close shortly.

shapirov103 avatar Nov 03 '22 14:11 shapirov103

BTW. EKS 1.24 is now available. Should we create a separate issue for its support or should we keep this issue open?

armujahid avatar Nov 16 '22 08:11 armujahid

@armujahid current version of CDK does not have this support ootb.

The approach that you could take is to pass the version as KubernetesVersion.of("1.24").

We can apply a change to use 1.23 kubectl layer which I assume will be compatible after testing for all versions above 1.21.

In the meanwhile you can subclass the GenericClusterProvider (or any other provider) and override the protected getKubectlLayer(scope: Construct, version: eks.KubernetesVersion) : ILayerVersion | undefined method to return something like return new KubectlV23Layer(scope, "kubectllayer23"); if version is 1.24 and above.

shapirov103 avatar Dec 07 '22 15:12 shapirov103

@shapirov103 CDK just supports EKS v1.24 in v2.54.0 Is it possible to upgrade to EKS 1.24 using blueprints?

vumdao avatar Dec 08 '22 04:12 vumdao

@vumdao issue related to blueprint v1.24 support is currently open and is in their roadmap.

armujahid avatar Dec 08 '22 08:12 armujahid