Skip to content

Commit

Permalink
chore(ksonnet): Add default setting for distributor.no_schedule_const…
Browse files Browse the repository at this point in the history
…raints
  • Loading branch information
benclive committed Jan 31, 2025
1 parent 9e9a09d commit 6cce9d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions production/ksonnet/loki/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@
ruler_enabled: false,

distributor: {
// use_no_constraints is false by default allowing either TopologySpreadConstraints or pod antiAffinity to be configured.
// If no_schedule_constraints is set to true, neither of the pod constraints will be applied.
no_schedule_constraints: false,
use_topology_spread: true,
topology_spread_max_skew: 1,
},
Expand Down

0 comments on commit 6cce9d3

Please sign in to comment.