Skip to content

Commit aaed2ea

Browse files
authored
Merge pull request #1133 from rackerlabs/postgres-anti-affinity-rules
fix(postgres): specify antiaffinity rules
2 parents e2ab955 + ca8be9c commit aaed2ea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/nautobot/cloudnative-postgres-nautobot.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ spec:
1111
instances: 3
1212
storage:
1313
size: 20Gi
14+
affinity:
15+
podAntiAffinityType: required
16+
topologyKey: kubernetes.io/hostname
1417
monitoring:
1518
enablePodMonitor: true
1619
---

0 commit comments

Comments
 (0)