CpuUtilization target for AWS CDK QueueProcessingFargateService

0

Dear colleagues, I've created SQS processing service using QueueProcessingFargateService.

I can adjust scaling using scalingSteps? based on information from SQS ApproximateNumberOfMessagesVisible However, according to what I can see CpuUtilization target is set to 50% by default. My processing is very CPU consuming and it is totally OK to run it on 100% load.

Unfortunately I can't find the way for changing CpuUtilization target from 50% to 100%.

This cause permanent scale up to maxScalingCapacity. Would appreciate any ideas.

1回答
0

For some reason, QueueProcessingFargateService sets CPU scaling targets as well as queue processing targets.

I had the same situation and the solution was to delete the corresponding alarms in CloudWatch manually. Go to CloudWatch -> All Alarms and find the one for your service.

There is a bug report for this in GitHub: https://github.com/aws/aws-cdk/issues/20706 so this will hopefully be fixed soon.

Knut
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ