cassandra

by kubelauncher

Helm chartv0.1.32App 5.0.9Apache-2.0Verified publisher

Apache Cassandra distributed NoSQL database

About this chart

cassandra

Apache Cassandra distributed NoSQL database

TL;DR

helm repo add kubelauncher https://kubelauncher.github.io/charts
helm install my-cassandra kubelauncher/cassandra

Or via OCI:

helm install my-cassandra oci://ghcr.io/kubelauncher/charts/cassandra

Introduction

This chart deploys Apache Cassandra on Kubernetes using the kubelauncher/cassandra Docker image. Cassandra uses a peer-to-peer gossip protocol — every node is equal and there is no single point of failure.

The values structure follows the same conventions as popular community charts, allowing easy migration.

Architecture

Single node (default)

A single Cassandra node. Suitable for development and testing.

helm install my-cassandra kubelauncher/cassandra

Cluster

Scale the cluster by increasing replicaCount. All nodes join the same cluster via gossip and share data according to the configured replication factor.

helm install my-cassandra kubelauncher/cassandra \
  --set replicaCount=3 \
  --set cluster.name=cassandra \
  --set cluster.datacenter=dc1 \
  --set cluster.rack=rack1

The CQL port is 9042, the intra-node port is 7000. Persistence is enabled by default with 16Gi volumes. The default snitch is SimpleSnitch.

Installing the Chart

helm repo add kubelauncher https://kubelauncher.github.io/charts
helm install my-cassandra kubelauncher/cassandra \
  --set replicaCount=3

Or via OCI:

helm install my-cassandra oci://ghcr.io/kubelauncher/charts/cassandra \
  --set replicaCount=3

Uninstalling the Chart

helm uninstall my-cassandra

Values

KeyTypeDefaultDescription
affinityobject{}
clusterDomainstring"cluster.local"
clusterNamestring"cassandra"
commonAnnotationsobject{}
commonLabelsobject{}
containerPorts.cqlint9042
containerPorts.intraNodeint7000
containerPorts.tlsIntraNodeint7001
containerSecurityContext.allowPrivilegeEscalationboolfalse
containerSecurityContext.capabilities.drop[0]string"ALL"
containerSecurityContext.enabledbooltrue
containerSecurityContext.readOnlyRootFilesystemboolfalse
containerSecurityContext.runAsGroupint1001
containerSecurityContext.runAsNonRootbooltrue
containerSecurityContext.runAsUserint1001
containerSecurityContext.seccompProfile.typestring"RuntimeDefault"
datacenterstring"dc1"
enableServiceLinksboolfalse
endpointSnitchstring"SimpleSnitch"
extraDeploylist[]
extraEnvVarslist[]
extraVolumeMountslist[]
extraVolumeslist[]
fullnameOverridestring""
global.defaultStorageClassstring""
global.imagePullSecretslist[]
global.imageRegistrystring""
global.storageClassstring""
heapNewSizestring""
image.digeststring"sha256:84730f5439ef1e1ddd8ed8a9bd661a04f9675255cc6d8286a30afd25d7ad45f9"
image.pullPolicystring"Always"
image.pullSecretslist[]
image.registrystring"ghcr.io"
image.repositorystring"kubelauncher/cassandra"
image.tagstring"5.0.9"
initContainerslist[]
livenessProbe.enabledbooltrue
livenessProbe.failureThresholdint5
livenessProbe.initialDelaySecondsint60
livenessProbe.periodSecondsint30
livenessProbe.successThresholdint1
livenessProbe.timeoutSecondsint10
maxHeapSizestring"512M"
nameOverridestring""
namespaceOverridestring""
networkPolicy.additionalRuleslist[]
networkPolicy.allowExternalbooltrue
networkPolicy.enabledboolfalse
nodeSelectorobject{}
persistence.accessModes[0]string"ReadWriteOnce"
persistence.annotationsobject{}
persistence.enabledbooltrue
persistence.existingClaimstring""
persistence.labelsobject{}
persistence.mountPathstring"/data/cassandra"
persistence.sizestring"16Gi"
persistence.storageClassstring""
podAnnotationsobject{}
podLabelsobject{}
podSecurityContext.enabledbooltrue
podSecurityContext.fsGroupint1001
rackstring"rack1"
readinessProbe.enabledbooltrue
readinessProbe.failureThresholdint5
readinessProbe.initialDelaySecondsint60
readinessProbe.periodSecondsint10
readinessProbe.successThresholdint1
readinessProbe.timeoutSecondsint10
replicaCountint1
resourcesobject{}
resourcesPresetstring"small"
service.annotationsobject{}
service.clusterIPstring""
service.headless.annotationsobject{}
service.labelsobject{}
service.nodePorts.cqlstring""
service.nodePorts.intraNodestring""
service.nodePorts.tlsIntraNodestring""
service.ports.cqlint9042
service.ports.intraNodeint7000
service.ports.tlsIntraNodeint7001
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.automountServiceAccountTokenboolfalse
serviceAccount.createbooltrue
serviceAccount.namestring""
sidecarslist[]
startupProbe.enabledbooltrue
startupProbe.failureThresholdint30
startupProbe.initialDelaySecondsint60
startupProbe.periodSecondsint10
startupProbe.successThresholdint1
startupProbe.timeoutSecondsint10
tolerationslist[]

Maintainers

NameEmailUrl
kubelauncher[email protected]https://www.kubelauncher.com

Deploy cassandra with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cassandra 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 is pinned at v0.1.32 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