Skip to content

Commit

Permalink
use redis
Browse files Browse the repository at this point in the history
Signed-off-by: walnuts1018 <[email protected]>
  • Loading branch information
walnuts1018 committed Oct 28, 2024
1 parent 9325187 commit f17332a
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions k8s/apps/mucaron/back/redis.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,17 @@
apiVersion: redis.redis.opstreelabs.in/v1beta2
kind: RedisCluster
kind: Redis
metadata:
name: mucaron-redis
labels:
app.kubernetes.io/name: mucaron-redis
spec:
clusterSize: 3
persistenceEnabled: true
clusterVersion: v7
redisLeader:
replicas: 3
redisFollower:
replicas: 3
kubernetesConfig:
image: "quay.io/opstree/redis:v7.0.12" # {"$imagepolicy": "redis-operator:redis"}
imagePullPolicy: "IfNotPresent"
redisSecret:
name: "mucaron-backend"
key: "redis_password"
storage:
nodeConfVolume: true
nodeConfVolumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
volumeClaimTemplate:
spec:
accessModes:
Expand Down

0 comments on commit f17332a

Please sign in to comment.