spotahome / redis-operator

Redis Operator creates/configures/manages high availability redis with sentinel automatic failover atop Kubernetes.
Apache License 2.0
1.48k stars 355 forks source link

How to configure non persistence in redis failover #682

Closed stanosamek closed 4 months ago

stanosamek commented 6 months ago

Expected behaviour

What do you want to achieve?

We would like to configure redis failover just for caching. This can be achieved by turning off persistence with parameters appendonly no and save "".

Actual behaviour

Appendonly parameter is working correctly but when we are adding parameter save "" operator probably can't resolve that because is still switching configmap to default value.

What is happening? Are all the pieces created? Can you access to the service?

Steps to reproduce the behaviour

redis:
    replicas: 3
    customConfig:
      - "appendonly no"
      - "save \"\""

Describe step by step what you've have done to get to this point

Environment

How are the pieces configured?

Logs

Please, add the debugging logs. In order to be able to gather them, add -debug flag when running the operator.

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 45 days with no activity.

github-actions[bot] commented 4 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.