Skip to content

Commit

Permalink
Merge pull request #180 from aws-samples/task/upgrade-to-1.16
Browse files Browse the repository at this point in the history
Added ipv6-blueprint pattern and upgraded to 1.16.1, fixed libs
  • Loading branch information
shapirov103 authored Jan 23, 2025
2 parents 8cd7f95 + 57927c5 commit f91031c
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 11 deletions.
6 changes: 6 additions & 0 deletions bin/ipv6.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { configureApp } from "../lib/common/construct-utils";
import IpV6Construct from "../lib/ipv6-construct";

const app = configureApp();

new IpV6Construct().build(app, "ipv6");
27 changes: 27 additions & 0 deletions lib/ipv6-construct/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import * as cdk from 'aws-cdk-lib';
import * as blueprints from '@aws-quickstart/eks-blueprints';
import { Construct } from "constructs";
import { IpFamily } from 'aws-cdk-lib/aws-eks';

export default class IpV6Construct {
build(scope: Construct, id: string) {
const account = process.env.CDK_DEFAULT_ACCOUNT!;
const region = process.env.CDK_DEFAULT_REGION!;
const stackID = `${id}-blueprint`;

const ipFamily = IpFamily.IP_V6; //IpFamily.IP_V6 is equivalent to "ipv6"
// AddOns for the cluster. For ipv6 cluster, we haven't tested with all the addons except for the below addons.
const addOns: Array<blueprints.ClusterAddOn> = [
new blueprints.addons.VpcCniAddOn(),
new blueprints.addons.KarpenterAddOn(),
new blueprints.addons.SecretsStoreAddOn()
];
blueprints.EksBlueprint.builder()
.account(account)
.region(region)
.version('auto')
.ipFamily(ipFamily)
.addOns(...addOns)
.build(scope, stackID);
}
}
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@types/node": "^22.7.9",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"copyfiles": "^2.4.1",
"eslint": "^8.56.0",
"jest": "^29.7.0",
Expand All @@ -24,32 +24,32 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@aws-quickstart/eks-blueprints": "1.14.1",
"@aws-quickstart/eks-blueprints": "1.16.1",
"@aws-sdk/client-config-service": "^3.576.0",
"@aws-sdk/client-eks": "^3.478.0",
"@claranet-ch/konveyor-eks-blueprint-addon": "^1.0.2",
"@datadog/datadog-eks-blueprints-addon": "^0.1.2",
"@dynatrace/dynatrace-eks-blueprints-addon": "^0.0.4",
"@dynatrace/dynatrace-eks-blueprints-addon": "^1.3.1-1 ",
"@granulate/gmaestro-eks-blueprints-addon": "^1.0.16",
"@instana/aws-eks-blueprint-addon": "^1.0.4",
"@kastenhq/kasten-eks-blueprints-addon": "^1.0.1",
"@keptn/keptn-controlplane-eks-blueprints-addon": "^0.5.0",
"@komodor/komodor-eks-blueprints-addon": "^1.2.0",
"@kubecost/kubecost-eks-blueprints-addon": "^0.1.8",
"kubeshark":"^0.0.9",
"@newrelic/newrelic-eks-blueprints-addon": "^1.0.9",
"@paralus/paralus-eks-blueprints-addon": "^0.1.5",
"@rafaysystems/rafay-eks-blueprints-addon": "^0.0.2",
"@snyk-partners/snyk-monitor-eks-blueprints-addon": "^1.1.1",
"aws-cdk": "2.133.0",
"aws-cdk-lib": "2.133.0",
"aws-cdk": "2.162.1",
"aws-cdk-lib": "2.162.1",
"eks-blueprints-cdk-kubeflow-ext": "0.1.9",
"kubeshark": "^0.0.9",
"source-map-support": "^0.5.21"
},
"overrides": {
"@aws-quickstart/eks-blueprints": "1.14.1",
"aws-cdk": "2.133.0",
"aws-cdk-lib": "2.133.0",
"@aws-quickstart/eks-blueprints": "1.16.1",
"aws-cdk": "2.162.1",
"aws-cdk-lib": "2.162.1",
"xml2js": "0.5.0",
"@aws-cdk/core": "../_EXCLUDED_",
"axios": "^1.6.2"
Expand Down

0 comments on commit f91031c

Please sign in to comment.