add redis sentinel
This commit is contained in:
@@ -13,7 +13,7 @@ spec:
|
|||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
kubernetesConfig:
|
kubernetesConfig:
|
||||||
image: quay.io/opstree/redis:v8.0.3
|
image: quay.io/opstree/redis:v8.2.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
redisSecret:
|
redisSecret:
|
||||||
name: directus-redis-config
|
name: directus-redis-config
|
||||||
@@ -32,4 +32,4 @@ spec:
|
|||||||
storage: 1Gi
|
storage: 1Gi
|
||||||
redisExporter:
|
redisExporter:
|
||||||
enabled: true
|
enabled: true
|
||||||
image: quay.io/opstree/redis-exporter:v1.48.0
|
image: quay.io/opstree/redis-exporter:v1.76.0
|
||||||
|
@@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: redis.redis.opstreelabs.in/v1beta2
|
||||||
|
kind: RedisSentinel
|
||||||
|
metadata:
|
||||||
|
name: redis-sentinel-directus
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: redis-sentinel-directus
|
||||||
|
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-directus
|
||||||
|
kubernetesConfig:
|
||||||
|
image: quay.io/opstree/redis-sentinel:v8.2.1
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 128Mi
|
Reference in New Issue
Block a user