graphops/launchpad-charts

Feat req: option for `preferredDuringSchedulingIgnoredDuringExecution` anti-affinity

aasseman opened this issue · 1 comments

I only have worker nodes for now, so in some scenarios pods can't be scheduled because of the default requiredDuringSchedulingIgnoredDuringExecution-based anti-affinity rule.
It'd be nice to have a toggle in the chart values to replace it with preferredDuringSchedulingIgnoredDuringExecution.

Hi @aasseman :)

I see this is more of a practical convenience as at the moment you have the option to disable the AffinitPreset, and just copy paste what it was doing into the per default affinity: {} value, which will allow you full freedom in terms of changing that.
Given we only have one affinity preset to spread workloads across different hostnames and the fact that we have an active workstream to bring up a library chart and associated to that plan on some improvements, this particular affinity preset is likely to get replaced by the usage of topologySpreadConstraints, we may leave this one as is for now.