cassandra-reaper
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
| Parameter | Description | Default |
|---|---|---|
replicaCount | The number of cassandra-reaper replicas | 1 |
image.repository | cassandra-reaper image repository | thelastpickle/cassandra-reaper |
image.tag | cassandra-reaper image tag | 1.3.0 |
image.pullPolicy | Image pull policy | IfNotPresent |
service.type | Kubernetes service type exposing ports, e.g. NodePort | ClusterIP |
ingress.enabled | Enable Ingress resource | false |
ingress.annotations | Annotations for Ingress resource | {} |
ingress.labels | Additional labels for Ingress resource | {} |
ingress.path | Path for Ingress resource | / |
ingress.hosts | Ingress resource hosts | [] |
ingress.tls | Ingress resource TLS definition | [] |
ingress.basicAuth.enabled | Creates basic auth secret if true | false |
ingress.basicAuth.name | Name of the basic auth secret resource | basic-auth |
ingress.basicAuth.secret | Base64 encoded contents of the basic auth file | MUST be provided if basic auth is enabled |
env | Environment variables | {} |
resources | Resource requests/limits | {} |
nodeSelector | Kubernetes node selector | {} |
tolerations | Kubernetes node tolerations | [] |
affinity | Kubernetes 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcassandra-reaper is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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