Problem:
Our jenkins piplines currently pushes container images to pulp as local contianer type. I have noticed that older versions of the same image is retained. This is consuming diskspace of things that will never be used. How can i limit the number of revisions or clean up older ones…
In some cases we override the same tag version (like latest, stable, etc) so i dont know if removing by tags is the right way. We do re-tag latest and stable though and do a second push but i dont know if pulp registry is smart enough to know that.
i tried having a look at Manage Images - Pulp Project
but we have different tag versions for each container image so this method is not really practical. Ideally we would like to, for example, keep only the last 7 pushes of the same image.
Expected outcome:
Pulpcore version:
“versions”: {
“deb”: “3.8.0”,
“npm”: “0.4.0”,
“rpm”: “3.33.1”,
“core”: “3.94.0”,
“file”: “3.94.0”,
“maven”: “0.11.0”,
“ostree”: “2.5.3”,
“python”: “3.21.0”,
“ansible”: “0.28.0”,
“certguard”: “3.94.0”,
“container”: “2.26.3”
Pulp plugins installed and their versions:
Operating system - distribution and version:
Kubernetes (AKS) installed via helm chart 0.5.0
Other relevant data: