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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南