ContainerSolutions / redis-cluster-operator

A Kubernetes Operator for running Production Redis Clusters
Apache License 2.0
6 stars 3 forks source link

Add documentation for how to override Redis settings #11

Closed chris-cmsoft closed 2 years ago

chris-cmsoft commented 2 years ago

It is currently possible to override all of the Redis settings for redis.conf, but this isn't documented anywhere.

It's a good idea to document these for users.

Currently you can override Redis configuration by specifying it in the CRD under config:

apiVersion: cache.container-solutions.com/v1alpha1
kind: RedisCluster
metadata:
  name: rediscluster-sample
spec:
  masters: 3
  replicasPerMaster: 1
  config: |
    maxmemory 50mb
    maxmemory-policy allkeys-lru