redis
by kubelauncher
Redis in-memory data store
About this chart
redis
Redis in-memory data store
TL;DR
helm repo add kubelauncher https://kubelauncher.github.io/charts
helm install my-redis kubelauncher/redis
Or via OCI:
helm install my-redis oci://ghcr.io/kubelauncher/charts/redis
Introduction
This chart deploys Redis on Kubernetes using the kubelauncher/redis Docker image. It supports four deployment architectures: standalone, replication, sentinel, and cluster.
The values structure follows the same conventions as popular community charts, allowing easy migration.
Architecture
Standalone (default)
A single Redis primary instance. Suitable for development and caching workloads.
helm install my-redis kubelauncher/redis \
--set auth.password=mysecret
Replication
One primary with multiple read replicas. Replicas serve read traffic and provide data redundancy.
helm install my-redis kubelauncher/redis \
--set architecture=replication \
--set auth.password=mysecret \
--set replica.replicaCount=3
Sentinel
High-availability setup with automatic failover. Sentinel monitors the primary and promotes a replica if the primary fails.
helm install my-redis kubelauncher/redis \
--set architecture=replication \
--set auth.password=mysecret \
--set sentinel.enabled=true \
--set sentinel.replicaCount=3 \
--set sentinel.quorum=2
Sentinels listen on port 26379. The sentinel set name defaults to mymaster.
Cluster
Horizontally sharded Redis with automatic data partitioning across multiple nodes. Uses a dedicated redis-cluster image.
helm install my-redis kubelauncher/redis \
--set auth.password=mysecret \
--set cluster.enabled=true \
--set cluster.nodes=6 \
--set cluster.replicas=1
Each node exposes the Redis port (6379) and the cluster bus port (16379).
Installing the Chart
helm repo add kubelauncher https://kubelauncher.github.io/charts
helm install my-redis kubelauncher/redis \
--set auth.password=mysecret
Or via OCI:
helm install my-redis oci://ghcr.io/kubelauncher/charts/redis \
--set auth.password=mysecret
Uninstalling the Chart
helm uninstall my-redis
Values
| Key | Type | Default | Description |
|---|---|---|---|
| architecture | string | "standalone" | |
| auth.enabled | bool | true | |
| auth.existingSecret | string | "" | |
| auth.existingSecretPasswordKey | string | "redis-password" | |
| auth.password | string | "" | |
| cluster.affinity | object | {} | |
| cluster.containerPorts.bus | int | 16379 | |
| cluster.containerPorts.redis | int | 6379 | |
| cluster.containerSecurityContext.allowPrivilegeEscalation | bool | false | |
| cluster.containerSecurityContext.capabilities.drop[0] | string | "ALL" | |
| cluster.containerSecurityContext.enabled | bool | true | |
| cluster.containerSecurityContext.readOnlyRootFilesystem | bool | false | |
| cluster.containerSecurityContext.runAsGroup | int | 1001 | |
| cluster.containerSecurityContext.runAsNonRoot | bool | true | |
| cluster.containerSecurityContext.runAsUser | int | 1001 | |
| cluster.containerSecurityContext.seccompProfile.type | string | "RuntimeDefault" | |
| cluster.enabled | bool | false | |
| cluster.extraEnvVars | list | [] | |
| cluster.extraVolumeMounts | list | [] | |
| cluster.extraVolumes | list | [] | |
| cluster.image.digest | string | "" | |
| cluster.image.pullPolicy | string | "Always" | |
| cluster.image.registry | string | "ghcr.io" | |
| cluster.image.repository | string | "kubelauncher/redis-cluster" | |
| cluster.image.tag | string | "" | |
| cluster.initContainers | list | [] | |
| cluster.livenessProbe.enabled | bool | true | |
| cluster.livenessProbe.failureThreshold | int | 5 | |
| cluster.livenessProbe.initialDelaySeconds | int | 20 | |
| cluster.livenessProbe.periodSeconds | int | 5 | |
| cluster.livenessProbe.successThreshold | int | 1 | |
| cluster.livenessProbe.timeoutSeconds | int | 5 | |
| cluster.nodeSelector | object | {} | |
| cluster.nodes | int | 6 | |
| cluster.persistence.accessModes[0] | string | "ReadWriteOnce" | |
| cluster.persistence.annotations | object | {} | |
| cluster.persistence.enabled | bool | true | |
| cluster.persistence.existingClaim | string | "" | |
| cluster.persistence.labels | object | {} | |
| cluster.persistence.mountPath | string | "/data" | |
| cluster.persistence.size | string | "8Gi" | |
| cluster.persistence.storageClass | string | "" | |
| cluster.podAnnotations | object | {} | |
| cluster.podLabels | object | {} | |
| cluster.podSecurityContext.enabled | bool | true | |
| cluster.podSecurityContext.fsGroup | int | 1001 | |
| cluster.readinessProbe.enabled | bool | true | |
| cluster.readinessProbe.failureThreshold | int | 5 | |
| cluster.readinessProbe.initialDelaySeconds | int | 5 | |
| cluster.readinessProbe.periodSeconds | int | 5 | |
| cluster.readinessProbe.successThreshold | int | 1 | |
| cluster.readinessProbe.timeoutSeconds | int | 1 | |
| cluster.replicas | int | 1 | |
| cluster.resources | object | {} | |
| cluster.resourcesPreset | string | "micro" | |
| cluster.service.annotations | object | {} | |
| cluster.service.clusterIP | string | "" | |
| cluster.service.labels | object | {} | |
| cluster.service.nodePorts.bus | string | "" | |
| cluster.service.nodePorts.redis | string | "" | |
| cluster.service.ports.bus | int | 16379 | |
| cluster.service.ports.redis | int | 6379 | |
| cluster.service.type | string | "ClusterIP" | |
| cluster.sidecars | list | [] | |
| cluster.startupProbe.enabled | bool | true | |
| cluster.startupProbe.failureThreshold | int | 30 | |
| cluster.startupProbe.initialDelaySeconds | int | 5 | |
| cluster.startupProbe.periodSeconds | int | 5 | |
| cluster.startupProbe.successThreshold | int | 1 | |
| cluster.startupProbe.timeoutSeconds | int | 5 | |
| cluster.tolerations | list | [] | |
| clusterDomain | string | "cluster.local" | |
| commonAnnotations | object | {} | |
| commonConfiguration | string | "appendonly yes\nsave \"\"\nmaxmemory 256mb\nmaxmemory-policy allkeys-lru" | |
| commonLabels | object | {} | |
| enableServiceLinks | bool | false | |
| extraDeploy | list | [] | |
| fullnameOverride | string | "" | |
| global.defaultStorageClass | string | "" | |
| global.imagePullSecrets | list | [] | |
| global.imageRegistry | string | "" | |
| global.redis.password | string | "" | |
| global.storageClass | string | "" | |
| image.digest | string | "sha256:e1dd09c140a4b1137ca00fe63d3c7fc3c0081605631602a975035b0e88505f4b" | |
| image.pullPolicy | string | "Always" | |
| image.pullSecrets | list | [] | |
| image.registry | string | "ghcr.io" | |
| image.repository | string | "kubelauncher/redis" | |
| image.tag | string | "8.10.2" | |
| metrics.containerPorts.metrics | int | 9121 | |
| metrics.enabled | bool | false | |
| metrics.image.pullPolicy | string | "Always" | |
| metrics.image.registry | string | "ghcr.io" | |
| metrics.image.repository | string | "kubelauncher/redis-exporter" | |
| metrics.image.tag | string | "1.81.0" | |
| metrics.serviceMonitor.enabled | bool | false | |
| metrics.serviceMonitor.interval | string | "" | |
| metrics.serviceMonitor.labels | object | {} | |
| metrics.serviceMonitor.scrapeTimeout | string | "" | |
| nameOverride | string | "" | |
| namespaceOverride | string | "" | |
| networkPolicy.additionalRules | list | [] | |
| networkPolicy.allowExternal | bool | true | |
| networkPolicy.enabled | bool | false | |
| primary.affinity | object | {} | |
| primary.containerPorts.redis | int | 6379 | |
| primary.containerSecurityContext.allowPrivilegeEscalation | bool | false | |
| primary.containerSecurityContext.capabilities.drop[0] | string | "ALL" | |
| primary.containerSecurityContext.enabled | bool | true | |
| primary.containerSecurityContext.readOnlyRootFilesystem | bool | false | |
| primary.containerSecurityContext.runAsGroup | int | 1001 | |
| primary.containerSecurityContext.runAsNonRoot | bool | true | |
| primary.containerSecurityContext.runAsUser | int | 1001 | |
| primary.containerSecurityContext.seccompProfile.type | string | "RuntimeDefault" | |
| primary.count | int | 1 | |
| primary.extraEnvVars | list | [] | |
| primary.extraVolumeMounts | list | [] | |
| primary.extraVolumes | list | [] | |
| primary.initContainers | list | [] | |
| primary.livenessProbe.enabled | bool | true | |
| primary.livenessProbe.failureThreshold | int | 5 | |
| primary.livenessProbe.initialDelaySeconds | int | 20 | |
| primary.livenessProbe.periodSeconds | int | 5 | |
| primary.livenessProbe.successThreshold | int | 1 | |
| primary.livenessProbe.timeoutSeconds | int | 5 | |
| primary.nodeSelector | object | {} | |
| primary.persistence.accessModes[0] | string | "ReadWriteOnce" | |
| primary.persistence.annotations | object | {} | |
| primary.persistence.enabled | bool | true | |
| primary.persistence.existingClaim | string | "" | |
| primary.persistence.labels | object | {} | |
| primary.persistence.mountPath | string | "/data" | |
| primary.persistence.size | string | "8Gi" | |
| primary.persistence.storageClass | string | "" | |
| primary.podAnnotations | object | {} | |
| primary.podLabels | object | {} | |
| primary.podSecurityContext.enabled | bool | true | |
| primary.podSecurityContext.fsGroup | int | 1001 | |
| primary.readinessProbe.enabled | bool | true | |
| primary.readinessProbe.failureThreshold | int | 5 | |
| primary.readinessProbe.initialDelaySeconds | int | 5 | |
| primary.readinessProbe.periodSeconds | int | 5 | |
| primary.readinessProbe.successThreshold | int | 1 | |
| primary.readinessProbe.timeoutSeconds | int | 1 | |
| primary.resources | object | {} | |
| primary.resourcesPreset | string | "micro" | |
| primary.service.annotations | object | {} | |
| primary.service.clusterIP | string | "" | |
| primary.service.labels | object | {} | |
| primary.service.nodePorts.redis | string | "" | |
| primary.service.ports.redis | int | 6379 | |
| primary.service.type | string | "ClusterIP" | |
| primary.sidecars | list | [] | |
| primary.startupProbe.enabled | bool | true | |
| primary.startupProbe.failureThreshold | int | 30 | |
| primary.startupProbe.initialDelaySeconds | int | 5 | |
| primary.startupProbe.periodSeconds | int | 5 | |
| primary.startupProbe.successThreshold | int | 1 | |
| primary.startupProbe.timeoutSeconds | int | 5 | |
| primary.tolerations | list | [] | |
| replica.affinity | object | {} | |
| replica.containerPorts.redis | int | 6379 | |
| replica.containerSecurityContext.allowPrivilegeEscalation | bool | false | |
| replica.containerSecurityContext.capabilities.drop[0] | string | "ALL" | |
| replica.containerSecurityContext.enabled | bool | true | |
| replica.containerSecurityContext.readOnlyRootFilesystem | bool | false | |
| replica.containerSecurityContext.runAsGroup | int | 1001 | |
| replica.containerSecurityContext.runAsNonRoot | bool | true | |
| replica.containerSecurityContext.runAsUser | int | 1001 | |
| replica.containerSecurityContext.seccompProfile.type | string | "RuntimeDefault" | |
| replica.extraEnvVars | list | [] | |
| replica.extraVolumeMounts | list | [] | |
| replica.extraVolumes | list | [] | |
| replica.initContainers | list | [] | |
| replica.livenessProbe.enabled | bool | true | |
| replica.livenessProbe.failureThreshold | int | 5 | |
| replica.livenessProbe.initialDelaySeconds | int | 20 | |
| replica.livenessProbe.periodSeconds | int | 5 | |
| replica.livenessProbe.successThreshold | int | 1 | |
| replica.livenessProbe.timeoutSeconds | int | 5 | |
| replica.nodeSelector | object | {} | |
| replica.persistence.accessModes[0] | string | "ReadWriteOnce" | |
| replica.persistence.annotations | object | {} | |
| replica.persistence.enabled | bool | true | |
| replica.persistence.existingClaim | string | "" | |
| replica.persistence.labels | object | {} | |
| replica.persistence.mountPath | string | "/data" | |
| replica.persistence.size | string | "8Gi" | |
| replica.persistence.storageClass | string | "" | |
| replica.podAnnotations | object | {} | |
| replica.podLabels | object | {} | |
| replica.podSecurityContext.enabled | bool | true | |
| replica.podSecurityContext.fsGroup | int | 1001 | |
| replica.readinessProbe.enabled | bool | true | |
| replica.readinessProbe.failureThreshold | int | 5 | |
| replica.readinessProbe.initialDelaySeconds | int | 5 | |
| replica.readinessProbe.periodSeconds | int | 5 | |
| replica.readinessProbe.successThreshold | int | 1 | |
| replica.readinessProbe.timeoutSeconds | int | 1 | |
| replica.replicaCount | int | 3 | |
| replica.resources | object | {} | |
| replica.resourcesPreset | string | "micro" | |
| replica.service.annotations | object | {} | |
| replica.service.clusterIP | string | "" | |
| replica.service.labels | object | {} | |
| replica.service.nodePorts.redis | string | "" | |
| replica.service.ports.redis | int | 6379 | |
| replica.service.type | string | "ClusterIP" | |
| replica.sidecars | list | [] | |
| replica.startupProbe.enabled | bool | true | |
| replica.startupProbe.failureThreshold | int | 30 | |
| replica.startupProbe.initialDelaySeconds | int | 5 | |
| replica.startupProbe.periodSeconds | int | 5 | |
| replica.startupProbe.successThreshold | int | 1 | |
| replica.startupProbe.timeoutSeconds | int | 5 |
Deploy redis with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has redis 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 chartredis is pinned at v0.5.5 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