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.

gefragt vor 2 Jahren237 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen