action #65444
closed[qac][public cloud] Increase cleanup retention time for PC images
0%
Description
Currently images are cleaned after one day (on Azure) and this is too short.
For example, we may need older images to revalidate some part or the latest images can be broken and not usable.
Maybe better to either keep the images one week or a number of images (the last and 2 mores, so images at the same time?)
Updated by jlausuch over 4 years ago
- Category set to Infrastructure
- Priority changed from Normal to High
Option 1) Keeping images for X days:
Easy and quick to implement.
We make sure the image is deleted always. -> GOOD
We might end up in a lot of images when the images are released frequently. -> BAD
Option 2) Keep last 2 images:
More complex.
Flexibility to pick previous image if new image is broken -> GOOD (main reason for this ticket)
We will always keep 2 images "forever" and waste resources (waste money) if there are no releases and we are not using them. -> BAD
Option 3) Keep last 2 images and delete them after X days
This way, we make sure that we allow people to use "older" images and at the same time we make sure images are deleted after X days and not leave them forever wasting money.
Updated by cfconrad over 4 years ago
- Status changed from New to In Progress
- Assignee set to cfconrad
Keeping the last 2 images for 31 days:
https://gitlab.suse.de/asmorodskyi/vault-docker/-/merge_requests/26
Updated by cfconrad over 4 years ago
- Status changed from In Progress to Resolved