Skip to content
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

Added ipv6-blueprint pattern and upgraded to 1.16.1, fixed libs #180

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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';

Check warning on line 1 in lib/ipv6-construct/index.ts

View workflow job for this annotation

GitHub Actions / build (18)

'cdk' is defined but never used
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
Loading