Helm chartv2.2.0App 8.2.1Verified publisher

A Helm chart for Redis

About this chart

redis

A Helm chart for Redis

Requirements

  • helm - Refer to their docs to get started.

Usage

To use this chart add the repo as follows:

helm repo add alexvanderberkel https://charts.esseling.photos

If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the packages.

To install this chart simply run the following command:

helm install redis alexvanderberkel/redis

To uninstall this chart simply run the following command:

helm delete redis

Values

The following values can be used to adjust the helm chart.

KeyTypeDefaultDescription
affinityobject{}Pod-level affinity. More info here.
controller.annotationsobject{}Additional annotations for the controller object.
controller.enabledbooltrueCreate a workload for this chart.
controller.kindstring"StatefulSet"Type of the workload object.
controller.labelsobject{}Additional labels for the controller object.
controller.replicasint1The number of replicas.
env[0]object{"name":"TZ","value":"UTC"}Timezone for the container.
extraArgslist[]List of extra arguments for the container.
extraContainersobject{}Specify any extra containers here as dictionary items - each should have its own key.
extraVolumeMountslist[]Specify extra volume mounts for the default containers.
extraVolumeslist[]Specify extra volumes for the workload.
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"The pull policy for the controller.
image.repositorystring"redis"The repository to pull the image from.
image.tagstring.Chart.AppVersionThe docker tag, if left empty chart's appVersion will be used.
imagePullSecretslist[]Optionally supply image pull secrets.
nameOverridestring""
nodeSelectorobject{}Pod-level node selector. More info here.
persistentVolumeClaim.accessModestring"ReadWriteOnce"Access mode of the persistent volume claim object.
persistentVolumeClaim.annotationsobject{}Additional annotations for the persistent volume claim object.
persistentVolumeClaim.createbooltrueCreate a new persistent volume claim object.
persistentVolumeClaim.existingPersistentVolumeClaimstring""Use an existing persistent volume claim object.
persistentVolumeClaim.labelsobject{}Additional labels for the persistent volume claim object.
persistentVolumeClaim.mountPathstring"/data"Mount path of the persistent volume claim object.
persistentVolumeClaim.sizestring"1Gi"Storage request size for the persistent volume claim object.
persistentVolumeClaim.storageClassNamestring""Storage class name for the persistent volume claim object.
persistentVolumeClaim.volumeModestring"Filesystem"Volume mode of the persistent volume claim object.
ports.redis.appProtocolstring"redis"The application protocol for this port. Used as hint for implementations to offer richer behavior.
ports.redis.enabledbooltrueEnable the port inside the Controller and Service objects.
ports.redis.nodePortstringnilThe external port used if .service.type == NodePort.
ports.redis.portint6379The port used as internal port and cluster-wide port if .service.type == ClusterIP.
ports.redis.protocolstring"TCP"The protocol used for the service.
priorityClassNamestring""Optional priority class name to be used for pods.
redisExporter.enabledboolfalseEnable optional redis exporter instance as sidecar container.
redisExporter.imageobject{"pullPolicy":"IfNotPresent","repository":"oliver006/redis_exporter","tag":"latest"}Image for the metric exporter
redisExporter.image.pullPolicystring"IfNotPresent"The pull policy for the exporter.
redisExporter.image.repositorystring"oliver006/redis_exporter"The repository to pull the image from.
redisExporter.image.tagstringlatestThe docker tag, if left empty latest will be used.
redisExporter.resourcesobject{"limits":{"cpu":"100m","memory":"100Mi"},"requests":{"cpu":"10m","memory":"50Mi"}}Compute resources used by the container. More info here.
redisExporter.securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsGroup":59000,"runAsUser":59000}Pod-level security attributes. More info here.
resourcesobject{}Compute resources used by the container. More info here.
securityContextobject{}Pod-level security attributes. More info here.
service.annotationsobject{}Additional annotations for the service object.
service.clusterIPstring""ClusterIP used if service type is ClusterIP.
service.enabledbooltrueCreate a service for exposing this chart.
service.labelsobject{}Additional labels for the service object.
service.loadBalancerIPstring""LoadBalancerIP if service type is LoadBalancer.
service.loadBalancerSourceRangeslist[]Allowed addresses when service type is LoadBalancer.
service.typestring"ClusterIP"The service type used.
serviceAccount.namestring""Specify the service account used for the controller.
serviceMonitor.annotationsobject{}Additional annotations for the service monitor object.
serviceMonitor.enabledboolfalseCreate a service monitor for prometheus operator.
serviceMonitor.intervalstring"30s"How frequently the exporter should be scraped.
serviceMonitor.labelsobject{}Additional labels for the service monitor object.
serviceMonitor.timeoutstring"10s"Timeout value for individual scrapes.
tolerationslist[]Pod-level tolerations. More info here.

Maintainers

NameEmailUrl
alexvanderberkel[email protected]https://esseling.photos

License

MIT – © 2025 Alex Esseling

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 v2.2.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