(aws_ecs_patterns): container-level cpu & memory props for ApplicationLoadBalancedFargateService #20638
Open
1 of 2 tasks
Labels
@aws-cdk/aws-ecs-patterns
Related to ecs-patterns library
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
p2
Describe the feature
Surface the container-level
cpu
and container-levelmemoryLimitMiB
property ofContainerDefinitionOptions
as part of theApplicationLoadBalancedFargateService
construct.Currently those two properties are not accessible when creating an
ApplicationLoadBalancedFargateService
. (see code)Use Case
I want to deploy a sidecar container to the service container, within the same task definition. Right now the issue I observe is, the service container is set a cpu value that equals to the task cpu value (named
cpu
in ApplicationLoadBalancedFargateService construct prop), thus I get error because the sum of sidecar container cpu and service container cpu exceeds the task cpu limit.Proposed Solution
or maybe passing in an object
Other Information
No response
Acknowledgements
CDK version used
2
Environment details (OS name and version, etc.)
Linux
The text was updated successfully, but these errors were encountered: