Skip to content

Commit

Permalink
Compile from blueprint builder
Browse files Browse the repository at this point in the history
  • Loading branch information
ROunofF committed Dec 6, 2023
1 parent 83eaae5 commit ebab291
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 132 deletions.
124 changes: 0 additions & 124 deletions lib/common/windows-builder.ts

This file was deleted.

13 changes: 5 additions & 8 deletions lib/windows-construct/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as ec2 from "aws-cdk-lib/aws-ec2";
import * as eks from "aws-cdk-lib/aws-eks";
import * as iam from "aws-cdk-lib/aws-iam";
import { Construct } from "constructs";
import { WindowsBuilder, WindowsOptions } from '../common/windows-builder';
import { WindowsBuilder, WindowsOptions } from "@aws-quickstart/eks-blueprints";
import { WindowsVpcCni } from "./vpc-cni";

export default class WindowsConstruct {
Expand All @@ -24,7 +24,7 @@ export default class WindowsConstruct {
kubernetesVersion: eks.KubernetesVersion.of("1.27"),
instanceClass: ec2.InstanceClass.T3,
instanceSize: ec2.InstanceSize.MEDIUM,
desiredNodeSize: 1,
desiredNodeCount: 1,
minNodeSize: 1,
maxNodeSize: 3,
blockDeviceSize: 50,
Expand All @@ -34,24 +34,21 @@ export default class WindowsConstruct {
"Type": "generic-windows-cluster"
},
genericNodeGroupOptions: {
id: "Mng-linux",
nodegroupName: "Mng-linux",
tags: {
"kubernetes.io/cluster/windows-eks-blueprint": "owned"
},
launchTemplate: {
requireImdsv2 : false
}
},
windowsNodeGroupOptions: {
id: "Mng-windows",
nodegroupName: "Mng-windows",
tags: {
"kubernetes.io/cluster/windows-eks-blueprint": "owned"
}
}
};

const karpenterAddon = new blueprints.addons.KarpenterAddOn({
version: "v0.30.0",
version: "v0.31.3",
requirements: [
{ key: 'kubernetes.io/os', op: 'In', vals: ['windows']},
],
Expand Down

0 comments on commit ebab291

Please sign in to comment.