Files
argocd-apps/apps/base/mail/valkey.yaml
T
unkin-agent eb7dbca947
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
Run Stalwart as a 3-node StatefulSet coordinated through Valkey
2026-10-12 21:48:56 +11:00

30 lines
662 B
YAML

---
# Stalwart's in-memory store (locks, rate limits, queue leases) and cluster
# coordinator pub/sub. Ephemeral state, so no persistence; the operator runs it
# cluster-mode, passwordless and without TLS behind valkey-mail-valkey.
apiVersion: valkey.io/v1alpha1
kind: ValkeyCluster
metadata:
name: mail-valkey
namespace: mail
spec:
shards: 1
replicas: 2
image: docker.io/valkey/valkey:9.0.0
exporter:
enabled: false
scheduling:
node:
spread:
shard:
mode: Required
podDisruptionBudget:
mode: Cluster
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi