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
| Name | Url | |
|---|---|---|
| suda | [email protected] | https://suda.pl |
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity rules for pod assignment |
| cluster.id | string | "tansu-cluster" | Unique cluster ID |
| extraArgs | list | [] | Extra arguments to pass to tansu |
| extraEnv | list | [] | Extra environment variables for the container |
| fullnameOverride | string | "" | Override the full name of the chart |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy |
| image.repository | string | "ghcr.io/tansu-io/tansu" | Tansu image repository |
| image.tag | string | "" | Overrides the image tag whose default is the chart appVersion |
| imagePullSecrets | list | [] | Docker registry secrets |
| kafka.advertisedListenerUrl | string | "" | Advertised listener URL (auto-generated if empty) |
| kafka.port | int | 9092 | Port for Kafka protocol |
| metrics.enabled | bool | true | Enable metrics |
| metrics.otlp.endpoint | string | "" | OTLP endpoint URL (e.g., http://alloy.alloy.svc.cluster.local:4317) |
| metrics.port | int | 9100 | Metrics port (legacy, not used by Tansu) |
| metrics.serviceMonitor.enabled | bool | false | Enable Prometheus ServiceMonitor (only useful with OTLP collector that exposes /metrics) |
| metrics.serviceMonitor.interval | string | "30s" | ServiceMonitor scrape interval |
| metrics.serviceMonitor.labels | object | {} | Additional labels for the ServiceMonitor |
| nameOverride | string | "" | Override the name of the chart |
| nodeSelector | object | {} | Node selector for pod assignment |
| persistence.accessMode | string | "ReadWriteOnce" | PVC access mode |
| persistence.annotations | object | {} | Annotations for the PVC |
| persistence.enabled | bool | false | Enable persistence for SQLite storage |
| persistence.size | string | "1Gi" | Size of the persistent volume |
| persistence.storageClass | string | "" | Storage class (leave empty for default) |
| podAnnotations | object | {} | Annotations for pods |
| podSecurityContext | object | {} | Security context for pods |
| replicaCount | int | 1 | Number of Tansu replicas |
| resources.limits.cpu | string | "500m" | CPU limit |
| resources.limits.memory | string | "512Mi" | Memory limit |
| resources.requests.cpu | string | "100m" | CPU request |
| resources.requests.memory | string | "256Mi" | Memory request |
| securityContext | object | {} | Security context for containers |
| service.metricsPort | int | 9100 | Metrics service port |
| service.port | int | 9092 | Kafka service port |
| service.type | string | "ClusterIP" | Kubernetes service type |
| serviceAccount.annotations | object | {} | Annotations for the service account |
| serviceAccount.create | bool | true | Create a service account |
| serviceAccount.name | string | "" | Name of the service account (auto-generated if empty) |
| storage.engine | string | "postgres" | Storage engine type: "postgres", "sqlite", or "memory" |
| storage.postgres.database | string | "tansu" | PostgreSQL database name |
| storage.postgres.existingSecret | string | "" | Name of existing secret containing PostgreSQL password |
| storage.postgres.existingSecretKey | string | "password" | Key in existing secret containing the password |
| storage.postgres.host | string | "localhost" | PostgreSQL host |
| storage.postgres.password | string | "" | PostgreSQL password (ignored if existingSecret is set) |
| storage.postgres.port | int | 5432 | PostgreSQL port |
| storage.postgres.url | string | "" | Direct PostgreSQL connection URL (takes precedence over individual settings) |
| storage.postgres.username | string | "tansu" | PostgreSQL username |
| storage.sqlite.path | string | "/data/tansu.db" | Path to SQLite database file inside the container |
| tolerations | list | [] | 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the charttansu is pinned at v0.3.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