Re: How to deploy a cassandra cluster ?

2016-03-04 Thread Mohamed Lrhazi
Cool. Thanks a lot Clayton. That sounds like the correct way to deploy Cassandra. Mohamed. On Fri, Mar 4, 2016 at 8:00 AM, Clayton Coleman wrote: > I recommend looking through the Kubernetes Cassandra example - it > describes how you can fix the common problems: > > https://github.com/kubernet

Re: How to deploy a cassandra cluster ?

2016-03-04 Thread Clayton Coleman
I recommend looking through the Kubernetes Cassandra example - it describes how you can fix the common problems: https://github.com/kubernetes/kubernetes/tree/master/examples/cassandra On Mar 4, 2016, at 3:21 AM, Mohamed Lrhazi wrote: I created two pods started the first, obtained its IP, t

Re: How to deploy a cassandra cluster ?

2016-03-04 Thread Mohamed Lrhazi
I created two pods started the first, obtained its IP, then manually added it to the Dockerfile of the second pod: ENV CASSANDRA_CLUSTER_NAME=avesterra \ CASSANDRA_SEEDS=10.1.0.85 Now deploying this second pod seems to actually work... So, how do I refer to the the IP of another pod, in

How to deploy a cassandra cluster ?

2016-03-03 Thread Mohamed Lrhazi
Hello, One way, maybe only way, to start a cassandra cluster is like this: - start one node. - start more nodes and give them the IP@ of the first one as seed address, via ENV variable. How can I do this on OpenShift? would I use a Service ? What would I set in the deployment config of such a po