Skip to content

Commit

Permalink
Switch to hard anti affinity preset for mongos
Browse files Browse the repository at this point in the history
This will help not having two mongos servers on the same node.

Issue: ZENKO-4641
  • Loading branch information
williamlardier committed Jan 3, 2025
1 parent 14e4884 commit 058ddd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solution-base/mongodb/charts/mongodb-sharded/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ mongos:
## @param mongos.podAntiAffinityPreset Mongos Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAntiAffinityPreset: soft
podAntiAffinityPreset: hard
## Node affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
##
Expand Down

0 comments on commit 058ddd5

Please sign in to comment.