Commit d2ea280
authored
feat(eks): support for Kubernetes version 1.30 (#30454)
### Issue # (if applicable)
- Similar to #29040, this PR adds 1.30 support.
- Update all existing integ tests for `V1_29` and make sure they deploy with `V1_30`.
DependOn:
- [x] cdklabs/awscdk-asset-kubectl#838
- [x] cdklabs/awscdk-asset-kubectl#860
Closes #30443
### Reason for this change
### Description of changes
### Description of how you validated changes
```ts
export class EksClusterLatestVersion extends Stack {
constructor(scope: Construct, id: string, props: StackProps) {
super(scope, id, props);
const vpc = new ec2.Vpc(this, 'Vpc', { natGateways: 1 });
const mastersRole = new iam.Role(this, 'Role', {
assumedBy: new iam.AccountRootPrincipal(),
});
// create eks.Cluster of the latest k8s version
new eks.Cluster(this, 'Cluster', {
vpc,
mastersRole,
version: eks.KubernetesVersion.V1_30,
kubectlLayer: new KubectlV30Layer(this, 'KubectlLayer'),
defaultCapacity: 1,
});
}
}
```
$ kubectl get no
NAME STATUS ROLES AGE VERSION
ip-172-31-3-166.ec2.internal Ready <none> 5m38s v1.30.0-eks-036c24b
### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*1 parent 0fa3b1e commit d2ea280
44 files changed
Lines changed: 1785 additions & 1760 deletions
File tree
- packages
- @aws-cdk-testing/framework-integ
- test
- aws-eks/test
- integ.eks-al2023-nodegroup.js.snapshot
- asset.98b432f1b1df9de4026df7e718c23783d833d67973da5291085b4dc7be1a568a
- asset.abc70c90ded969d12235ca11768293cb20557cff54518518480c0d9fb344a098
- apply
- get
- helm
- patch
- integ.eks-cluster-tags.js.snapshot
- asset.98b432f1b1df9de4026df7e718c23783d833d67973da5291085b4dc7be1a568a
- integ.eks-subnet-updates.js.snapshot
- asset.98b432f1b1df9de4026df7e718c23783d833d67973da5291085b4dc7be1a568a
- aws-stepfunctions-tasks/test/emrcontainers
- integ.start-job-run.js.snapshot
- asset.98b432f1b1df9de4026df7e718c23783d833d67973da5291085b4dc7be1a568a
- aws-cdk-lib
- aws-eks
- lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments