redis

by kubelauncher

Helm chartv0.5.5App 8.10.2Apache-2.0Verified publisher

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

KeyTypeDefaultDescription
architecturestring"standalone"
auth.enabledbooltrue
auth.existingSecretstring""
auth.existingSecretPasswordKeystring"redis-password"
auth.passwordstring""
cluster.affinityobject{}
cluster.containerPorts.busint16379
cluster.containerPorts.redisint6379
cluster.containerSecurityContext.allowPrivilegeEscalationboolfalse
cluster.containerSecurityContext.capabilities.drop[0]string"ALL"
cluster.containerSecurityContext.enabledbooltrue
cluster.containerSecurityContext.readOnlyRootFilesystemboolfalse
cluster.containerSecurityContext.runAsGroupint1001
cluster.containerSecurityContext.runAsNonRootbooltrue
cluster.containerSecurityContext.runAsUserint1001
cluster.containerSecurityContext.seccompProfile.typestring"RuntimeDefault"
cluster.enabledboolfalse
cluster.extraEnvVarslist[]
cluster.extraVolumeMountslist[]
cluster.extraVolumeslist[]
cluster.image.digeststring""
cluster.image.pullPolicystring"Always"
cluster.image.registrystring"ghcr.io"
cluster.image.repositorystring"kubelauncher/redis-cluster"
cluster.image.tagstring""
cluster.initContainerslist[]
cluster.livenessProbe.enabledbooltrue
cluster.livenessProbe.failureThresholdint5
cluster.livenessProbe.initialDelaySecondsint20
cluster.livenessProbe.periodSecondsint5
cluster.livenessProbe.successThresholdint1
cluster.livenessProbe.timeoutSecondsint5
cluster.nodeSelectorobject{}
cluster.nodesint6
cluster.persistence.accessModes[0]string"ReadWriteOnce"
cluster.persistence.annotationsobject{}
cluster.persistence.enabledbooltrue
cluster.persistence.existingClaimstring""
cluster.persistence.labelsobject{}
cluster.persistence.mountPathstring"/data"
cluster.persistence.sizestring"8Gi"
cluster.persistence.storageClassstring""
cluster.podAnnotationsobject{}
cluster.podLabelsobject{}
cluster.podSecurityContext.enabledbooltrue
cluster.podSecurityContext.fsGroupint1001
cluster.readinessProbe.enabledbooltrue
cluster.readinessProbe.failureThresholdint5
cluster.readinessProbe.initialDelaySecondsint5
cluster.readinessProbe.periodSecondsint5
cluster.readinessProbe.successThresholdint1
cluster.readinessProbe.timeoutSecondsint1
cluster.replicasint1
cluster.resourcesobject{}
cluster.resourcesPresetstring"micro"
cluster.service.annotationsobject{}
cluster.service.clusterIPstring""
cluster.service.labelsobject{}
cluster.service.nodePorts.busstring""
cluster.service.nodePorts.redisstring""
cluster.service.ports.busint16379
cluster.service.ports.redisint6379
cluster.service.typestring"ClusterIP"
cluster.sidecarslist[]
cluster.startupProbe.enabledbooltrue
cluster.startupProbe.failureThresholdint30
cluster.startupProbe.initialDelaySecondsint5
cluster.startupProbe.periodSecondsint5
cluster.startupProbe.successThresholdint1
cluster.startupProbe.timeoutSecondsint5
cluster.tolerationslist[]
clusterDomainstring"cluster.local"
commonAnnotationsobject{}
commonConfigurationstring"appendonly yes\nsave \"\"\nmaxmemory 256mb\nmaxmemory-policy allkeys-lru"
commonLabelsobject{}
enableServiceLinksboolfalse
extraDeploylist[]
fullnameOverridestring""
global.defaultStorageClassstring""
global.imagePullSecretslist[]
global.imageRegistrystring""
global.redis.passwordstring""
global.storageClassstring""
image.digeststring"sha256:e1dd09c140a4b1137ca00fe63d3c7fc3c0081605631602a975035b0e88505f4b"
image.pullPolicystring"Always"
image.pullSecretslist[]
image.registrystring"ghcr.io"
image.repositorystring"kubelauncher/redis"
image.tagstring"8.10.2"
metrics.containerPorts.metricsint9121
metrics.enabledboolfalse
metrics.image.pullPolicystring"Always"
metrics.image.registrystring"ghcr.io"
metrics.image.repositorystring"kubelauncher/redis-exporter"
metrics.image.tagstring"1.81.0"
metrics.serviceMonitor.enabledboolfalse
metrics.serviceMonitor.intervalstring""
metrics.serviceMonitor.labelsobject{}
metrics.serviceMonitor.scrapeTimeoutstring""
nameOverridestring""
namespaceOverridestring""
networkPolicy.additionalRuleslist[]
networkPolicy.allowExternalbooltrue
networkPolicy.enabledboolfalse
primary.affinityobject{}
primary.containerPorts.redisint6379
primary.containerSecurityContext.allowPrivilegeEscalationboolfalse
primary.containerSecurityContext.capabilities.drop[0]string"ALL"
primary.containerSecurityContext.enabledbooltrue
primary.containerSecurityContext.readOnlyRootFilesystemboolfalse
primary.containerSecurityContext.runAsGroupint1001
primary.containerSecurityContext.runAsNonRootbooltrue
primary.containerSecurityContext.runAsUserint1001
primary.containerSecurityContext.seccompProfile.typestring"RuntimeDefault"
primary.countint1
primary.extraEnvVarslist[]
primary.extraVolumeMountslist[]
primary.extraVolumeslist[]
primary.initContainerslist[]
primary.livenessProbe.enabledbooltrue
primary.livenessProbe.failureThresholdint5
primary.livenessProbe.initialDelaySecondsint20
primary.livenessProbe.periodSecondsint5
primary.livenessProbe.successThresholdint1
primary.livenessProbe.timeoutSecondsint5
primary.nodeSelectorobject{}
primary.persistence.accessModes[0]string"ReadWriteOnce"
primary.persistence.annotationsobject{}
primary.persistence.enabledbooltrue
primary.persistence.existingClaimstring""
primary.persistence.labelsobject{}
primary.persistence.mountPathstring"/data"
primary.persistence.sizestring"8Gi"
primary.persistence.storageClassstring""
primary.podAnnotationsobject{}
primary.podLabelsobject{}
primary.podSecurityContext.enabledbooltrue
primary.podSecurityContext.fsGroupint1001
primary.readinessProbe.enabledbooltrue
primary.readinessProbe.failureThresholdint5
primary.readinessProbe.initialDelaySecondsint5
primary.readinessProbe.periodSecondsint5
primary.readinessProbe.successThresholdint1
primary.readinessProbe.timeoutSecondsint1
primary.resourcesobject{}
primary.resourcesPresetstring"micro"
primary.service.annotationsobject{}
primary.service.clusterIPstring""
primary.service.labelsobject{}
primary.service.nodePorts.redisstring""
primary.service.ports.redisint6379
primary.service.typestring"ClusterIP"
primary.sidecarslist[]
primary.startupProbe.enabledbooltrue
primary.startupProbe.failureThresholdint30
primary.startupProbe.initialDelaySecondsint5
primary.startupProbe.periodSecondsint5
primary.startupProbe.successThresholdint1
primary.startupProbe.timeoutSecondsint5
primary.tolerationslist[]
replica.affinityobject{}
replica.containerPorts.redisint6379
replica.containerSecurityContext.allowPrivilegeEscalationboolfalse
replica.containerSecurityContext.capabilities.drop[0]string"ALL"
replica.containerSecurityContext.enabledbooltrue
replica.containerSecurityContext.readOnlyRootFilesystemboolfalse
replica.containerSecurityContext.runAsGroupint1001
replica.containerSecurityContext.runAsNonRootbooltrue
replica.containerSecurityContext.runAsUserint1001
replica.containerSecurityContext.seccompProfile.typestring"RuntimeDefault"
replica.extraEnvVarslist[]
replica.extraVolumeMountslist[]
replica.extraVolumeslist[]
replica.initContainerslist[]
replica.livenessProbe.enabledbooltrue
replica.livenessProbe.failureThresholdint5
replica.livenessProbe.initialDelaySecondsint20
replica.livenessProbe.periodSecondsint5
replica.livenessProbe.successThresholdint1
replica.livenessProbe.timeoutSecondsint5
replica.nodeSelectorobject{}
replica.persistence.accessModes[0]string"ReadWriteOnce"
replica.persistence.annotationsobject{}
replica.persistence.enabledbooltrue
replica.persistence.existingClaimstring""
replica.persistence.labelsobject{}
replica.persistence.mountPathstring"/data"
replica.persistence.sizestring"8Gi"
replica.persistence.storageClassstring""
replica.podAnnotationsobject{}
replica.podLabelsobject{}
replica.podSecurityContext.enabledbooltrue
replica.podSecurityContext.fsGroupint1001
replica.readinessProbe.enabledbooltrue
replica.readinessProbe.failureThresholdint5
replica.readinessProbe.initialDelaySecondsint5
replica.readinessProbe.periodSecondsint5
replica.readinessProbe.successThresholdint1
replica.readinessProbe.timeoutSecondsint1
replica.replicaCountint3
replica.resourcesobject{}
replica.resourcesPresetstring"micro"
replica.service.annotationsobject{}
replica.service.clusterIPstring""
replica.service.labelsobject{}
replica.service.nodePorts.redisstring""
replica.service.ports.redisint6379
replica.service.typestring"ClusterIP"
replica.sidecarslist[]
replica.startupProbe.enabledbooltrue
replica.startupProbe.failureThresholdint30
replica.startupProbe.initialDelaySecondsint5
replica.startupProbe.periodSecondsint5
replica.startupProbe.successThresholdint1
replica.startupProbe.timeoutSecondsint5

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartredis is pinned at v0.5.5 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