Redis

Configurations and parameters for Redis standalone

Redis standalone configuration can be customized by values.yaml. The recommended way of managing the setup is using helm but if the setup is not maintained by it, YAML CRD parameters can be modified in the manifest.

Helm Configuration Parameters

Key Type Default Description
TLS.ca string "ca.key"
TLS.cert string "tls.crt"
TLS.key string "tls.key"
TLS.secret.secretName string ""
acl.secret.secretName string ""
affinity object {}
env list []
externalConfig.data string "tcp-keepalive 400\nslowlog-max-len 158\nstream-node-max-bytes 2048\n"
externalConfig.enabled bool false
externalService.enabled bool false
externalService.port int 6379
externalService.serviceType string "NodePort"
initContainer.args list []
initContainer.command list []
initContainer.enabled bool false
initContainer.env list []
initContainer.image string ""
initContainer.imagePullPolicy string "IfNotPresent"
initContainer.resources object {}
labels object {}
nodeSelector object {}
podSecurityContext.fsGroup int 1000
podSecurityContext.runAsUser int 1000
priorityClassName string ""
redisExporter.enabled bool false
redisExporter.env list []
redisExporter.image string "quay.io/opstree/redis-exporter"
redisExporter.imagePullPolicy string "IfNotPresent"
redisExporter.resources object {}
redisExporter.tag string "v1.44.0"
redisStandalone.ignoreAnnotations list []
redisStandalone.image string "quay.io/opstree/redis"
redisStandalone.imagePullPolicy string "IfNotPresent"
redisStandalone.imagePullSecrets list []
redisStandalone.minReadySeconds int 0
redisStandalone.name string ""
redisStandalone.recreateStatefulSetOnUpdateInvalid bool false Some fields of statefulset are immutable, such as volumeClaimTemplates. When set to true, the operator will delete the statefulset and recreate it. Default is false.
redisStandalone.redisSecret.secretKey string ""
redisStandalone.redisSecret.secretName string ""
redisStandalone.resources object {}
redisStandalone.serviceType string "ClusterIP"
redisStandalone.tag string "v7.0.15"
securityContext object {}
serviceAccountName string ""
serviceMonitor.enabled bool false
serviceMonitor.interval string "30s"
serviceMonitor.namespace string "monitoring"
serviceMonitor.scrapeTimeout string "10s"
sidecars.env list []
sidecars.image string ""
sidecars.imagePullPolicy string "IfNotPresent"
sidecars.name string ""
sidecars.resources.limits.cpu string "100m"
sidecars.resources.limits.memory string "128Mi"
sidecars.resources.requests.cpu string "50m"
sidecars.resources.requests.memory string "64Mi"
storageSpec.volumeClaimTemplate.spec.accessModes[0] string "ReadWriteOnce"
storageSpec.volumeClaimTemplate.spec.resources.requests.storage string "1Gi"
tolerations list []

Last modified November 13, 2024: feat: add recreateStatefulSetOnUpdateInvalid helm chart value (#1127) (5a8a345)