fix(mycloud-*): Add option for redis slave replicas
This commit is contained in:
parent
08d5e2176a
commit
d4650334e2
5 changed files with 10 additions and 2 deletions
|
@ -26,6 +26,9 @@ commons:
|
||||||
annotations:
|
annotations:
|
||||||
grafana.mon.local/dashboard-folder: "myCloud"
|
grafana.mon.local/dashboard-folder: "myCloud"
|
||||||
|
|
||||||
|
redis:
|
||||||
|
replicas: 0
|
||||||
|
|
||||||
components:
|
components:
|
||||||
mycloud-services:
|
mycloud-services:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
@ -40,7 +40,7 @@ spec:
|
||||||
enabled: true
|
enabled: true
|
||||||
architecture: replication
|
architecture: replication
|
||||||
replica:
|
replica:
|
||||||
replicaCount: 1
|
replicaCount: {{ .Values.commons.redis.replicas }}
|
||||||
metrics:
|
metrics:
|
||||||
enabled: true
|
enabled: true
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
|
|
|
@ -40,6 +40,8 @@ commons:
|
||||||
rules:
|
rules:
|
||||||
labels: {}
|
labels: {}
|
||||||
|
|
||||||
|
redis:
|
||||||
|
replicas: 0
|
||||||
|
|
||||||
# -- generated by .Values.commons.masterPassword
|
# -- generated by .Values.commons.masterPassword
|
||||||
secret_key:
|
secret_key:
|
||||||
|
|
|
@ -203,7 +203,7 @@ spec:
|
||||||
enabled: true
|
enabled: true
|
||||||
replica:
|
replica:
|
||||||
# just one replica
|
# just one replica
|
||||||
replicaCount: 1
|
replicaCount: {{ .Values.commons.redis.replicas }}
|
||||||
metrics:
|
metrics:
|
||||||
enabled: true
|
enabled: true
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
|
|
|
@ -51,6 +51,9 @@ commons:
|
||||||
rules:
|
rules:
|
||||||
labels: {}
|
labels: {}
|
||||||
|
|
||||||
|
redis:
|
||||||
|
replicas: 0
|
||||||
|
|
||||||
helm:
|
helm:
|
||||||
nextcloud:
|
nextcloud:
|
||||||
# -- version of the helm chart (current on git)
|
# -- version of the helm chart (current on git)
|
||||||
|
|
Loading…
Add table
Reference in a new issue