Using persistent volume in BuildConfig in in RHOCP 4
Issue
- We're facing an issue where, in a
s2ibuild, thegit cloneis filling the/var/lib/originfilesystem on the node, leading to anodefsevent and triggering a pod eviction./var/lib/originis 5GB, and thegitrepository, including the.gitdirectory, is taking around 90% of the storage once pulled. We are now wondering on whether it is possible to specify another build directory, for example use a persistent volume and doing a claim in theBuildConfig, where thegitrepository would be cloned ?
Environment
- Red Hat OpenShift Container Platform 3.x and 4.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.