add sentinel

This commit is contained in:
2025-12-12 18:38:42 -06:00
parent 1604d2425c
commit 93b29baefd
2 changed files with 59 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ spec:
runAsUser: 1000
fsGroup: 1000
kubernetesConfig:
image: quay.io/opstree/redis:v8.0.3
image: quay.io/opstree/redis:v8.4.0
imagePullPolicy: IfNotPresent
redisSecret:
name: matrix-synapse-redis-secret
@@ -32,7 +32,7 @@ spec:
storage: 1Gi
redisExporter:
enabled: true
image: quay.io/opstree/redis-exporter:v1.48.0
image: quay.io/opstree/redis-exporter:v1.80.1
---
apiVersion: redis.redis.opstreelabs.in/v1beta2
@@ -50,7 +50,7 @@ spec:
runAsUser: 1000
fsGroup: 1000
kubernetesConfig:
image: quay.io/opstree/redis:v8.0.3
image: quay.io/opstree/redis:v8.4.0
imagePullPolicy: IfNotPresent
resources:
requests:
@@ -66,4 +66,4 @@ spec:
storage: 1Gi
redisExporter:
enabled: true
image: quay.io/opstree/redis-exporter:v1.48.0
image: quay.io/opstree/redis-exporter:v1.80.1

View File

@@ -0,0 +1,55 @@
apiVersion: redis.redis.opstreelabs.in/v1beta2
kind: RedisSentinel
metadata:
name: redis-sentinel-matrix-synapse
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: redis-sentinel-matrix-synapse
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
clusterSize: 3
podSecurityContext:
runAsUser: 1000
fsGroup: 1000
redisSentinelConfig:
redisReplicationName: redis-replication-matrix-synapse
redisReplicationPassword:
secretKeyRef:
name: matrix-synapse-redis-secret
key: password
kubernetesConfig:
image: quay.io/opstree/redis-sentinel:v8.4.0
imagePullPolicy: IfNotPresent
redisSecret:
name: matrix-synapse-redis-secret
key: password
resources:
requests:
cpu: 10m
memory: 128Mi
---
apiVersion: redis.redis.opstreelabs.in/v1beta2
kind: RedisSentinel
metadata:
name: redis-sentinel-hookshot
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: redis-sentinel-hookshot
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
clusterSize: 3
podSecurityContext:
runAsUser: 1000
fsGroup: 1000
redisSentinelConfig:
redisReplicationName: redis-replication-hookshot
kubernetesConfig:
image: quay.io/opstree/redis-sentinel:v8.4.0
imagePullPolicy: IfNotPresent
resources:
requests:
cpu: 10m
memory: 128Mi