posit-dev / posit-dev/team-operator
Support optional replica distribution across architectures
@bschwedler is already working on this.
Since Aug 5, 2026.
- Dominant language
- Go
- Stars
- 10
- Forks
- 1
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
Connect, Workbench, and Package Manager have no way to control how their
server replicas are spread across topology domains — only a hardcoded,
soft hostname anti-affinity exists (ComponentSpecPodAntiAffinity in
shared.go).
This blocks running a single multi-arch Site (amd64 + arm64) with a
guaranteed one-replica-per-architecture split, needed for the images EKS
living-environment work in platform-infra.
Add an optional topologySpreadConstraints field to each product spec,
passed through to the server Deployment, so operators can opt in to a
hard spread (e.g. maxSkew: 1, whenUnsatisfiable: DoNotSchedule by
kubernetes.io/arch) without affecting existing installations.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.