Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Latest commit

 

History

History
55 lines (38 loc) · 1.9 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.9 KB

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.