Files
cozystack/packages
Aleksei Sviridkin 9ab046eb9e fix(seaweedfs): soften master anti-affinity for small clusters
The vendored subchart pins the master to a hard hostname anti-affinity
(requiredDuringSchedulingIgnoredDuringExecution). With the master
StatefulSet at three replicas, the surplus Pods stay Pending forever on
clusters with fewer than three nodes, so `helm install --wait` never
returns and the S3 stack never comes up.

Soften the term to a strong preference (weight 100) so the masters still
spread across distinct nodes when the cluster has them, while single-
and dual-node clusters can bring the master up. Mirrors the posture
already used for the s3 component. Selector and topologyKey are
unchanged; only required -> preferred.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-07-04 22:51:25 +03:00
..