RE: Cassandra container, Google Cloud and Kubernetes
Hi Erick It might be useful if the answer from Willrof is added to your Wiki. It solved my problem and could be very useful to people wanting to run Cass-Operator. Please check - https://stackoverflow.com/questions/62651374/how-do-i-access-my-cassandra-kubernetes-cluster-from-outside-the-cluster Thanks manu Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Erick Ramirez<mailto:erick.rami...@datastax.com> Sent: 30 June 2020 01:29 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Subject: Re: Cassandra container, Google Cloud and Kubernetes It's really a Kubernetes question but the TL;DR is you need to expose the services of your k8s cluster to the outside world. Have a look at this blog post to get you started -- http://alesnosek.com/blog/2017/02/14/accessing-kubernetes-pods-from-outside-of-the-cluster/. Cheers!
Re: Cassandra container, Google Cloud and Kubernetes
It's really a Kubernetes question but the TL;DR is you need to expose the services of your k8s cluster to the outside world. Have a look at this blog post to get you started -- http://alesnosek.com/blog/2017/02/14/accessing-kubernetes-pods-from-outside-of-the-cluster/. Cheers! >
RE: Cassandra container, Google Cloud and Kubernetes
In continuation to my previous message, I can see the nodes are up on the GCP dashboard. I can ping the external IP from my laptop but when I run `cqlsh external_ip 9042` then the connection fails. How do I go about connecting the K8s/Cassandra cluster to outside work so that my web application can access it. Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Manu Chadha<mailto:manu.cha...@hotmail.com> Sent: 29 June 2020 22:02 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Cc: christopher.bradf...@datastax.com<mailto:christopher.bradf...@datastax.com> Subject: RE: Cassandra container, Google Cloud and Kubernetes Hi I have started using Cass-Operator and the setup worked like a charm! https://github.com/datastax/cass-operator I have an issue though. My cluster is up and running on GCP. But how do I access it from my laptop? Sorry, new to Kubernetes so do not know how to access the cluster from outside? Thanks Manu Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Manu Chadha<mailto:manu.cha...@hotmail.com> Sent: 25 June 2020 07:48 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Cc: christopher.bradf...@datastax.com<mailto:christopher.bradf...@datastax.com> Subject: RE: Cassandra container, Google Cloud and Kubernetes Thanks Chris. This is useful. Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Christopher Bradford<mailto:bradfor...@gmail.com> Sent: 25 June 2020 07:46 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Cc: christopher.bradf...@datastax.com<mailto:christopher.bradf...@datastax.com> Subject: Re: Cassandra container, Google Cloud and Kubernetes Hi Manu, OSS Cassandra support in cass-operator is marked as a Technology Preview as there is no integrated solution for repairs or backup / restore functionality at this time. If you are comfortable managing these operational tasks either manually or through other complementary tools (Reaper and Medusa come to mind) then there should not be anything blocking you from using this operator. As Erick mentioned there are other operators available that may or may not handle these tasks for you and should be considered. ~Chris Christopher Bradford On Thu, Jun 25, 2020 at 2:39 AM Manu Chadha mailto:manu.cha...@hotmail.com>> wrote: Thanks. One more concern popped up. It seems Cass is not recommended for production. However, I need this specifically for production. What is your take on this? “ The use of Cass Operator with Cassandra 3.11.6 is intended as a Technology Preview only. Using Cass Operator with Cassandra is not recommended at this time for production environments. “ Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Erick Ramirez<mailto:erick.rami...@datastax.com> Sent: 25 June 2020 07:25 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Subject: Re: Cassandra container, Google Cloud and Kubernetes It seems that 3.11.4 is not supported. I am happy to move up to 3.11.6 but is 3.11.6 backward compatible with 3.11.4? I don’t want start changing my driver code in the application. There isn't a breaking change from a driver perspective between 3.11.4 and 3.11.6 so you don't need to rewrite your code. Cheers!
RE: Cassandra container, Google Cloud and Kubernetes
Hi I have started using Cass-Operator and the setup worked like a charm! https://github.com/datastax/cass-operator I have an issue though. My cluster is up and running on GCP. But how do I access it from my laptop? Sorry, new to Kubernetes so do not know how to access the cluster from outside? Thanks Manu Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Manu Chadha<mailto:manu.cha...@hotmail.com> Sent: 25 June 2020 07:48 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Cc: christopher.bradf...@datastax.com<mailto:christopher.bradf...@datastax.com> Subject: RE: Cassandra container, Google Cloud and Kubernetes Thanks Chris. This is useful. Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Christopher Bradford<mailto:bradfor...@gmail.com> Sent: 25 June 2020 07:46 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Cc: christopher.bradf...@datastax.com<mailto:christopher.bradf...@datastax.com> Subject: Re: Cassandra container, Google Cloud and Kubernetes Hi Manu, OSS Cassandra support in cass-operator is marked as a Technology Preview as there is no integrated solution for repairs or backup / restore functionality at this time. If you are comfortable managing these operational tasks either manually or through other complementary tools (Reaper and Medusa come to mind) then there should not be anything blocking you from using this operator. As Erick mentioned there are other operators available that may or may not handle these tasks for you and should be considered. ~Chris Christopher Bradford On Thu, Jun 25, 2020 at 2:39 AM Manu Chadha mailto:manu.cha...@hotmail.com>> wrote: Thanks. One more concern popped up. It seems Cass is not recommended for production. However, I need this specifically for production. What is your take on this? “ The use of Cass Operator with Cassandra 3.11.6 is intended as a Technology Preview only. Using Cass Operator with Cassandra is not recommended at this time for production environments. “ Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Erick Ramirez<mailto:erick.rami...@datastax.com> Sent: 25 June 2020 07:25 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Subject: Re: Cassandra container, Google Cloud and Kubernetes It seems that 3.11.4 is not supported. I am happy to move up to 3.11.6 but is 3.11.6 backward compatible with 3.11.4? I don’t want start changing my driver code in the application. There isn't a breaking change from a driver perspective between 3.11.4 and 3.11.6 so you don't need to rewrite your code. Cheers!
RE: Cassandra container, Google Cloud and Kubernetes
Thanks Chris. This is useful. Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Christopher Bradford<mailto:bradfor...@gmail.com> Sent: 25 June 2020 07:46 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Cc: christopher.bradf...@datastax.com<mailto:christopher.bradf...@datastax.com> Subject: Re: Cassandra container, Google Cloud and Kubernetes Hi Manu, OSS Cassandra support in cass-operator is marked as a Technology Preview as there is no integrated solution for repairs or backup / restore functionality at this time. If you are comfortable managing these operational tasks either manually or through other complementary tools (Reaper and Medusa come to mind) then there should not be anything blocking you from using this operator. As Erick mentioned there are other operators available that may or may not handle these tasks for you and should be considered. ~Chris Christopher Bradford On Thu, Jun 25, 2020 at 2:39 AM Manu Chadha mailto:manu.cha...@hotmail.com>> wrote: Thanks. One more concern popped up. It seems Cass is not recommended for production. However, I need this specifically for production. What is your take on this? “ The use of Cass Operator with Cassandra 3.11.6 is intended as a Technology Preview only. Using Cass Operator with Cassandra is not recommended at this time for production environments. “ Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Erick Ramirez<mailto:erick.rami...@datastax.com> Sent: 25 June 2020 07:25 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Subject: Re: Cassandra container, Google Cloud and Kubernetes It seems that 3.11.4 is not supported. I am happy to move up to 3.11.6 but is 3.11.6 backward compatible with 3.11.4? I don’t want start changing my driver code in the application. There isn't a breaking change from a driver perspective between 3.11.4 and 3.11.6 so you don't need to rewrite your code. Cheers!
Re: Cassandra container, Google Cloud and Kubernetes
Hi Manu, OSS Cassandra support in cass-operator is marked as a Technology Preview as there is no integrated solution for repairs or backup / restore functionality at this time. If you are comfortable managing these operational tasks either manually or through other complementary tools (Reaper and Medusa come to mind) then there should not be anything blocking you from using this operator. As Erick mentioned there are other operators available that may or may not handle these tasks for you and should be considered. ~Chris Christopher Bradford On Thu, Jun 25, 2020 at 2:39 AM Manu Chadha wrote: > Thanks. One more concern popped up. It seems Cass is not recommended for > production. However, I need this specifically for production. What is your > take on this? > > > > “ > > The use of Cass Operator with Cassandra 3.11.6 is intended as a *Technology > Preview* only. Using Cass Operator with Cassandra is not recommended at > this time for production environments. > > “ > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > *From: *Erick Ramirez > *Sent: *25 June 2020 07:25 > *To: *user@cassandra.apache.org > *Subject: *Re: Cassandra container, Google Cloud and Kubernetes > > > > It seems that 3.11.4 is not supported. I am happy to move up to 3.11.6 but > is 3.11.6 backward compatible with 3.11.4? I don’t want start changing my > driver code in the application. > > > > There isn't a breaking change from a driver perspective between 3.11.4 and > 3.11.6 so you don't need to rewrite your code. Cheers! > > >
RE: Cassandra container, Google Cloud and Kubernetes
Thanks. One more concern popped up. It seems Cass is not recommended for production. However, I need this specifically for production. What is your take on this? “ The use of Cass Operator with Cassandra 3.11.6 is intended as a Technology Preview only. Using Cass Operator with Cassandra is not recommended at this time for production environments. “ Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Erick Ramirez<mailto:erick.rami...@datastax.com> Sent: 25 June 2020 07:25 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Subject: Re: Cassandra container, Google Cloud and Kubernetes It seems that 3.11.4 is not supported. I am happy to move up to 3.11.6 but is 3.11.6 backward compatible with 3.11.4? I don’t want start changing my driver code in the application. There isn't a breaking change from a driver perspective between 3.11.4 and 3.11.6 so you don't need to rewrite your code. Cheers!
Re: Cassandra container, Google Cloud and Kubernetes
> > It seems that 3.11.4 is not supported. I am happy to move up to 3.11.6 but > is 3.11.6 backward compatible with 3.11.4? I don’t want start changing my > driver code in the application. > There isn't a breaking change from a driver perspective between 3.11.4 and 3.11.6 so you don't need to rewrite your code. Cheers!
Re: Cassandra container, Google Cloud and Kubernetes
> > I have started looking at Cass. Referring to the release notes, does Cass > support 3.11.4? > The cass-operator only supports C* 3.11.6 [1]. C* 3.11.4 is over a year old now and there are some important fixes in 3.11.5 and 3.11.6 that I think should be sufficient motivation to use 3.11.6. If it helps, I'll single these 2 out: - CASSANDRA-14096 Repair merkle tree size causes OOM [2] - CASSANDRA-15035 Fix bad UDT sstable metadata serialization headers written by C* 3.0 on upgrade and in sstablescrub [3] Cheers! [1] https://docs.datastax.com/en/cass-operator/doc/cass-operator/cassOperatorFaqs.html [2] https://issues.apache.org/jira/browse/CASSANDRA-14096 [3] https://issues.apache.org/jira/browse/CASSANDRA-15035
RE: Cassandra container, Google Cloud and Kubernetes
Hi Erick It seems that 3.11.4 is not supported. I am happy to move up to 3.11.6 but is 3.11.6 backward compatible with 3.11.4? I don’t want start changing my driver code in the application. “ Cass Operator release 1.2.0 is compatible with Apache Cassandra 3.11.6 and DSE 6.8.0+. Cass Operator is not supported and will not function with prior releases of Cassandra or DSE. Furthermore, this release of Cass Operator is compatible only with specific Cassandra and DSE docker images that are hosted in the DataStax Docker Hub repository. Prior (pre-release) DataStax Labs releases of DSE 6.8.0 will not function with the current Cass Operator.” Thanks Manu From: Manu Chadha<mailto:manu.cha...@hotmail.com> Sent: 25 June 2020 07:12 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Subject: RE: Cassandra container, Google Cloud and Kubernetes Dear Erick I have started looking at Cass. Referring to the release notes, does Cass support 3.11.4? https://docs.datastax.com/en/cass-operator/doc/cass-operator/cassOperatorReleaseNotes.html regards Manu Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Erick Ramirez<mailto:erick.rami...@datastax.com> Sent: 24 June 2020 12:37 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Subject: Re: Cassandra container, Google Cloud and Kubernetes This isn't a direct answer to your questions but you might be interested in the Kubernetes operator for Apache Cassandra [1] from DataStax. You can use the cass-operator to deploy a C* 3.11.6 image to your Kubernetes cluster. The docs are available here [2]. FWIW there are several other published operators from the likes of Orange [3] and Instaclustr [4]. The authors have come together in the community to contribute their work and "combine" them into an "official" operator for Cassandra. (I'm sure someone will correct me if I've made any misrepresentation). Cheers! [1] https://github.com/datastax/cass-operator [2] https://docs.datastax.com/en/cass-operator/doc/ [3] https://github.com/Orange-OpenSource/casskop [4] https://github.com/instaclustr/cassandra-operator
RE: Cassandra container, Google Cloud and Kubernetes
Dear Erick I have started looking at Cass. Referring to the release notes, does Cass support 3.11.4? https://docs.datastax.com/en/cass-operator/doc/cass-operator/cassOperatorReleaseNotes.html regards Manu Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Erick Ramirez<mailto:erick.rami...@datastax.com> Sent: 24 June 2020 12:37 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Subject: Re: Cassandra container, Google Cloud and Kubernetes This isn't a direct answer to your questions but you might be interested in the Kubernetes operator for Apache Cassandra [1] from DataStax. You can use the cass-operator to deploy a C* 3.11.6 image to your Kubernetes cluster. The docs are available here [2]. FWIW there are several other published operators from the likes of Orange [3] and Instaclustr [4]. The authors have come together in the community to contribute their work and "combine" them into an "official" operator for Cassandra. (I'm sure someone will correct me if I've made any misrepresentation). Cheers! [1] https://github.com/datastax/cass-operator [2] https://docs.datastax.com/en/cass-operator/doc/ [3] https://github.com/Orange-OpenSource/casskop [4] https://github.com/instaclustr/cassandra-operator
Re: Cassandra container, Google Cloud and Kubernetes
This isn't a direct answer to your questions but you might be interested in the Kubernetes operator for Apache Cassandra [1] from DataStax. You can use the cass-operator to deploy a C* 3.11.6 image to your Kubernetes cluster. The docs are available here [2]. FWIW there are several other published operators from the likes of Orange [3] and Instaclustr [4]. The authors have come together in the community to contribute their work and "combine" them into an "official" operator for Cassandra. (I'm sure someone will correct me if I've made any misrepresentation). Cheers! [1] https://github.com/datastax/cass-operator [2] https://docs.datastax.com/en/cass-operator/doc/ [3] https://github.com/Orange-OpenSource/casskop [4] https://github.com/instaclustr/cassandra-operator >