File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ const cluster2 = new eks.Cluster(`${projectName}-2`, {
27
27
vpcCniOptions : {
28
28
disableTcpEarlyDemux : true ,
29
29
} ,
30
+ nodeGroupOptions : {
31
+ instanceType : "t3.small" ,
32
+ }
30
33
} ) ;
31
34
32
35
const cluster3 = new eks . Cluster ( `${ projectName } -3` , {
Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ const ngInstanceProfile = new aws.iam.InstanceProfile(
39
39
const cluster = new eks . Cluster ( `${ projectName } ` , {
40
40
skipDefaultNodeGroup : true ,
41
41
instanceRoles : [ ngRole ] ,
42
+ nodeGroupOptions : {
43
+ instanceType : "t3.small" ,
44
+ } ,
42
45
} ) ;
43
46
44
47
// Export the cluster kubeconfig.
@@ -91,6 +94,7 @@ const publicInternetEgressRule = new aws.ec2.SecurityGroupRule(
91
94
cluster . createNodeGroup ( "example-ng" , {
92
95
instanceProfile : ngInstanceProfile ,
93
96
extraNodeSecurityGroups : [ customSecurityGroup ] ,
97
+ instanceType : "t3.small" ,
94
98
} ) ;
95
99
96
100
// Test with Node Group V2 that we can add a plain type SG and a SG from the cluster as a
You can’t perform that action at this time.
0 commit comments