Skip to content

Commit 0465b59

Browse files
authored
Update ai validator ecs configuration (#151)
*Issue #, if available:* The ECS tasks are failing due to not enough disk space. Also the alarms are showing as success despite no metrics being available due to the ECS task failures *Description of changes:* - Increased ECS disk space from 20gib to 40 gib - Changing alarm to consider missing data point as breaching By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 1f1a7bf commit 0465b59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ai-validator/cdk/ecs.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export class AIValidatorStack extends cdk.Stack {
102102
cpu: 4096,
103103
memoryLimitMiB: 8192,
104104
taskRole,
105+
ephemeralStorageGiB: 40,
105106
});
106107

107108
taskDef.addContainer(`AITestContainer-${testId}`, {
@@ -162,7 +163,7 @@ export class AIValidatorStack extends cdk.Stack {
162163
evaluationPeriods: 1,
163164
comparisonOperator:
164165
cloudwatch.ComparisonOperator.GREATER_THAN_OR_EQUAL_TO_THRESHOLD,
165-
treatMissingData: cloudwatch.TreatMissingData.NOT_BREACHING,
166+
treatMissingData: cloudwatch.TreatMissingData.BREACHING,
166167
});
167168

168169
failureAlarms.push(alarm);

0 commit comments

Comments
 (0)