Disk space and memory reserved by fargate for publishing logs.

0

We are currently performing chaos testing o our service which uses fargate. We observed that when we hogged the disk with100% disk space still logs were getting published by the fargate and no logs were discarded. I wanted to know does fargate reserve some additional space for publishing the logs.

已提问 2 年前237 查看次数
1 回答
0

Hi. Assuming you are using the default logging driver, most likely AWS CloudWatch, the capture of the logs from your containers is sent to CW directly, not stored on disks. We run 100s of services and never once have we had a disk capacity error due to logs with AWS Fargate and the CW Log driver (or Fluent-Bit for that matter).

If your application has multiple log streams configured internally and one of these is file, then might be worth to disable it then when running in Fargate, and stick to stdout/stderr

profile picture
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则