Re: Using K8s to Manage Cassandra in Production

2018-05-28 Thread Hassaan Pasha
>>>>> >>>>>> Using a statefulset should get you pretty far, though will likely be >>>>>> less effective than a coreos-style “operator”. Some random points: >>>>>> >>>>>>- For scale-up: a node shouldn’t

Re: Using K8s to Manage Cassandra in Production

2018-05-23 Thread Ben Bromhead
uldn’t report “ready” until it’s in the >>>>>NORMAL state; this will prevent multiple nodes from bootstrapping at >>>>> once. >>>>>- For scale-down: as of now there isn’t a mechanism to know if a >>>>>pod is getting decommissioned becaus

Re: Using K8s to Manage Cassandra in Production

2018-05-23 Thread vincent gromakowski
trapping at >>>> once. >>>>- For scale-down: as of now there isn’t a mechanism to know if a >>>>pod is getting decommissioned because you’ve permanently lowered replica >>>> count, or because it’s just getting bounced/re-scheduled, thus kn

Re: Using K8s to Manage Cassandra in Production

2018-05-23 Thread Ben Bromhead
y lowered replica >>> count, >>>or because it’s just getting bounced/re-scheduled, thus knowing whether >>> or >>>not to decommission is basically impossible. Relevant issue: >>> kubernetes/kubernetes#1462 >>><https://github

Re: Using K8s to Manage Cassandra in Production

2018-05-23 Thread vincent gromakowski
es/kubernetes#1462 >><https://github.com/kubernetes/kubernetes/issues/1462> >> >> >> >> *From: *Pradeep Chhetri >> *Reply-To: *"user@cassandra.apache.org" >> *Date: *Friday, May 18, 2018 at 10:20 AM >> *To: *"user@cassandra

Re: Using K8s to Manage Cassandra in Production

2018-05-23 Thread Ben Bromhead
//github.com/kubernetes/kubernetes/issues/1462> > > > > *From: *Pradeep Chhetri > *Reply-To: *"user@cassandra.apache.org" > *Date: *Friday, May 18, 2018 at 10:20 AM > *To: *"user@cassandra.apache.org" > *Subject: *Re: Using K8s to Manage Cassandra i

Re: Using K8s to Manage Cassandra in Production

2018-05-23 Thread Tom Petracca
: Pradeep Chhetri Reply-To: "user@cassandra.apache.org" Date: Friday, May 18, 2018 at 10:20 AM To: "user@cassandra.apache.org" Subject: Re: Using K8s to Manage Cassandra in Production Hello Hassaan, We use cassandra helm chart[0] for deploying cassandra over kubernetes in

Re: Using K8s to Manage Cassandra in Production

2018-05-18 Thread Pradeep Chhetri
Hello Hassaan, We use cassandra helm chart[0] for deploying cassandra over kubernetes in production. We have around 200GB cas data. It works really well. You can scale up nodes easily (I haven't tested scaling down). I would say that if you are worried about running cassandra over k8s in producti

Re: Using K8s to Manage Cassandra in Production

2018-05-18 Thread Павел Сапежко
Hi, Hassaan! For example we are using C* in k8s in production for our video surveillance system. Moreover, we are using Ceph RBD as our storage for cassandra. Today we have 8 C* nodes each manages 2Tb of data. On Fri, May 18, 2018 at 9:27 AM Hassaan Pasha wrote: > Hi, > > I am trying to craft a

Using K8s to Manage Cassandra in Production

2018-05-17 Thread Hassaan Pasha
Hi, I am trying to craft a deployment strategy for deploying and maintaining a C* cluster. I was wondering if there are actual production deployments of C* using K8s as the orchestration layer. I have been given the impression that K8s managing a C* cluster can be a recipe for disaster, especiall