Skip to content

Commit fc8d6cf

Browse files
Add topologySpreadConstraint example in the complete manifest.
1 parent 8a0f389 commit fc8d6cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

manifests/complete-postgres-manifest.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,12 @@ spec:
232232
# values:
233233
# - enabled
234234

235+
# Add topology spread constraint to distribute PostgreSQL pods across all nodes labeled with "topology.kubernetes.io/zone".
236+
# topologySpreadConstraint:
237+
# - maxSkew: 1
238+
# topologyKey: topology.kubernetes.io/zone
239+
# whenUnsatisfiable: DoNotSchedule
240+
235241
# Enables change data capture streams for defined database tables
236242
# streams:
237243
# - applicationId: test-app

0 commit comments

Comments
 (0)