Skip to content

Commit

Permalink
Some more t3 instead of t2 instance sizes in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas11 committed Nov 20, 2023
1 parent 2481dde commit bb094a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/cluster/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const cluster2 = new eks.Cluster(`${projectName}-2`, {
desiredCapacity: 2,
minSize: 2,
maxSize: 2,
instanceType: "t3.small",
deployDashboard: false,
enabledClusterLogTypes: [
"api",
Expand Down
4 changes: 4 additions & 0 deletions examples/extra-sg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ const ngInstanceProfile = new aws.iam.InstanceProfile(
const cluster = new eks.Cluster(`${projectName}`, {
skipDefaultNodeGroup: true,
instanceRoles: [ngRole],
nodeGroupOptions: {
instanceType: "t3.small",
},
});

// Export the cluster kubeconfig.
Expand Down Expand Up @@ -91,6 +94,7 @@ const publicInternetEgressRule = new aws.ec2.SecurityGroupRule(
cluster.createNodeGroup("example-ng", {
instanceProfile: ngInstanceProfile,
extraNodeSecurityGroups: [customSecurityGroup],
instanceType: "t3.small",
});

// Test with Node Group V2 that we can add a plain type SG and a SG from the cluster as a
Expand Down

0 comments on commit bb094a3

Please sign in to comment.