Cassandra

  • By Dylan Stephano-Shachter
juju deploy cassandra-k8s --channel edge
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Channel Version Revision Published Runs on
latest/edge 8 8 16 Nov 2021
Ubuntu 20.04

Platform:

About

Charm for the Cassandra database Read more


Relevant links


Discuss this charm

Share your thoughts on this charm with the community on discourse.

Join the discussion

Cassandra Operator

Description

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.

Usage

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

Integrations

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.