• By Dylan Stephano-Shachter
Channel Version Revision Published Runs on
latest/edge 11 11 09 Aug 2022
Ubuntu 20.04
juju deploy cassandra-k8s --channel edge
Show information


Cassandra Operator


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
Scale out and down

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

  1. 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.

  2. 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.

OCI Images

This charm by default uses the latest version of the cassandra image on Docker Hub.