Add topologySpreadConstraint example in the complete manifest.

This commit is contained in:
Trung Minh Lai 2025-10-18 22:56:38 +07:00
parent 8a0f3895c4
commit fc8d6cf821
1 changed files with 6 additions and 0 deletions

View File

@ -232,6 +232,12 @@ spec:
# values:
# - enabled
# Add topology spread constraint to distribute PostgreSQL pods across all nodes labeled with "topology.kubernetes.io/zone".
# topologySpreadConstraint:
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
# Enables change data capture streams for defined database tables
# streams:
# - applicationId: test-app