Skip to content

Commit

Permalink
chore: revert "fix: scheduling constraints (#16045)" (#16064)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwhitney authored Feb 3, 2025
1 parent cdb8569 commit 78b4696
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions production/ksonnet/loki/multi-zone.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ local rolloutOperator = import 'rollout-operator.libsonnet';
// If use_topology_spread is false, ingesters will not be scheduled on nodes already running ingesters.
multi_zone_ingester_use_topology_spread: false,
multi_zone_ingester_topology_spread_max_skew: 1,
multi_zone_ingester_topology_spread_when_unsatisfiable: 'ScheduleAnyway',

node_selector: null,
},
Expand Down Expand Up @@ -117,7 +116,7 @@ local rolloutOperator = import 'rollout-operator.libsonnet';
// Evenly spread queriers among available nodes.
topologySpreadConstraints.labelSelector.withMatchLabels({ name: name }) +
topologySpreadConstraints.withTopologyKey('kubernetes.io/hostname') +
topologySpreadConstraints.withWhenUnsatisfiable($._config.multi_zone_ingester_topology_spread_when_unsatisfiable) +
topologySpreadConstraints.withWhenUnsatisfiable('ScheduleAnyway') +
topologySpreadConstraints.withMaxSkew($._config.multi_zone_ingester_topology_spread_max_skew),
)
else {}
Expand Down

0 comments on commit 78b4696

Please sign in to comment.