[feedhenry-dev] size of openshift ?

Gerard Ryan gryan at redhat.com
Fri Oct 27 09:18:00 UTC 2017


Matthias Wessendorf <mwessend at redhat.com> writes:

> Hi,
>
> I had like 15 GB of data in here:
> /var/lib/origin/openshift.local.pv/registry/docker/registry/v2/blobs/sha256
>
> wondering.... if that is never cleaned up, or does one run a scipt ?

Any idea why the space grows so large?

This might not be relevant, but if it's accumulating image/container
layers for builds from BuildConfigs over time, there are new properties
you can add to the BuildConfigSpec to limit the number of builds that
will be kept, namely 'successfulBuildsHistoryLimit' and
'failedBuildsHistoryLimit'.

E.g. like we do here:
https://github.com/feedhenry/fh-pipeline-library/blob/eb60354b4d9fb06db4134ef3cd9cb87fc5f74a7f/vars/buildWithDockerStrategy.groovy#L20..L21




More information about the feedhenry-dev mailing list