File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -154,8 +154,10 @@ if [ "$NODE_ROLE" == "single-node" ]; then
154
154
/opt/aws/bin/cfn-signal --stack $STACK_NAME --resource $RESOURCE_ID --region $AWS_REGION
155
155
fi
156
156
157
- echo " Waiting for volumes to be available"
158
- sleep 60
157
+ if [ " $NODE_ROLE " == " single-node" ]; then
158
+ echo " Single node. Wait for one minute for the volume to be available"
159
+ sleep 60
160
+ fi
159
161
160
162
mkdir -p /data
161
163
Original file line number Diff line number Diff line change @@ -84,13 +84,9 @@ export class BscHANodesStack extends cdk.Stack {
84
84
_AUTOSCALING_GROUP_NAME_ : autoScalingGroupName
85
85
} ) ;
86
86
87
-
88
- const healthCheckPath = "/" ;
89
-
90
87
const rpcNodes = new HANodesConstruct ( this , "rpc-nodes" , {
91
88
instanceType,
92
89
dataVolumes : [ dataVolume ] ,
93
- rootDataVolumeDeviceName : "/dev/sda1" ,
94
90
machineImage : new ec2 . AmazonLinuxImage ( {
95
91
generation : AmazonLinuxGeneration . AMAZON_LINUX_2 ,
96
92
kernel :ec2 . AmazonLinuxKernel . KERNEL5_X ,
@@ -103,7 +99,6 @@ export class BscHANodesStack extends cdk.Stack {
103
99
numberOfNodes,
104
100
rpcPortForALB : 8545 ,
105
101
albHealthCheckGracePeriodMin,
106
- healthCheckPath,
107
102
heartBeatDelayMin,
108
103
lifecycleHookName : lifecycleHookName ,
109
104
autoScalingGroupName : autoScalingGroupName
You can’t perform that action at this time.
0 commit comments