diff --git a/redis.yaml b/redis.yaml index 33a9bd4..6442ccc 100644 --- a/redis.yaml +++ b/redis.yaml @@ -14,6 +14,15 @@ kind: Dragonfly metadata: name: memelord-laurivosandi-redis spec: + affinity: + podAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + labelSelector: + matchLabels: + app: memelord + topologyKey: kubernetes.io/zone authentication: passwordFromSecret: name: memelord-laurivosandi-redis