cassandra-reaper

by joaquinito2051

Helm chartv0.2.0App 1.3.0

Reaper is a centralized, stateful, and highly configurable tool for running Apache Cassandra repairs against single or multi-site clusters.

About this chart

Cassandra

A cassandra-reaper Chart for Kubernetes

Install Chart

To install the cassandra-reaper Chart into your Kubernetes cluster

helm install --namespace cassandra -n cassandra-reaper <helm-repo>/cassandra-reaper

helm install --namespace cassandra -n cassandra-reaper incubator/cassandra-reaper If you want to delete your Chart, use this command

helm delete --purge cassandra-reaper

Configuration

The following table lists the configurable parameters of the cassandra-reaper chart and their default values.

To properly configure cassandra-reaper, please refer to the environment variables documentation.

As cassandra-reaper currently lacks an authentication mechanism basic auth support is provided (whether this will work for you is dependent on your chosen ingress controller). Check your ingress controllers documentation for how to specifically configure this as each implementation is slightly different. Note that you need to provide a base64-encoded version of the auth string if you enable this feature.

Example:

htpassword -c ./auth myuser
cat ./auth | base64
ParameterDescriptionDefault
replicaCountThe number of cassandra-reaper replicas1
image.repositorycassandra-reaper image repositorythelastpickle/cassandra-reaper
image.tagcassandra-reaper image tag1.3.0
image.pullPolicyImage pull policyIfNotPresent
service.typeKubernetes service type exposing ports, e.g. NodePortClusterIP
ingress.enabledEnable Ingress resourcefalse
ingress.annotationsAnnotations for Ingress resource{}
ingress.labelsAdditional labels for Ingress resource{}
ingress.pathPath for Ingress resource/
ingress.hostsIngress resource hosts[]
ingress.tlsIngress resource TLS definition[]
ingress.basicAuth.enabledCreates basic auth secret if truefalse
ingress.basicAuth.nameName of the basic auth secret resourcebasic-auth
ingress.basicAuth.secretBase64 encoded contents of the basic auth fileMUST be provided if basic auth is enabled
envEnvironment variables{}
resourcesResource requests/limits{}
nodeSelectorKubernetes node selector{}
tolerationsKubernetes node tolerations[]
affinityKubernetes node affinity{}

Deploy cassandra-reaper with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cassandra-reaper on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcassandra-reaper is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply