Add topologySpreadConstraint example in the complete manifest.
This commit is contained in:
parent
8a0f3895c4
commit
fc8d6cf821
|
|
@ -232,6 +232,12 @@ spec:
|
||||||
# values:
|
# values:
|
||||||
# - enabled
|
# - 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
|
# Enables change data capture streams for defined database tables
|
||||||
# streams:
|
# streams:
|
||||||
# - applicationId: test-app
|
# - applicationId: test-app
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue