From 16ac3cd9837033fd7027697a6b8932dbb9c6a894 Mon Sep 17 00:00:00 2001 From: Nikhil Ranjan Date: Fri, 28 Aug 2020 17:32:06 +0530 Subject: [PATCH] Switching LRU mode in redis for keys eviction on max memory usage --- kubernetes/redis/values/dashboards-cluster-1.yaml | 4 ++++ kubernetes/redis/values/parity-prod.yaml | 4 ++++ kubernetes/redis/values/polkadot-prod.yaml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/kubernetes/redis/values/dashboards-cluster-1.yaml b/kubernetes/redis/values/dashboards-cluster-1.yaml index 625ae07ff..953b30c8d 100644 --- a/kubernetes/redis/values/dashboards-cluster-1.yaml +++ b/kubernetes/redis/values/dashboards-cluster-1.yaml @@ -5,3 +5,7 @@ usePassword: true metrics: enabled: false + +master: + extraFlags: + - --maxmemory-policy allkeys-lru diff --git a/kubernetes/redis/values/parity-prod.yaml b/kubernetes/redis/values/parity-prod.yaml index 625ae07ff..953b30c8d 100644 --- a/kubernetes/redis/values/parity-prod.yaml +++ b/kubernetes/redis/values/parity-prod.yaml @@ -5,3 +5,7 @@ usePassword: true metrics: enabled: false + +master: + extraFlags: + - --maxmemory-policy allkeys-lru diff --git a/kubernetes/redis/values/polkadot-prod.yaml b/kubernetes/redis/values/polkadot-prod.yaml index 625ae07ff..953b30c8d 100644 --- a/kubernetes/redis/values/polkadot-prod.yaml +++ b/kubernetes/redis/values/polkadot-prod.yaml @@ -5,3 +5,7 @@ usePassword: true metrics: enabled: false + +master: + extraFlags: + - --maxmemory-policy allkeys-lru