Skip to content

Commit

Permalink
Merge pull request #5968 from h3mmy/h3mmy-patch-2
Browse files Browse the repository at this point in the history
cluster-wide redis
  • Loading branch information
h3mmy authored Feb 11, 2024
2 parents 5a112e2 + bdea34f commit f547534
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cluster/apps/database/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ kind: Kustomization
resources:
- ./cloudnative-pg/ks.yaml
# - kubegres
# - redis
- redis
3 changes: 2 additions & 1 deletion cluster/apps/database/redis/config-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ metadata:
spec:
accessModes:
- ReadWriteOnce
- ReadWriteMany
resources:
requests:
storage: 5Gi
storageClassName: local-path
storageClassName: ceph-block
14 changes: 9 additions & 5 deletions cluster/apps/database/redis/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: redis
namespace: database
spec:
interval: 5m
interval: 15m
chart:
spec:
# renovate: registryUrl=https://charts.bitnami.com/bitnami
Expand All @@ -15,20 +15,24 @@ spec:
kind: HelmRepository
name: bitnami-charts
namespace: flux-system
interval: 5m
values:
architecture: standalone
auth:
enabled: true
sentinal: true
sentinel: true
password: "${REDIS_PASSWORD}"
master:
serviceAccount:
create: true
persistence:
size: 5Gi
existingClaim: redis-config-v1
sentinal:
sentinel:
enabled: true
serviceAccount:
create: true
masterSet: redis-master
persistence:
enabled: false
# Bitnami hasn't added ARM support yet
affinity: |
nodeAffinity:
Expand Down

0 comments on commit f547534

Please sign in to comment.