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
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
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
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.
6 People are following this question.