Re: environment variables when running multiple containers in one pod

2017-11-27 Thread Yu Wei
Hi Slava, The two pvc "ocai-mysql-claim" and "ocai-nb-claim" are consuming two pv which are resides on one real storage. After deploying it on openshift origin cluster, "empty" password worked when connecting to mysql. And endpoint for glusterfs was destroyed soon after deployment, I didn't fi

Re: environment variables when running multiple containers in one pod

2017-11-27 Thread Vyacheslav Semushin
2017-11-27 10:34 GMT+01:00 Yu Wei : > Hi, > > When running mysql with other containers within one pod, it seemed that > environment variable "MYSQL_ROOT_PASSWORD" didn't work as expected. > > Password set in "MYSQL_ROOT_PASSWORD" couldn't be used for connecting to > mysql. > It doesn't work only

question about persistent volume

2017-11-27 Thread Yu Wei
Hi, Could I create several persistent volume from one real storage volume? Could several pvc share the same endpoint/svc? What's the relationship between pvc and endpoint? In my openshift origin cluster, I found pvc related endpoints were destroyed unexpectedly. How could I find what's happ

environment variables when running multiple containers in one pod

2017-11-27 Thread Yu Wei
Hi, When running mysql with other containers within one pod, it seemed that environment variable "MYSQL_ROOT_PASSWORD" didn't work as expected. Password set in "MYSQL_ROOT_PASSWORD" couldn't be used for connecting to mysql. But empty password works. If only running mysql in pod, the variable w