tansu

by suda

Helm chartv0.3.0App mainVerified publisher

A Helm chart for Tansu - a lightweight Kafka-compatible message broker

About this chart

tansu

A Helm chart for Tansu - a lightweight Kafka-compatible message broker

Homepage: https://tansu.io

Maintainers

NameEmailUrl
suda[email protected]https://suda.pl

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}Affinity rules for pod assignment
cluster.idstring"tansu-cluster"Unique cluster ID
extraArgslist[]Extra arguments to pass to tansu
extraEnvlist[]Extra environment variables for the container
fullnameOverridestring""Override the full name of the chart
image.pullPolicystring"IfNotPresent"Image pull policy
image.repositorystring"ghcr.io/tansu-io/tansu"Tansu image repository
image.tagstring""Overrides the image tag whose default is the chart appVersion
imagePullSecretslist[]Docker registry secrets
kafka.advertisedListenerUrlstring""Advertised listener URL (auto-generated if empty)
kafka.portint9092Port for Kafka protocol
metrics.enabledbooltrueEnable metrics
metrics.otlp.endpointstring""OTLP endpoint URL (e.g., http://alloy.alloy.svc.cluster.local:4317)
metrics.portint9100Metrics port (legacy, not used by Tansu)
metrics.serviceMonitor.enabledboolfalseEnable Prometheus ServiceMonitor (only useful with OTLP collector that exposes /metrics)
metrics.serviceMonitor.intervalstring"30s"ServiceMonitor scrape interval
metrics.serviceMonitor.labelsobject{}Additional labels for the ServiceMonitor
nameOverridestring""Override the name of the chart
nodeSelectorobject{}Node selector for pod assignment
persistence.accessModestring"ReadWriteOnce"PVC access mode
persistence.annotationsobject{}Annotations for the PVC
persistence.enabledboolfalseEnable persistence for SQLite storage
persistence.sizestring"1Gi"Size of the persistent volume
persistence.storageClassstring""Storage class (leave empty for default)
podAnnotationsobject{}Annotations for pods
podSecurityContextobject{}Security context for pods
replicaCountint1Number of Tansu replicas
resources.limits.cpustring"500m"CPU limit
resources.limits.memorystring"512Mi"Memory limit
resources.requests.cpustring"100m"CPU request
resources.requests.memorystring"256Mi"Memory request
securityContextobject{}Security context for containers
service.metricsPortint9100Metrics service port
service.portint9092Kafka service port
service.typestring"ClusterIP"Kubernetes service type
serviceAccount.annotationsobject{}Annotations for the service account
serviceAccount.createbooltrueCreate a service account
serviceAccount.namestring""Name of the service account (auto-generated if empty)
storage.enginestring"postgres"Storage engine type: "postgres", "sqlite", or "memory"
storage.postgres.databasestring"tansu"PostgreSQL database name
storage.postgres.existingSecretstring""Name of existing secret containing PostgreSQL password
storage.postgres.existingSecretKeystring"password"Key in existing secret containing the password
storage.postgres.hoststring"localhost"PostgreSQL host
storage.postgres.passwordstring""PostgreSQL password (ignored if existingSecret is set)
storage.postgres.portint5432PostgreSQL port
storage.postgres.urlstring""Direct PostgreSQL connection URL (takes precedence over individual settings)
storage.postgres.usernamestring"tansu"PostgreSQL username
storage.sqlite.pathstring"/data/tansu.db"Path to SQLite database file inside the container
tolerationslist[]Tolerations for pod assignment

Autogenerated from chart metadata using helm-docs v1.11.0

Deploy tansu with OpenTenant

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