Did cass-operator supports on demand scale up of read replicas. Operator version:1.3 and application version:3.11.6.
Did cass-operator supports on demand scale up of read replicas. Operator version:1.3 and application version:3.11.6.
There are several points I need to cover because your questions seem to cover the same subject. You just ask the same question differently but the answer is the same.
As I explained in your previous question (#6523), "read replicas" and "write replicas" are one and the same. No one uses those phrases in Cassandra -- they are just replicas.
I also mentioned in that post that you're asking about Cassandra concepts one tiny bit at a time. If you at the very least watch the videos in the DS201 Cassandra Foundations course, you will save yourself a lot of time. Help me help you -- do the course. :)
Automatically adding or decommissioning nodes is never a good idea with Cassandra because it is an expensive operation. Bootstrap and streaming operations take a long time depending on how much data each node owns. Once the bootstrap or decommission process has started, it can't be interrupted without consequences.
For the same reason, the cass-operator does not support on-demand scaling. John Sanda has covered this briefly in his response to your other question (#6528). This is effectively the same question so the answer is the same.
It is possible to manually scale up the number of nodes in a DC using the cass-operator.
The size
parameter of the CassandraDatacenter
determines how many nodes are deployed in a DC. Here's an example configuration of a DC called dc1
with size: 3
nodes:
kind: CassandraDatacenter metadata: name: dc1 spec: clusterName: cluster1 serverType: cassandra serverVersion: 3.11.6 size: 3 ...
To scale up the number of nodes, you will need to edit your YAML configuration and re-apply it with the kubectl
command. The pod(s) will be added to the DC provided there are enough Kubernetes worker nodes in your Kubernetes cluster. For details, see Scaling up a datacenter.
Note that scaling down is not supported as documented in the cass-operator release notes. Cheers!
okay. one more doubt, Did cass-Operator supports HA design using Logical/Physical Replication Leverage DB solutions like Patroni etc.
Your follow up question is again asking the same thing in your various other posts, but you're just asking it differently. I really recommend you at least watch some of the videos in the DS201 Cassandra Foundations course at the DataStax Academy so we're not going over the same questions over and over. Cheers!
6 People are following this question.
Workshop-k8ssandra: K8ssandra instance for KinD failed to create kubernetes object
Why can't I run "kubectl get nodes" in the week 5 exercise setup?
Cassandra pod is failing with liveness and readiness
Is it possible to add custom labels in CassandraDatacenter?
Does the cass-operator support cluster shutdown and startup?
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use