[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Running commands



On Thu, Jan 7, 2016 at 12:49 PM, Alejandro Nieto Boza <ale90nb gmail com> wrote:
Hi Rodolfo, 

My idea was exactly using persistent storage and having the following directory tree:
/srv/vol1/mysql1-data
/srv/vol1/mysql2-data

Exporting a NFS volume and create MYSQL_DATADIR of multiple containers inside the one volume and each container would use a different data dir like you said, but it seems will just complicate matters.



Those are the paths in your NFS share, however, in the containers the path should always be the same -- just stick with the defaults.

In the Persistent Volume and Persistent Volume Claim definitions, you will point to those NFS paths, but they will get mounted in /var/mysql/data in every container.


-- 
Rodolfo Carvalho

OpenShift Developer Experience 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]