theshire/kubernetes/apps/database/dragonfly/app/dragonfly.yaml

28 lines
No EOL
667 B
YAML

---
# yaml-language-server: $schema=https://ks.hsn.dev/dragonflydb.io/dragonfly_v1alpha1.json
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
labels:
app.kubernetes.io/name: dragonfly
name: dragonfly
spec:
replicas: 2
resources:
requests:
cpu: 500m
memory: 500Mi
limits:
memory: 3Gi
args:
- "--proactor_threads=4"
# Need retention policy before this is enabled
# Or add S3 details and enable retention policy on the bucket.
# snapshot:
# cron: "*/5 * * * *"
# persistentVolumeClaimSpec:
# accessModes:
# - ReadWriteOnce
# resources:
# requests:
# storage: 2Gi