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

30 lines
718 B
YAML
Raw Normal View History

2024-02-26 19:43:07 -06:00
---
# 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
2024-02-26 19:45:06 -06:00
name: dragonfly
2024-02-26 19:43:07 -06:00
spec:
2024-05-07 13:31:53 -05:00
replicas: 1
2024-02-26 19:43:07 -06:00
resources:
requests:
cpu: 500m
memory: 500Mi
limits:
memory: 3Gi
2024-03-20 09:23:11 -05:00
args:
- "--proactor_threads=4"
2024-03-31 14:46:38 -05:00
- "--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:
2024-05-07 13:31:53 -05:00
# storage: 2Gi