1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mareshq-cthulhunetes-gitops/apps/shared-resources/redis.yaml

55 lines
1.2 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: redis
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "20"
spec:
project: shared-resources
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
source:
chart: redis-ha
repoURL: https://dandydeveloper.github.io/charts
targetRevision: 4.23.0
helm:
releaseName: redis
valuesObject:
fullnameOverride: redis
replicas: 3
hardAntiAffinity: true
persistentVolume:
enabled: true
size: 10Gi
accessModes:
- ReadWriteOnce
storageClass: longhorn-static
redis:
resources:
limits:
cpu: 500m
memory: 4Gi
requests:
cpu: 200m
memory: 4Gi
haproxy:
enabled: true
replicas: 3
hardAntiAffinity: true
resources:
limits:
cpu: 400m
memory: 1Gi
requests:
cpu: 200m
memory: 1Gi
exporter:
enabled: true
destination:
server: "https://kubernetes.default.svc"
namespace: redis