New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws-eks: Support EKS 1.25 #24282
Comments
Hi @plumdog , Thanks for sharing the latest update on Kubernetes. For now, I would be marking this as P1. I would reach out to my team for getting updates on latest package inclusion and share the same with you. |
Yeah. Before we get 1.25 layer cdklabs/awscdk-asset-kubectl#166 I just tested we still can deploy 1.25 cluster like this. Please note - using 1.24 kubectl with 1.25 cluster might have some issues. import { App, Stack, StackProps,
aws_eks as eks,
aws_ec2 as ec2 } from 'aws-cdk-lib';
import { KubectlV24Layer as KubectlLayer } from '@aws-cdk/lambda-layer-kubectl-v24';
import { Construct } from 'constructs';
export class EksTsStack extends Stack {
constructor(scope: Construct, id: string, props: StackProps = {}) {
super(scope, id, props);
const vpc = ec2.Vpc.fromLookup(this, 'Vpc', { isDefault: true });
new eks.Cluster(this, 'Cluster', {
vpc,
version: eks.KubernetesVersion.of('1.25'),
kubectlLayer: new KubectlLayer(this, 'KubectlLayer'),
})
}
} $ kubectl get no $ kubectl -n kube-system get po |
Yes, but I think it is always better to work with kubectl version that matches the Kubernetes cluster version |
You should expect kubectl 1.24 to work with EKS 1.25 without issue because kubectl has a +/-1 minor version skew policy, per https://kubernetes.io/releases/version-skew-policy/#kubectl. But clearly there ought to be a CDK kubectl layer for 1.25 before the CDK's support for 1.25 could be considered "done". |
Depends on cdklabs/awscdk-asset-kubectl#174 Closes #24282 https://aws.amazon.com/blogs/containers/amazon-eks-now-supports-kubernetes-version-1-25/ <img width="1299" alt="image" src="https://user-images.githubusercontent.com/31543/223216858-bad3062d-e839-4ebe-bb09-fc08c1c94358.png"> <img width="1561" alt="image" src="https://user-images.githubusercontent.com/31543/223236176-0ecf38ca-3a89-40bc-a97d-0a8f29b26329.png"> ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Depends on cdklabs/awscdk-asset-kubectl#174 Closes aws#24282 https://aws.amazon.com/blogs/containers/amazon-eks-now-supports-kubernetes-version-1-25/ <img width="1299" alt="image" src="https://user-images.githubusercontent.com/31543/223216858-bad3062d-e839-4ebe-bb09-fc08c1c94358.png"> <img width="1561" alt="image" src="https://user-images.githubusercontent.com/31543/223236176-0ecf38ca-3a89-40bc-a97d-0a8f29b26329.png"> ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Describe the feature
1.25 is now listed here https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html#kubernetes-1.25
I think it only landed today, but I can't find an announcement.
I guess this will also need a package from https://github.com/cdklabs/awscdk-asset-kubectl to support 1.25.
The text was updated successfully, but these errors were encountered: