26 lines
No EOL
537 B
YAML
26 lines
No EOL
537 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"
|
|
snapshot:
|
|
cron: "*/5 * * * *"
|
|
persistentVolumeClaimSpec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 2Gi |