Page MenuHomePhabricator

Review logs in containers
Open, Needs TriagePublicSpike

Description

Current situation
Our containers generate logs, e.g. the wikibase container writes logs to /var/log/mediawiki. So the container filesystem carries state, which is not a conscious design decision as far as I know. At the moment, I personally would prefer our containers filesystems being completely ephemeral.

The logs that are not sent to stdout are getting written out to files. Those files get written inside the container. The next time that you run them the log files inside the containers are appended with the new ones. We ideally don't want those past logs when the containers run.

We also want to reflect and discuss what we want the users to get from the logs e.g. making them more easily to parse

Goal

  • Research on what means to have completely ephemeral container file systems versus the opposite such as sending the logs to stdout
  • Set up conversation with Eng Team to get to a decision together
  • if applies, create tickets to implement the decision

Event Timeline

Restricted Application changed the subtype of this task from "Task" to "Spike". · View Herald TranscriptJul 8 2024, 11:48 AM