File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ const cluster2 = new eks.Cluster(`${projectName}-2`, {
18
18
desiredCapacity : 2 ,
19
19
minSize : 2 ,
20
20
maxSize : 2 ,
21
+ instanceType : "t3.small" ,
21
22
deployDashboard : false ,
22
23
enabledClusterLogTypes : [
23
24
"api" ,
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