[feedhenry-dev] size of openshift ?

Matthias Wessendorf mwessend at redhat.com
Fri Oct 27 09:57:22 UTC 2017


On Fri, Oct 27, 2017 at 11:18 AM, Gerard Ryan <gryan at redhat.com> wrote:

> 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?
>

Big data! ;-)


>
> 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


ah, that could be handy - thanks




-- 
Project lead AeroGear.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/feedhenry-dev/attachments/20171027/7177c1bd/attachment.htm>


More information about the feedhenry-dev mailing list