File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ local rolloutOperator = import 'rollout-operator.libsonnet';
30
30
// If use_topology_spread is false, ingesters will not be scheduled on nodes already running ingesters.
31
31
multi_zone_ingester_use_topology_spread: false ,
32
32
multi_zone_ingester_topology_spread_max_skew: 1 ,
33
+ multi_zone_ingester_topology_spread_when_unsatisfiable: 'ScheduleAnyway' ,
33
34
34
35
node_selector: null ,
35
36
},
@@ -116,7 +117,7 @@ local rolloutOperator = import 'rollout-operator.libsonnet';
116
117
// Evenly spread queriers among available nodes.
117
118
topologySpreadConstraints.labelSelector.withMatchLabels({ name: name }) +
118
119
topologySpreadConstraints.withTopologyKey('kubernetes.io/hostname' ) +
119
- topologySpreadConstraints.withWhenUnsatisfiable('ScheduleAnyway' ) +
120
+ topologySpreadConstraints.withWhenUnsatisfiable($._config.multi_zone_ingester_topology_spread_when_unsatisfiable ) +
120
121
topologySpreadConstraints.withMaxSkew($._config.multi_zone_ingester_topology_spread_max_skew),
121
122
)
122
123
else {}
You can’t perform that action at this time.
0 commit comments