Skip to content

Commit 44b3160

Browse files
committed
chore: Reduce number of Redis nodes to 6 in values.yaml
1 parent 547aea7 commit 44b3160

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

deploy/helm/trino-lb/values.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,17 @@ redis-cluster:
1818
persistence:
1919
size: 4Gi
2020
cluster:
21-
# In case the master crashes, one of his slaves will be promoted to master. The slots stored by the crashed master will be unavailable until the slave finish the promotion. If a master and all his slaves crash, the cluster will be down until one of them is up again. To avoid downtime, it is possible to configure the number of Redis® nodes with cluster.nodes and the number of replicas that will be assigned to each master with cluster.replicas. For example:
22-
# *cluster.nodes=9 ( 3 master plus 2 replicas for each master)
23-
# * cluster.replicas=2
21+
# In case the master crashes, one of his slaves will be promoted to master.
22+
# The slots stored by the crashed master will be unavailable until the slave finish the promotion.
23+
# If a master and all his slaves crash, the cluster will be down until one of them is up again.
24+
# To avoid downtime, it is possible to configure the number of Redis® nodes with cluster.nodes and the number of replicas that will be assigned to each master with cluster.replicas. For example:
25+
# *cluster.nodes=6 ( 3 master plus 1 replica for each master)
26+
# * cluster.replicas=1
2427
#
25-
# So we configure the cluster to have 3 masters (minimum amount required) and, each master, will have 2 replicas.
26-
nodes: 9
27-
replicas: 2
28+
# So we configure the cluster to have 3 masters (minimum amount required) and, each master, will have 1 replicas.
29+
# You can obviously upper the numbers
30+
nodes: 6
31+
replicas: 1
2832
podDisruptionBudget:
2933
maxUnavailable: 1
3034
redis:

0 commit comments

Comments
 (0)