REFACTOR(postgresql): change pg anti-affinity

- from hard to soft
- Use podAntiAffinityType: preferred instead of required
- Allows pods to be scheduled on same node if necessary
This commit is contained in:
2026-01-03 10:41:15 +09:00
parent 505d8bc4c9
commit bc8d0dd521

View File

@@ -65,9 +65,9 @@ spec:
# Backup disabled - using Velero for backups instead # Backup disabled - using Velero for backups instead
# Affinity to spread replicas across nodes # Affinity to spread replicas across nodes (soft - prefer different nodes)
affinity: affinity:
podAntiAffinityType: required podAntiAffinityType: preferred
tolerations: tolerations:
- key: "node-role.kubernetes.io/master" - key: "node-role.kubernetes.io/master"
operator: "Exists" operator: "Exists"