--- apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: redis-ha namespace: redis-system spec: interval: 10m timeout: 5m chart: spec: chart: redis-ha version: "4.35.3" sourceRef: kind: HelmRepository name: redis-ha namespace: redis-system interval: 1h install: remediation: retries: 3 upgrade: remediation: retries: 3 values: replicas: 3 # Force Redis pods onto distinct nodes hardAntiAffinity: true auth: true existingSecret: redis-credentials authKey: redis-password persistentVolume: enabled: true storageClass: longhorn-redis size: 20Gi podDisruptionBudget: minAvailable: 1 tolerations: - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule redis: resources: requests: cpu: 500m memory: 1Gi limits: cpu: 2000m memory: 4Gi config: tcp-keepalive: "60" timeout: "300" save: - "900 1" - "300 10" - "60 10000" repl-diskless-sync: "no" repl-diskless-sync-delay: "5" repl-ping-replica-period: "10" repl-timeout: "60" tcp-backlog: "511" databases: "16" maxmemory-policy: "allkeys-lru" sentinel: auth: true existingSecret: redis-credentials authKey: redis-password resources: requests: cpu: 100m memory: 256Mi limits: cpu: 500m memory: 512Mi haproxy: enabled: true hardAntiAffinity: true metrics: enabled: true serviceMonitor: enabled: true namespace: redis-system interval: 30s telemetryPath: /metrics timeout: 10s exporter: enabled: true serviceMonitor: enabled: true namespace: redis-system interval: 30s telemetryPath: /metrics timeout: 10s