helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

[loki-distributed] Add querier topologySpreadConstraints

Open alexandre1984rj opened this issue 1 year ago • 1 comments

Add support Pod Topology Spread Constraints to work with existing affinity since it is being usend through the ksonnet production config.

When new queriers are created, they need to be scheduled into different nodes. If there are not enough nodes in the cluster, new nodes need to be provisioned. This has costs and latency implications and we need to use Kubernetes's TopologySpreadConstraints to evenly spread queriers across the available nodes, but allows more than one querier to be scheduled into the same node.

alexandre1984rj avatar Sep 26 '22 14:09 alexandre1984rj

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 26 '22 14:09 CLAassistant