Is cassandra-operator support on demand cluster shutdown and startup. If supports, how to achieve that one. I am using operator version: 1.3 and application version:3.11.6
Is cassandra-operator support on demand cluster shutdown and startup. If supports, how to achieve that one. I am using operator version: 1.3 and application version:3.11.6
The CassandraDatacenter CRD has a stopped
field which can scale your statefulsets down to 0 while keeping the data safe.
See the sample Custom Resource at https://github.com/datastax/cass-operator/blob/master/operator/example-cassdc-yaml/cassandra-3.11.6/example-cassdc-full.yaml#L62-L65
Good to hear. For what it's worth, Chris Bradford is one of the authors of the cass-operator. Cheers!
The operation of the Cassandra pods is completely managed in a Kubernetes cluster. For example, if a C* instance goes down then it will be brought back online automatically.
In case I misunderstood your question, perhaps if you give us additional information on what you're trying to achieve then I'll update my answer accordingly. Cheers!
[UPDATE] Chris Bradford has provided instructions for stopping the statefulsets.
You misunderstand my question, You are telling about when pod goes down. I will explain it again. Does the operator support on demand shutdown or startup? I am working on a scenario where the db cluster needs to stop and start up as required.I know there is always kubectl delete cr.yaml command, which would obviously destroy all the pods. But then to start them up again, I would have to use kubectl apply command again right? Is there a functionality by which the cluster can be stopped (in place of getting completely destroyed) and then started up again?
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 triggering daily consistent backups?
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