30 lines
662 B
YAML
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
|