container_cleaner.py: keep the last 30 snapshots#3297
container_cleaner.py: keep the last 30 snapshots#3297johanneskastl wants to merge 1 commit intoopenSUSE:masterfrom
Conversation
Signed-off-by: Johannes Kastl <git@johannes-kastl.de>
I think it's a very big hit, as it needs 6x the storage and likely processing power as well: For every additional image in the project, publishing gets a bit slower. There's no deduplication, as most images contain the TW snapshot number and get rebuilt for every new snapshot. Currently with 5 snapshots it needs about 608GB: With 30 snapshots it would be over 3.5TB... |
For Tumbleweed, using For Leap, container images are (for now) kept indefinitely. |
I asked Adrian to have a look on the backend server directly and apparently it's about 389GiB. |
Due to the rapid release of Tumbleweed, keeping the last 5 snapshots per architecture means we only have a week old image for x86_64 at most...
Keeping 30 snapshots should not be a big hit on storage, according to @dirkmueller
Discussion see this thread