On Thu, Feb 27, 2020 at 08:39:06AM +0100, Patrick Uiterwijk wrote:
On Wed, 26 Feb 2020 at 22:15, Kevin Fenzi <kevin(a)scrye.com>
wrote:
> On Wed, Feb 26, 2020 at 07:18:53AM +0100, Jan Kaluza wrote:
> > Hi,
> >
> > I'm considering migration of ODCS
> > (
https://odcs.fedoraproject.org/api/1/composes/) to Openshift in order
> > to make it more scalable and also to make it closer to internal ODCS
> > deployment which I would like to also move to Openshift in the future.
> > I have some questions related to this:
> >
> > 1) ODCS needs /mnt/koji mounted in read-only mode. Based on my
> > information, it should be possible to mount /mnt/koji in read-only
> > mode in Openshift. Do you foresee any issues with this?
>
> The biggest problem with it is that openshift wont let multiple pods use
> the same pv, so you have to make N of them confusingly, but I guess
> thats not a blocker.
>
> > 2) ODCS needs /srv/odcs NFS storage ("fedora_odcs") mounted in
> > read-write mode. Is it possible and safe to mount this storage in
> > Openshift in read-write?
>
> Yeah, should be. But note only in one pod.
This should work from multiple pods just fine if the PV is a RWX
(ReadWriteMany) volume, which NFS is capable of.
Sorry, I wasn't being clear there... yes, we can make this work.
kevin