There was an error while loading. Please reload this page.
1 parent 86dc47b commit 9e9a09dCopy full SHA for 9e9a09d
production/ksonnet/loki/distributor.libsonnet
@@ -35,7 +35,8 @@ local k = import 'ksonnet-util/kausal.libsonnet';
35
) +
36
deployment.mixin.spec.strategy.rollingUpdate.withMaxSurge(5) +
37
deployment.mixin.spec.strategy.rollingUpdate.withMaxUnavailable(1) +
38
- if $._config.distributor.use_topology_spread then
+ if $._config.distributor.no_schedule_constraints then {}
39
+ else if $._config.distributor.use_topology_spread then
40
deployment.spec.template.spec.withTopologySpreadConstraints(
41
// Evenly spread queriers among available nodes.
42
topologySpreadConstraints.labelSelector.withMatchLabels({ name: 'distributor' }) +
0 commit comments