Add topologySpreadConstraints to the specs for even distribution of the pods

Description

Starting k8s 1.16, one can use https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods

If the operator uses that with maxSkew there's no need to set hard affinity rules and still guarantee that pods are distributed among available nodes.

Environment

None

Activity

Show:

Slava Sarzhan February 21, 2024 at 9:09 AM

It was done for PS operator v0.7.0.

Slava Sarzhan December 12, 2023 at 1:43 PM

Hi we will try to include it in 0.7.0 release. We have a plan to release it in Q1.

Marko Weiß December 12, 2023 at 1:40 PM

If you could make topologySpreadConstraints available, it would help a lot slightly smiling face

Done

Details

Assignee

Reporter

Needs QA

Yes

Needs Doc

Yes

Fix versions

Priority

Smart Checklist

Created June 8, 2023 at 8:32 AM
Updated March 25, 2024 at 7:39 PM
Resolved March 25, 2024 at 2:29 PM

Flag notifications