mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-02 08:40:53 +03:00
5876bcfcdc
This pull request updates the CPU and memory configurations for the task
definitions in the AWS service. The CPU has been changed from 2048 to
1024, and the memory has been changed from 8192 to 2048. These changes
optimize the resource allocation for the task definitions.
<!--
ELLIPSIS_HIDDEN
-->
----
| 🚀 This description was created by
[Ellipsis](https://www.ellipsis.dev) for commit
c095179818
|
|--------|
### Summary:
This PR optimizes resource allocation by reducing CPU and memory
configurations for task definitions in five AWS service JSON files.
**Key points**:
- Reduced CPU and memory configurations in `task_definition.json`,
`task_definition_preview.json`, `task_definition_preview_beat.json`,
`task_definition_preview_worker.json`, and
`task_definition_prod_worker.json`.
- Optimized resource allocation for task definitions.
----
Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)
<!--
ELLIPSIS_HIDDEN
-->
84 lines
2.2 KiB
JSON
84 lines
2.2 KiB
JSON
{
|
|
"taskDefinitionArn": "arn:aws:ecs:eu-west-3:253053805092:task-definition/quivr-preview-beat:1",
|
|
"containerDefinitions": [
|
|
{
|
|
"name": "quivr-beat",
|
|
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:600ff1ede02741c66853cc3e4e7f5001aaba3bc2",
|
|
"cpu": "256",
|
|
"memory": "512",
|
|
"essential": true,
|
|
"command": ["celery", "-A", "celery_worker", "beat", "-l", "info"],
|
|
|
|
"environment": [],
|
|
"environmentFiles": [
|
|
{
|
|
"value": "arn:aws:s3:::quivr-env-variables/preview.env",
|
|
"type": "s3"
|
|
}
|
|
],
|
|
"mountPoints": [],
|
|
"volumesFrom": [],
|
|
"logConfiguration": {
|
|
"logDriver": "awslogs",
|
|
"options": {
|
|
"awslogs-create-group": "true",
|
|
"awslogs-group": "/ecs/quivr-preview-beat",
|
|
"awslogs-region": "eu-west-3",
|
|
"awslogs-stream-prefix": "ecs"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"family": "quivr-preview-beat",
|
|
"taskRoleArn": "arn:aws:iam::253053805092:role/ecsTaskExecutionRole",
|
|
"executionRoleArn": "arn:aws:iam::253053805092:role/ecsTaskExecutionRole",
|
|
"networkMode": "awsvpc",
|
|
"revision": 1,
|
|
"volumes": [],
|
|
"status": "ACTIVE",
|
|
"requiresAttributes": [
|
|
{
|
|
"name": "com.amazonaws.ecs.capability.logging-driver.awslogs"
|
|
},
|
|
{
|
|
"name": "ecs.capability.execution-role-awslogs"
|
|
},
|
|
{
|
|
"name": "com.amazonaws.ecs.capability.ecr-auth"
|
|
},
|
|
{
|
|
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.19"
|
|
},
|
|
{
|
|
"name": "ecs.capability.env-files.s3"
|
|
},
|
|
{
|
|
"name": "com.amazonaws.ecs.capability.task-iam-role"
|
|
},
|
|
{
|
|
"name": "ecs.capability.execution-role-ecr-pull"
|
|
},
|
|
{
|
|
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.18"
|
|
},
|
|
{
|
|
"name": "ecs.capability.task-eni"
|
|
},
|
|
{
|
|
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.29"
|
|
}
|
|
],
|
|
"placementConstraints": [],
|
|
"compatibilities": ["EC2", "FARGATE"],
|
|
"requiresCompatibilities": ["FARGATE"],
|
|
"cpu": "256",
|
|
"memory": "512",
|
|
"runtimePlatform": {
|
|
"cpuArchitecture": "X86_64",
|
|
"operatingSystemFamily": "LINUX"
|
|
},
|
|
"registeredAt": "2023-08-18T09:01:56.187Z",
|
|
"registeredBy": "arn:aws:iam::253053805092:root",
|
|
"tags": []
|
|
}
|