Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

brickpattern avatar image
brickpattern asked Erick Ramirez commented

Joining K8ssandra to C* cluster on EC2

I got an existing Cassandra cluster on EC2 . On the same VPC a K8ssandra cluster has been stoodpoint in EKS. To join the K8ssandra cluster and drain data from EC2 nodes, how do we expose the ports? By default K8ssandra seems tobe bringing up a ClusterIP. Should we be creating a headless service or nodeport so the C* nodes on EKS K8ssandra can talk seamlessly to EC2 Cassandra

Thoughts plz

k8ssandra
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered Erick Ramirez commented

"Joining clusters" is not a supported configuration, regardless of whether you're running Cassandra in Kubernetes or not.

At the very least, you will screw up the schema because each cluster has its own version that will not be compatible with the other.

You can try it for yourself in a non-production environment and will realise that you will no longer be able to read from or write to the "merged" cluster. Cheers!

2 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

well, its just joining nodes. the K8ssandra cluster is empty nodes with same cluster name. In otherwords, how to join a K8ssandra (EKS containers) to existing Cassandra cluster (EC2)

0 Likes 0 ·
It doesn't matter -- it's still not supported so we won't be providing instructions on how to do it. Cheers!
0 Likes 0 ·