>
> Unfortunately, AFAIK you specify a PV for S2I build pods, so you cannot
> reuse the maven cache.
>

Correct - mounting a PV for a build is not supported, but has been on our
feature backlog for quite some time.

On Mon, Sep 16, 2019 at 4:01 PM <klaasdem...@gmail.com> wrote:

> On 16.09.19 18:52, Charles Moulliard 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] ?
>
> red hat suggests glusterfs for 3.x, for 4.x another alternative would be
> cephfs
>
> General information:
>
> https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes
>
> >
> > [1]
> >
> https://docs.okd.io/latest/install_config/storage_examples/shared_storage.html
> >
> > Regards
> >
> > Charles
> >
> > _______________________________________________
> > users mailing list
> > users@lists.openshift.redhat.com
> > http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
> _______________________________________________
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>


-- 

Adam Kaplan

He/Him

Senior Software Engineer - OpenShift

Red Hat <https://www.redhat.com/>

100 E. Davie St. Raleigh, NC 27601 USA

adam.kap...@redhat.com    T: +1-919-754-4843     IM: adambkaplan
<https://www.redhat.com/>
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to