Hi Charles,

You would need any storage back-end that supports ReadWriteMany acces mode,
which usually means file-based storage. AFAIK most cloud-based storage,
such as EC2 volumes, would not fit the bill.

Unfortunately, AFAIK you specify a PV for S2I build pods, so you cannot
reuse the maven cache. You'd need to setup something like a Nexus repo and
use build env to point to that, and this is not as fast as a real maven
cache would be. :-(


[]s, Fernando Lozano

On Mon, Sep 16, 2019 at 1:53 PM Charles Moulliard <cmoul...@redhat.com>
wrote:

> Hi,
>
> Is a NFS share the only way to share the same PV volume (=> to be mounted
> within different pods) from the filesystem in order to by example access a
> maven repo cache as this is needed for java build [1] ?
>
> [1]
> https://docs.okd.io/latest/install_config/storage_examples/shared_storage.html
>
> Regards
>
> Charles
> Have a question?
> First, check the FAQ:
> https://pnt.redhat.com/pnt/p-734673/openshift-con...-Jun-2017.pdf
> Then, check the rest of PnT:
> https://engineering.redhat.com/pnt/b-73685/OpenShift
> Did you read the docs?
> https://docs.openshift.com/container-platform/latest/welcome/index.html
> Finally, check the archives:
> http://post-office.corp.redhat.com/archives/openshift-sme/
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to