redis
A Helm chart for Redis
- https://github.com/pascaliske/helm-charts
- https://github.com/docker-library/redis
- https://github.com/redis/redis
- https://redis.io
Requirements
Usage
To use this chart add the repo as follows:
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:
To uninstall this chart simply run the following command:
Values
The following values can be used to adjust the helm chart.
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} |
Pod-level affinity. More info here. |
| controller.annotations | object | {} |
Additional annotations for the controller object. |
| controller.enabled | bool | true |
Create a workload for this chart. |
| controller.kind | string | "StatefulSet" |
Type of the workload object. |
| controller.labels | object | {} |
Additional labels for the controller object. |
| controller.replicas | int | 1 |
The number of replicas. |
| env[0] | object | {"name":"TZ","value":"UTC"} |
Timezone for the container. |
| extraArgs | list | [] |
List of extra arguments for the container. |
| extraContainers | object | {} |
Specify any extra containers here as dictionary items - each should have its own key. |
| extraVolumeMounts | list | [] |
Specify extra volume mounts for the default containers. |
| extraVolumes | list | [] |
Specify extra volumes for the workload. |
| fullnameOverride | string | "" |
|
| image.pullPolicy | string | "IfNotPresent" |
The pull policy for the controller. |
| image.repository | string | "redis" |
The repository to pull the image from. |
| image.tag | string | .Chart.AppVersion |
The docker tag, if left empty chart's appVersion will be used. |
| imagePullSecrets | list | [] |
Optionally supply image pull secrets. |
| nameOverride | string | "" |
|
| nodeSelector | object | {} |
Pod-level node selector. More info here. |
| persistentVolumeClaim.accessMode | string | "ReadWriteOnce" |
Access mode of the persistent volume claim object. |
| persistentVolumeClaim.annotations | object | {} |
Additional annotations for the persistent volume claim object. |
| persistentVolumeClaim.create | bool | true |
Create a new persistent volume claim object. |
| persistentVolumeClaim.existingPersistentVolumeClaim | string | "" |
Use an existing persistent volume claim object. |
| persistentVolumeClaim.labels | object | {} |
Additional labels for the persistent volume claim object. |
| persistentVolumeClaim.mountPath | string | "/data" |
Mount path of the persistent volume claim object. |
| persistentVolumeClaim.size | string | "1Gi" |
Storage request size for the persistent volume claim object. |
| persistentVolumeClaim.storageClassName | string | "" |
Storage class name for the persistent volume claim object. |
| persistentVolumeClaim.volumeMode | string | "Filesystem" |
Volume mode of the persistent volume claim object. |
| ports.redis.appProtocol | string | "redis" |
The application protocol for this port. Used as hint for implementations to offer richer behavior. |
| ports.redis.enabled | bool | true |
Enable the port inside the Controller and Service objects. |
| ports.redis.nodePort | string | nil |
The external port used if .service.type == NodePort. |
| ports.redis.port | int | 6379 |
The port used as internal port and cluster-wide port if .service.type == ClusterIP. |
| ports.redis.protocol | string | "TCP" |
The protocol used for the service. |
| priorityClassName | string | "" |
Optional priority class name to be used for pods. |
| redisExporter.enabled | bool | false |
Enable optional redis exporter instance as sidecar container. |
| redisExporter.image | object | {"pullPolicy":"IfNotPresent","repository":"oliver006/redis_exporter","tag":"latest"} |
Image for the metric exporter |
| redisExporter.image.pullPolicy | string | "IfNotPresent" |
The pull policy for the exporter. |
| redisExporter.image.repository | string | "oliver006/redis_exporter" |
The repository to pull the image from. |
| redisExporter.image.tag | string | latest |
The docker tag, if left empty latest will be used. |
| redisExporter.resources | object | {"limits":{"cpu":"100m","memory":"100Mi"},"requests":{"cpu":"10m","memory":"50Mi"}} |
Compute resources used by the container. More info here. |
| redisExporter.securityContext | object | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsGroup":59000,"runAsUser":59000} |
Pod-level security attributes. More info here. |
| resources | object | {} |
Compute resources used by the container. More info here. |
| securityContext | object | {} |
Pod-level security attributes. More info here. |
| service.annotations | object | {} |
Additional annotations for the service object. |
| service.clusterIP | string | "" |
ClusterIP used if service type is ClusterIP. |
| service.enabled | bool | true |
Create a service for exposing this chart. |
| service.labels | object | {} |
Additional labels for the service object. |
| service.loadBalancerIP | string | "" |
LoadBalancerIP if service type is LoadBalancer. |
| service.loadBalancerSourceRanges | list | [] |
Allowed addresses when service type is LoadBalancer. |
| service.type | string | "ClusterIP" |
The service type used. |
| serviceAccount.name | string | "" |
Specify the service account used for the controller. |
| serviceMonitor.annotations | object | {} |
Additional annotations for the service monitor object. |
| serviceMonitor.enabled | bool | false |
Create a service monitor for prometheus operator. |
| serviceMonitor.interval | string | "30s" |
How frequently the exporter should be scraped. |
| serviceMonitor.labels | object | {} |
Additional labels for the service monitor object. |
| serviceMonitor.timeout | string | "10s" |
Timeout value for individual scrapes. |
| tolerations | list | [] |
Pod-level tolerations. More info here. |
Maintainers
| Name | Url | |
|---|---|---|
| pascaliske | info@pascaliske.dev | https://pascaliske.dev |
License
MIT – © 2025 Pascal Iske