theshire/kubernetes/apps/database/dragonfly/app/dragonfly.yaml
Joseph Hanson 3251d8240b
adding database workloads
crunchy postgres
dragonfly
emqx
2024-09-05 01:33:23 -05:00

30 lines
719 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: 1
resources:
requests:
cpu: 500m
memory: 500Mi
limits:
memory: 3Gi
args:
- "--proactor_threads=4"
- "--default_lua_flags=allow-undeclared-keys"
# 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