Skip to content

[GDB-14161] Added Topology Constaints#212

Open
simonzhekoff wants to merge 2 commits into
mainfrom
GDB-14161
Open

[GDB-14161] Added Topology Constaints#212
simonzhekoff wants to merge 2 commits into
mainfrom
GDB-14161

Conversation

@simonzhekoff

@simonzhekoff simonzhekoff commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Description

Adds topologySpreadConstraintsPreset to GraphDB and proxy StatefulSets — mirrors the existing podAntiAffinity preset pattern. When enabled, it automatically generates two ScheduleAnyway spread constraints: one across availability zones (topology.kubernetes.io/zone) and one across nodes (kubernetes.io/hostname). Explicit topologySpreadConstraints takes precedence over the preset when set.

Related Issues

GDB-14161

Changes

Adds topologySpreadConstraintsPreset to GraphDB and proxy StatefulSets — mirrors the existing podAntiAffinity preset pattern. When enabled, it automatically generates two ScheduleAnyway spread constraints: one across availability zones (topology.kubernetes.io/zone) and one across nodes (kubernetes.io/hostname). Explicit topologySpreadConstraints takes precedence over the preset when set.

Screenshots (if applicable)

N/A

Checklist

  • I have tested these changes thoroughly.
  • My code follows the project's coding style.
  • I have added appropriate comments to my code, especially in complex areas.

@simonzhekoff simonzhekoff self-assigned this Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant