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



nagasree963_193876 avatar image
nagasree963_193876 asked Erick Ramirez edited

Does the cass-operator v1.4.1 support cross-region replication?

I know previously also I asked Does cass operator supports Diaster Recovery. But it has mentioned like multi region deployments are not possible. Does new version of cass opeartor will support multi region deployments for Disaster Recovery

10 |1000

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 edited

The simple answer is no, cass-operator has support for multi-datacenter clusters only because [at the time of writing] there is a limitation that Kubernetes does not support multi-region clusters.

I've answered a similar question previously in #7782. I'll reiterate the highlights here.

Multi-region deployments

In a configuration where Cassandra DCs are deployed in multiple regions shown in this diagram:

Cassandra will operate as long as the nodes share the same cluster name, have a common seed and have network connectivity (GKE VPC in your case).

But since each DC is managed by a separate operator in each region:

  • Operator 1 can only manage the DC in region 1.
  • Operator 2 can only manage the DC in region 2.

In simpler terms, the operators don't have anything to do with each other because it requires federation which is not supported in Kubernetes. To be clear, this isn't a limitation in the cass-operator but a functionality which is not supported by Kubernetes.

If you make a configuration change in region 1, that change will only be applied to that region by operator 1. Similarly changes in region 2 will only be applied in that region by operator 2 because Kubernetes does not support federated configurations across regions.

For more information, see the official Kubernetes Best Practices document on Running in multiple zones. Cheers!

10 |1000

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