Apache Cassandra is an open source NoSQL distributed database providing scalability, high availability and fault-tolerance on commodity hardware.
This Cassandra operator is designed to integrate Cassandra in the Juju charm ecosystem.
$ juju deploy cassandra-k8s
Changing the amount of units of Cassandra is done by executing:
$ juju scale-application cassandra-k8s <new_unit_count>
You should scale the Cassandra cluster gradually, not adding or removing units too fast. The rebalancing of the cluster is I/O intensive, with potentially large amounts of data moving between nodes, and that can measurably affect performance.
Cassandra integrates with the following
Any charm that implements the cassandra
consumer interface. This interface
database credentials and keyspace creation for the consumer charm. The
interface can be implemented by using the cassandra charm library. Detailed
information about how to do this can be found
here.
Any charm that implements the prometheus_scrape
consumer interface. Most
likely this will be the Prometheus charm. This allows monitoring of the
Cassandra cluster. More information about the prometheus_scrape
interface can
be found in the library docs
here.
For more information on using charm libraries, see the docs here.
This charm by default uses the latest version of the cassandra
image on Docker Hub.