-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Topologyspread configuration #1844
Labels
enhancement
New feature or request
Comments
Thanks for creating the issue @tolleiv. This is an area we're continuing to evolve and we plan to add this in the future. I have just merged a PR #1851 that allows a pod's priortyClass to be configured via spec:
scheduling:
# Configure a topology spread constraint
topologySpreadConstraints:
- maxSkew: <integer>
minDomains: <integer> # optional; beta since v1.25
topologyKey: <string>
whenUnsatisfiable: <string>
labelSelector: <object>
matchLabelKeys: <list> # optional; beta since v1.27
nodeAffinityPolicy: [Honor|Ignore] # optional; beta since v1.26
nodeTaintsPolicy: [Honor|Ignore] # optional; beta since v1.26 |
rigazilla
added a commit
to rigazilla/infinispan-operator
that referenced
this issue
Jun 4, 2024
rigazilla
added a commit
to rigazilla/infinispan-operator
that referenced
this issue
Jun 5, 2024
ryanemerson
pushed a commit
that referenced
this issue
Jun 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using infinispan-operator 2.3.3 provides Pods with a Pod-Anti-Affinity configuration to split them to different hosts, this is a good default.
With topology-spread-constraints this can be done in a more relyable way (see https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#comparison-with-podaffinity-podantiaffinity ).
It would be great if the InfinitySpan CR would allow to also allow to define
topologySpreadConstraints
.The text was updated successfully, but these errors were encountered: