/cassandra-kubernetes

Easily launch a Cassandra cluster on Kubernetes

Primary LanguageShellApache License 2.0Apache-2.0

Multi-node Cassandra Cluster on Kubernetes

Fork of an open-source Github project. This creates a Cassandra docker image that expects to be run in Kubernetes. It has a few custom pieces:

  • custom-entrypoint.sh - this does a DNS lookup on the cassandra-peers service in order to join the cluster.

Configuration Options

The following environment variables can be configured in the Cassandra replication controller definition:

env:
  - name: CASSANDRA_CLUSTER_NAME
    value: Cassandra
  - name: CASSANDRA_DC
    value: DC1
  - name: CASSANDRA_RACK
    value: Kubernetes Cluster
  - name: CASSANDRA_ENDPOINT_SNITCH
    value: GossipingPropertyFileSnitch