From 7ed85e762e11bbebad8bdb1c6571d04349047d2d Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Fri, 26 Mar 2021 17:35:21 +0100 Subject: [PATCH] fix: Set Redis cluster proxy policy to PREFER_MASTER --- charts/kubezero-redis/templates/envoyfilter-redis-proxy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kubezero-redis/templates/envoyfilter-redis-proxy.yaml b/charts/kubezero-redis/templates/envoyfilter-redis-proxy.yaml index 39e4019..f8f4705 100644 --- a/charts/kubezero-redis/templates/envoyfilter-redis-proxy.yaml +++ b/charts/kubezero-redis/templates/envoyfilter-redis-proxy.yaml @@ -31,5 +31,5 @@ spec: op_timeout: 5s enable_redirection: true enable_command_stats: true - read_policy: PREFER_REPLICA + read_policy: PREFER_MASTER {{- end }}